Class NetworkDeviceData

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<NetworkDeviceDataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class NetworkDeviceData
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<NetworkDeviceDataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • NetworkDeviceData

        public NetworkDeviceData()
        No args constructor for use in serialization
      • NetworkDeviceData

        public NetworkDeviceData​(String hardwareAddress,
                                 String interfaceName,
                                 List<String> ips)
    • Method Detail

      • getHardwareAddress

        public String getHardwareAddress()
        HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.


        Must not be longer than 128 characters.

      • setHardwareAddress

        public void setHardwareAddress​(String hardwareAddress)
        HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.


        Must not be longer than 128 characters.

      • getInterfaceName

        public String getInterfaceName()
        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.

      • setInterfaceName

        public void setInterfaceName​(String interfaceName)
        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.

      • getIps

        public List<String> getIps()
        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.
      • setIps

        public void setIps​(List<String> ips)
        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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)