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::Routes::Route Class Reference
Inheritance diagram for Com::Vmware::Appliance::Techpreview::Networking::Routes::Route:

Avaliable Methods

public method get_interface_name ()
 
public method set_destination ()
 
public method set_prefix ()
 
public method get_gateway ()
 
public method set_gateway ()
 
public method set_interface_name ()
 
public method get_destination ()
 
public method get_prefix ()
 
public method new ()
 

Detailed Description

Com::Vmware::Appliance::Techpreview::Networking::Routes::Route class Structure that describes how routing is performed for a particular destination and prefix. A destination/prefix of 0.0.0.0/0 ( for IPv4) or ::/0 (for IPv6) refers to the default gateway.

Member Function Documentation

public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::get_destination ( )

Gets the value of 'destination' property.

Return values
destination- The current value of the field. Destination address that defines this route. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::get_gateway ( )

Gets the value of 'gateway' property.

Return values
gateway- The current value of the field. Gateway address. String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::get_interface_name ( )

Gets the value of 'interface_name' property.

Return values
interface_name- The current value of the field. Output device interface, for example, "nic0". String#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::get_prefix ( )

Gets the value of 'prefix' property.

Return values
prefix- The current value of the field. Destination CIDR prefix that defines this route. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion. long#
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::new ( )

Constructor to initialize the Com::Vmware::Appliance::Techpreview::Networking::Routes::Route structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::set_destination ( )

Sets the given value for 'destination' property.

Parameters
destination- New value for the field. Destination address that defines this route.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::set_gateway ( )

Sets the given value for 'gateway' property.

Parameters
gateway- New value for the field. Gateway address.
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::set_interface_name ( )

Sets the given value for 'interface_name' property.

Parameters
interface_name- New value for the field. Output device interface, for example, "nic0".
Code:
click to view
public method Com::Vmware::Appliance::Techpreview::Networking::Routes::Route::set_prefix ( )

Sets the given value for 'prefix' property.

Parameters
prefix- New value for the field. Destination CIDR prefix that defines this route. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.
Code:
click to view

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