|
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
|
Classes | |
| class | Message |
| class | MessageStatus |
| class | Route |
| class | RouteReadOnly |
| class | TestStatus |
| class | TestStatusInfo |
Avaliable Methods | |
| public method | test () |
| public method | add () |
| public method | delete () |
| public method | new () |
| public method | list () |
| public method | set () |
Com::Vmware::Appliance::Techpreview::Networking::Routes interface provides methods* Performs networking routes operations.
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::add | ( | ) |
Set static routing rules. A destination of 0.0.0.0 and prefix 0 (for IPv4) or destination of :: and prefix 0 (for IPv6) refers to the default gateway.
| route | [REQUIRED] Static routing rule. . The value must be Com::Vmware::Appliance::Techpreview::Networking::Routes::Route. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::delete | ( | ) |
Delete static routing rules.
| route | [REQUIRED] Static routing rule. . The value must be Com::Vmware::Appliance::Techpreview::Networking::Routes::Route. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::list | ( | ) |
Get main routing table. A destination of 0.0.0.0 and prefix 0 (for IPv4) or destination of :: and prefix 0 (for IPv6) refers to the default gateway.
| Routing | table. The return type will be Array of Com::Vmware::Appliance::Techpreview::Networking::Routes::RouteReadOnly |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::set | ( | ) |
Set static routing rules. A destination of 0.0.0.0 and prefix 0 (for IPv4) or destination of :: and prefix 0 (for IPv6) refers to the default gateway.
| routes | [REQUIRED] Static routing rules. . The value must be Array of Com::Vmware::Appliance::Techpreview::Networking::Routes::Route. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Routes::test | ( | ) |
Test connection to a list of gateways
| gateways | [REQUIRED] list of gateways. . The value must be Array of String. |
| connection | status The return type will be Com::Vmware::Appliance::Techpreview::Networking::Routes::TestStatusInfo |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: