Nic

class oci.cloud_bridge.models.Nic(**kwargs)

Bases: object

The VNIC configuration.

Methods:

__init__(**kwargs)

Initializes a new Nic object with values from keyword arguments.

Attributes:

ip_addresses

Gets the ip_addresses of this Nic.

label

Gets the label of this Nic.

mac_address

Gets the mac_address of this Nic.

mac_address_type

Gets the mac_address_type of this Nic.

network_name

Gets the network_name of this Nic.

switch_name

Gets the switch_name of this Nic.

__init__(**kwargs)

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

Parameters
  • label (str) – The value to assign to the label property of this Nic.

  • switch_name (str) – The value to assign to the switch_name property of this Nic.

  • mac_address (str) – The value to assign to the mac_address property of this Nic.

  • mac_address_type (str) – The value to assign to the mac_address_type property of this Nic.

  • network_name (str) – The value to assign to the network_name property of this Nic.

  • ip_addresses (list[str]) – The value to assign to the ip_addresses property of this Nic.

property ip_addresses

Gets the ip_addresses of this Nic. List of IP addresses.

Returns

The ip_addresses of this Nic.

Return type

list[str]

property label

Gets the label of this Nic. Provides a label and summary information for the device.

Returns

The label of this Nic.

Return type

str

property mac_address

Gets the mac_address of this Nic. Mac address of the VM.

Returns

The mac_address of this Nic.

Return type

str

property mac_address_type

Gets the mac_address_type of this Nic. Mac address type.

Returns

The mac_address_type of this Nic.

Return type

str

property network_name

Gets the network_name of this Nic. Network name.

Returns

The network_name of this Nic.

Return type

str

property switch_name

Gets the switch_name of this Nic. Switch name.

Returns

The switch_name of this Nic.

Return type

str