HostNetworkConfiguration

class oci.opsi.models.HostNetworkConfiguration(**kwargs)

Bases: oci.opsi.models.host_configuration_metric_group.HostConfigurationMetricGroup

Network Configuration metric for the host

Attributes

METRIC_NAME_HOST_CONTAINERS str(object=’’) -> str
METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_ENTITES str(object=’’) -> str
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_GPU_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_HARDWARE_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_MEMORY_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_NETWORK_CONFIGURATION str(object=’’) -> str
METRIC_NAME_HOST_PRODUCT str(object=’’) -> str
METRIC_NAME_HOST_RESOURCE_ALLOCATION str(object=’’) -> str
interface_name [Required] Gets the interface_name of this HostNetworkConfiguration.
ip_address [Required] Gets the ip_address of this HostNetworkConfiguration.
mac_address Gets the mac_address of this HostNetworkConfiguration.
metric_name [Required] Gets the metric_name of this HostConfigurationMetricGroup.
time_collected [Required] Gets the time_collected of this HostConfigurationMetricGroup.

Methods

__init__(**kwargs) Initializes a new HostNetworkConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
METRIC_NAME_HOST_CONTAINERS = 'HOST_CONTAINERS'
METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'
METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION = 'HOST_FILESYSTEM_CONFIGURATION'
METRIC_NAME_HOST_GPU_CONFIGURATION = 'HOST_GPU_CONFIGURATION'
METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'
METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'
METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'
METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'
METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'
__init__(**kwargs)

Initializes a new HostNetworkConfiguration object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_NETWORK_CONFIGURATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • metric_name (str) – The value to assign to the metric_name property of this HostNetworkConfiguration. Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”
  • time_collected (datetime) – The value to assign to the time_collected property of this HostNetworkConfiguration.
  • interface_name (str) – The value to assign to the interface_name property of this HostNetworkConfiguration.
  • ip_address (str) – The value to assign to the ip_address property of this HostNetworkConfiguration.
  • mac_address (str) – The value to assign to the mac_address property of this HostNetworkConfiguration.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

interface_name

[Required] Gets the interface_name of this HostNetworkConfiguration. Name of the network interface

Returns:The interface_name of this HostNetworkConfiguration.
Return type:str
ip_address

[Required] Gets the ip_address of this HostNetworkConfiguration. IP address (IPv4 or IPv6) of the network interface

Returns:The ip_address of this HostNetworkConfiguration.
Return type:str
mac_address

Gets the mac_address of this HostNetworkConfiguration. MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS

Returns:The mac_address of this HostNetworkConfiguration.
Return type:str
metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup. Name of the metric group

Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”

Returns:The metric_name of this HostConfigurationMetricGroup.
Return type:str
time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns:The time_collected of this HostConfigurationMetricGroup.
Return type:datetime