kubernetes_asyncio.client.models.v1_network_device_data module
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech
- class kubernetes_asyncio.client.models.v1_network_device_data.V1NetworkDeviceData(hardware_address=None, interface_name=None, ips=None, local_vars_configuration=None)
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'hardware_address': 'hardwareAddress', 'interface_name': 'interfaceName', 'ips': 'ips'}
- property hardware_address
Gets the hardware_address of this V1NetworkDeviceData. # noqa: E501
HardwareAddress represents the hardware address (e.g. MAC Address) of the device’s network interface. Must not be longer than 128 characters. # noqa: E501
- Returns:
The hardware_address of this V1NetworkDeviceData. # noqa: E501
- Return type:
str
- property interface_name
Gets the interface_name of this V1NetworkDeviceData. # noqa: E501
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 characters. # noqa: E501
- Returns:
The interface_name of this V1NetworkDeviceData. # noqa: E501
- Return type:
str
- property ips
Gets the ips of this V1NetworkDeviceData. # noqa: E501
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. # noqa: E501
- Returns:
The ips of this V1NetworkDeviceData. # noqa: E501
- Return type:
list[str]
- openapi_types = {'hardware_address': 'str', 'interface_name': 'str', 'ips': 'list[str]'}
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model