Class DefaultBridgeDescription

    • Method Detail

      • controllers

        public java.util.List<ControllerInfo> controllers()
        Description copied from interface: BridgeDescription
        Returns OpenFlow controllers of the bridge. If it's empty, then no OpenFlow controllers are used for the bridge.
        Specified by:
        controllers in interface BridgeDescription
        Returns:
        set of controllers
      • enableLocalController

        public boolean enableLocalController()
        Description copied from interface: BridgeDescription
        Returns whether to use local controller as an OpenFlow controller of the bridge if no controllers are specified.
        Specified by:
        enableLocalController in interface BridgeDescription
        Returns:
        true to set local controller, false otherwise
      • datapathId

        public java.util.Optional<java.lang.String> datapathId()
        Description copied from interface: BridgeDescription
        Returns OpenFlow datapath ID of the bridge. Valid only if OpenFlow controller is configured for the bridge.
        Specified by:
        datapathId in interface BridgeDescription
        Returns:
        datapath id
      • datapathType

        public java.util.Optional<java.lang.String> datapathType()
        Description copied from interface: BridgeDescription
        Returns OVSDB datapath Type of the bridge.
        Specified by:
        datapathType in interface BridgeDescription
        Returns:
        datapath type
      • deviceId

        public java.util.Optional<DeviceId> deviceId()
        Description copied from interface: BridgeDescription
        Returns OpenFlow device ID. Valid only if OpenFlow controller is configured for the bridge.
        Specified by:
        deviceId in interface BridgeDescription
        Returns:
        device id
      • disableInBand

        public java.util.Optional<java.lang.Boolean> disableInBand()
        Description copied from interface: BridgeDescription
        Returns in band control is enabled or not. If set to true, disable in-band control on the bridge regardless of controller and manager settings. If it's not set, the default setting of the bridge is used.
        Specified by:
        disableInBand in interface BridgeDescription
        Returns:
        true if in-band is disabled, false if in-band is enabled
      • builder

        public static BridgeDescription.Builder builder()
        Creates and returns a new builder instance.
        Returns:
        new builder