Class SegmentPortState.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of SegmentPortState.
    • Method Detail

      • setDiscoveredBindings

        public SegmentPortState.Builder setDiscoveredBindings​(java.util.List<AddressBindingEntry> discoveredBindings)
        Contains the list of address bindings for a segment port that were automatically dicovered using various snooping methods like ARP, DHCP etc.
        Parameters:
        discoveredBindings - New value for the property.
      • setDuplicateBindings

        public SegmentPortState.Builder setDuplicateBindings​(java.util.List<DuplicateAddressBindingEntry> duplicateBindings)
        If any address binding discovered on the port is also found on other port on the same segment, then it is included in the duplicate bindings list along with the ID of the port with which it conflicts.
        Parameters:
        duplicateBindings - New value for the property.
      • setRealizedBindings

        public SegmentPortState.Builder setRealizedBindings​(java.util.List<AddressBindingEntry> realizedBindings)
        List of segment port bindings that are realized. This list may be populated from the discovered bindings or manual user specified bindings. This binding configuration can be used by features such as firewall, spoof-guard, traceflow etc.
        Parameters:
        realizedBindings - New value for the property.
      • setTransportNodeIds

        public SegmentPortState.Builder setTransportNodeIds​(java.util.List<java.lang.String> transportNodeIds)
        Identifiers of the transport nodes where the port is located
        Parameters:
        transportNodeIds - New value for the property.