Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.89 KB

File metadata and controls

30 lines (23 loc) · 1.89 KB

V1NetworkDeviceData

NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.

Properties

Name Type Description Notes
hardware_address str HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface. Must not be longer than 128 bytes. [optional]
interface_name str InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod. Must not be longer than 256 bytes. [optional]
ips List[str] IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: "192.0.2.5/24" for IPv4 and "2001:db8::5/64" for IPv6. [optional]

Example

from kubernetes.client.models.v1_network_device_data import V1NetworkDeviceData

# TODO update the JSON string below
json = "{}"
# create an instance of V1NetworkDeviceData from a JSON string
v1_network_device_data_instance = V1NetworkDeviceData.from_json(json)
# print the JSON string representation of the object
print(V1NetworkDeviceData.to_json())

# convert the object into a dict
v1_network_device_data_dict = v1_network_device_data_instance.to_dict()
# create an instance of V1NetworkDeviceData from a dict
v1_network_device_data_from_dict = V1NetworkDeviceData.from_dict(v1_network_device_data_dict)

[Back to Model list] [Back to API list] [Back to README]