|
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 | IpAllocationPolicy |
| class | IpAllocationScheme |
| class | IpProtocol |
Avaliable Methods | |
| public method | set_supported_ip_protocol () |
| public method | get_supported_ip_protocol () |
| public method | set_type () |
| public method | set_supported_allocation_scheme () |
| public method | get_supported_ip_allocation_policy () |
| public method | set_ip_protocol () |
| public method | get_ip_protocol () |
| public method | set_supported_ip_allocation_policy () |
| public method | get_ip_allocation_policy () |
| public method | get_supported_allocation_scheme () |
| public method | get_type () |
| public method | new () |
| public method | set_ip_allocation_policy () |
The Com::Vmware::Vcenter::Ovf::IpAllocationParams class specifies how IP addresses are allocated to OVF properties. In particular, it informs the deployment platform whether the guest supports IPv4, IPv6, or both. It also specifies whether the IP addresses can be obtained through DHCP or through the properties provided in the OVF environment.
Ovf Property elements are exposed to the guest software through the OVF environment. Each Property element exposed in the OVF environment shall be constructed from the value of the ovf:key attribute. A Property element contains a key/value pair, it may optionally specify type qualifiers using the ovf:qualifiers attribute with multiple qualifiers separated by commas.
The settings in Com::Vmware::Vcenter::Ovf::IpAllocationParams class are global to a deployment. Thus, if a virtual machine is part of a virtual appliance, then its settings are ignored and the settings for the virtual appliance is used.
This information is based on the vmw:IpAssignmentSection in OVF package.
See :func:Com::Vmware::Vcenter::Ovf::LibraryItem.deploy and :func:Com::Vmware::Vcenter::Ovf::LibraryItem.filter .
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_ip_allocation_policy | ( | ) |
Gets the value of 'ip_allocation_policy' property.
| ip_allocation_policy | - The current value of the field. Specifies how IP allocation is done through an IP Pool. This is typically specified by the deployer. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_ip_protocol | ( | ) |
Gets the value of 'ip_protocol' property.
| ip_protocol | - The current value of the field. Specifies the chosen IP protocol for this deployment. This must be one of the IP protocols supported by the guest software. See :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.supported_ip_protocol . optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_supported_allocation_scheme | ( | ) |
Gets the value of 'supported_allocation_scheme' property.
| supported_allocation_scheme | - The current value of the field. Specifies the IP allocation schemes supported by the guest software. This field defines the valid values for the IP allocation policy. This setting is often configured by the virtual appliance template author or OVF package author to reflect what the guest software supports, and the IP allocation policy is configured at deployment time. See :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.ip_allocation_policy . optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_supported_ip_allocation_policy | ( | ) |
Gets the value of 'supported_ip_allocation_policy' property.
| supported_ip_allocation_policy | - The current value of the field. Specifies the IP allocation policies supported. The set of valid options for the policy is based on the capabilities of the virtual appliance software, as specified by the :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.supported_allocation_scheme field* . optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_supported_ip_protocol | ( | ) |
Gets the value of 'supported_ip_protocol' property.
| supported_ip_protocol | - The current value of the field. Specifies the IP protocols supported by the guest. optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::get_type | ( | ) |
Gets the value of 'type' property.
| type | - The current value of the field. Unique identifier describing the type of the OVF parameters. The value is the name of the OVF parameters class . optional# |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::new | ( | ) |
Constructor to initialize the Com::Vmware::Vcenter::Ovf::IpAllocationParams structure
| Blessed | object |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_ip_allocation_policy | ( | ) |
Sets the given value for 'ip_allocation_policy' property.
| ip_allocation_policy | - New value for the field. Specifies how IP allocation is done through an IP Pool. This is typically specified by the deployer. |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_ip_protocol | ( | ) |
Sets the given value for 'ip_protocol' property.
| ip_protocol | - New value for the field. Specifies the chosen IP protocol for this deployment. This must be one of the IP protocols supported by the guest software. See :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.supported_ip_protocol . |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_supported_allocation_scheme | ( | ) |
Sets the given value for 'supported_allocation_scheme' property.
| supported_allocation_scheme | - New value for the field. Specifies the IP allocation schemes supported by the guest software. This field defines the valid values for the IP allocation policy. This setting is often configured by the virtual appliance template author or OVF package author to reflect what the guest software supports, and the IP allocation policy is configured at deployment time. See :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.ip_allocation_policy . |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_supported_ip_allocation_policy | ( | ) |
Sets the given value for 'supported_ip_allocation_policy' property.
| supported_ip_allocation_policy | - New value for the field. Specifies the IP allocation policies supported. The set of valid options for the policy is based on the capabilities of the virtual appliance software, as specified by the :attr:Com::Vmware::Vcenter::Ovf::IpAllocationParams.supported_allocation_scheme field* . |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_supported_ip_protocol | ( | ) |
Sets the given value for 'supported_ip_protocol' property.
| supported_ip_protocol | - New value for the field. Specifies the IP protocols supported by the guest. |
Code:
| public method Com::Vmware::Vcenter::Ovf::IpAllocationParams::set_type | ( | ) |
Sets the given value for 'type' property.
| type | - New value for the field. Unique identifier describing the type of the OVF parameters. The value is the name of the OVF parameters class . |
Code: