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
Classes | List of all members
Com::Vmware::Appliance::Techpreview::Networking::Ipv4 Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Networking::Ipv4:
Com::Vmware::Vapi::Bindings::VapiInterface

Classes

class  IPv4Config
 
class  IPv4ConfigReadOnly
 
class  IPv4Mode
 

Avaliable Methods

public method get ()
 
public method new ()
 
public method list ()
 
public method set ()
 
public method renew ()
 

Detailed Description

Com::Vmware::Appliance::Techpreview::Networking::Ipv4 interface provides methods* Performs IPV4 network configuration for interfaces.

Member Function Documentation

public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::get ( )

Get IPv4 network configuration for interfaces.

Parameters
interfaces[REQUIRED] Network interfaces to query, for example, "nic0". . The value must be Array of String.
Return values
IPv4configuration for each queried interface. The return type will be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::list ( )

Get IPv4 network configuration for all configured interfaces.

Return values
IPv4configuration for each interface. The return type will be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::new ( )

Constructor to initialize the object

Parameters
api_provider- protocol connection to use with stubs created by this factory
StubConfig- Stub's additional configuration
Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::renew ( )

Renew IPv4 network configuration on interfaces. If the interface is configured to use DHCP for IP address assignment, the lease of the interface is renewed.

Parameters
interfaces[REQUIRED] Interfaces to renew. . The value must be Array of String.
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::set ( )

Set IPv4 network configuration.

Parameters
config[REQUIRED] List of IPv4 configurations. . The value must be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config.
Exceptions
Com::Vmware::Vapi::Std::Errors::ErrorGeneric error
Code:
click to view

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