OlvmIp¶
-
class
oci.cloud_migrations.models.OlvmIp(**kwargs)¶ Bases:
objectRepresents the IP configuration of a network interface.
Attributes
IP_VERSION_V4A constant which can be used with the ip_version property of a OlvmIp. IP_VERSION_V6A constant which can be used with the ip_version property of a OlvmIp. addressGets the address of this OlvmIp. gatewayGets the gateway of this OlvmIp. ip_versionGets the ip_version of this OlvmIp. netmaskGets the netmask of this OlvmIp. Methods
__init__(**kwargs)Initializes a new OlvmIp object with values from keyword arguments. -
IP_VERSION_V4= 'V4'¶ A constant which can be used with the ip_version property of a OlvmIp. This constant has a value of “V4”
-
IP_VERSION_V6= 'V6'¶ A constant which can be used with the ip_version property of a OlvmIp. This constant has a value of “V6”
-
__init__(**kwargs)¶ Initializes a new OlvmIp object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - address (str) – The value to assign to the address property of this OlvmIp.
- gateway (str) – The value to assign to the gateway property of this OlvmIp.
- netmask (str) – The value to assign to the netmask property of this OlvmIp.
- ip_version (str) – The value to assign to the ip_version property of this OlvmIp. Allowed values for this property are: “V4”, “V6”
-
address¶ Gets the address of this OlvmIp. The text representation of the IP address.
Returns: The address of this OlvmIp. Return type: str
-
gateway¶ Gets the gateway of this OlvmIp. The address of the default gateway.
Returns: The gateway of this OlvmIp. Return type: str
-
ip_version¶ Gets the ip_version of this OlvmIp. The version of the IP protocol.
Allowed values for this property are: “V4”, “V6”
Returns: The ip_version of this OlvmIp. Return type: str
-
netmask¶ Gets the netmask of this OlvmIp. The network mask.
Returns: The netmask of this OlvmIp. Return type: str
-