VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config:

Avaliable Methods

public method get_interface_name ()
 
public method set_prefix ()
 
public method set_default_gateway ()
 
public method get_address ()
 
public method get_mode ()
 
public method set_mode ()
 
public method set_address ()
 
public method set_interface_name ()
 
public method get_prefix ()
 
public method new ()
 
public method get_default_gateway ()
 

Detailed Description

Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config class Structure that defines the IPv4 configuration state of a network interface.

Member Function Documentation

public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::get_address ( )

Gets the value of 'address' property.

Return values
address- The current value of the field. IPv4 address, for example, "10.20.80.191". Set this argument to an empty string "", if the mode is "unconfigured" or "dhcp". String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::get_default_gateway ( )

Gets the value of 'default_gateway' property.

Return values
default_gateway- The current value of the field. IPv4 address of the default gateway. This default gateway value is used if the mode argument is set to "static" This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::get_interface_name ( )

Gets the value of 'interface_name' property.

Return values
interface_name- The current value of the field. Interface name, for example, "nic0", "nic1". String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::get_mode ( )

Gets the value of 'mode' property.

Return values
mode- The current value of the field. Address assignment mode. IPv4Mode#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::get_prefix ( )

Gets the value of 'prefix' property.

Return values
prefix- The current value of the field. IPv4 CIDR prefix, for example , 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Set this argument to 0 if the mode is "unconfigured" or "dhcp". long#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::new ( )

Constructor to initialize the Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::set_address ( )

Sets the given value for 'address' property.

Parameters
address- New value for the field. IPv4 address, for example, "10.20.80.191". Set this argument to an empty string "", if the mode is "unconfigured" or "dhcp".
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::set_default_gateway ( )

Sets the given value for 'default_gateway' property.

Parameters
default_gateway- New value for the field. IPv4 address of the default gateway. This default gateway value is used if the mode argument is set to "static" This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::set_interface_name ( )

Sets the given value for 'interface_name' property.

Parameters
interface_name- New value for the field. Interface name, for example, "nic0", "nic1".
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::set_mode ( )

Sets the given value for 'mode' property.

Parameters
mode- New value for the field. Address assignment mode.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config::set_prefix ( )

Sets the given value for 'prefix' property.

Parameters
prefix- New value for the field. IPv4 CIDR prefix, for example , 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. Set this argument to 0 if the mode is "unconfigured" or "dhcp".
Code:
click to view

The documentation for this class was generated from the following file: