Class DefaultHostDescription

    • Constructor Detail

      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      HostLocation location,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        location - host location
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      HostLocation location,
                                      IpAddress ip,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        location - host location
        ip - host IP address
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      HostLocation location,
                                      Set<IpAddress> ip,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        location - host location
        ip - host IP addresses
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      HostLocation location,
                                      boolean configured,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        location - host location
        configured - true if configured via NetworkConfiguration
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      HostLocation location,
                                      Set<IpAddress> ip,
                                      boolean configured,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        location - host location
        ip - host IP address
        configured - true if configured via NetworkConfiguration
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      Set<HostLocation> locations,
                                      Set<IpAddress> ip,
                                      boolean configured,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        locations - host locations
        ip - host IP address
        configured - true if configured via NetworkConfiguration
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      Set<HostLocation> locations,
                                      Set<IpAddress> ip,
                                      VlanId innerVlan,
                                      EthType tpid,
                                      boolean configured,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        locations - host locations
        ip - host IP address
        innerVlan - host inner VLAN identifier
        tpid - outer TPID of a host
        configured - true if configured via NetworkConfiguration
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(MacAddress mac,
                                      VlanId vlan,
                                      Set<HostLocation> locations,
                                      Set<HostLocation> auxLocations,
                                      Set<IpAddress> ip,
                                      VlanId innerVlan,
                                      EthType tpid,
                                      boolean configured,
                                      SparseAnnotations... annotations)
        Creates a host description using the supplied information.
        Parameters:
        mac - host MAC address
        vlan - host VLAN identifier
        locations - host locations
        auxLocations - set of auxiliary locations, or null if unspecified
        ip - host IP address
        innerVlan - host inner VLAN identifier
        tpid - outer TPID of a host
        configured - true if configured via NetworkConfiguration
        annotations - optional key/value annotations map
      • DefaultHostDescription

        public DefaultHostDescription​(HostDescription base,
                                      SparseAnnotations annotations)
        Creates a host description using the supplied information.
        Parameters:
        base - HostDescription to basic information
        annotations - Annotations to use.