OlvmBootProtocol

class oci.cloud_migrations.models.OlvmBootProtocol(**kwargs)

Bases: object

Defines the options of the IP address assignment method to a NIC.

Attributes

PROTOCOL_AUTOCONF A constant which can be used with the protocol property of a OlvmBootProtocol.
PROTOCOL_DHCP A constant which can be used with the protocol property of a OlvmBootProtocol.
PROTOCOL_NONE A constant which can be used with the protocol property of a OlvmBootProtocol.
PROTOCOL_POLY_DHCP_AUTOCONF A constant which can be used with the protocol property of a OlvmBootProtocol.
PROTOCOL_STATIC A constant which can be used with the protocol property of a OlvmBootProtocol.
protocol Gets the protocol of this OlvmBootProtocol.

Methods

__init__(**kwargs) Initializes a new OlvmBootProtocol object with values from keyword arguments.
PROTOCOL_AUTOCONF = 'AUTOCONF'

A constant which can be used with the protocol property of a OlvmBootProtocol. This constant has a value of “AUTOCONF”

PROTOCOL_DHCP = 'DHCP'

A constant which can be used with the protocol property of a OlvmBootProtocol. This constant has a value of “DHCP”

PROTOCOL_NONE = 'NONE'

A constant which can be used with the protocol property of a OlvmBootProtocol. This constant has a value of “NONE”

PROTOCOL_POLY_DHCP_AUTOCONF = 'POLY_DHCP_AUTOCONF'

A constant which can be used with the protocol property of a OlvmBootProtocol. This constant has a value of “POLY_DHCP_AUTOCONF”

PROTOCOL_STATIC = 'STATIC'

A constant which can be used with the protocol property of a OlvmBootProtocol. This constant has a value of “STATIC”

__init__(**kwargs)

Initializes a new OlvmBootProtocol object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:protocol (str) – The value to assign to the protocol property of this OlvmBootProtocol. Allowed values for this property are: “AUTOCONF”, “DHCP”, “NONE”, “POLY_DHCP_AUTOCONF”, “STATIC”
protocol

Gets the protocol of this OlvmBootProtocol. IP address assignment methods to a NIC.

Allowed values for this property are: “AUTOCONF”, “DHCP”, “NONE”, “POLY_DHCP_AUTOCONF”, “STATIC”

Returns:The protocol of this OlvmBootProtocol.
Return type:str