Interface BridgeDescription.Builder

    • Method Detail

      • name

        BridgeDescription.Builder name​(java.lang.String name)
        Returns bridge description builder with a given name.
        Parameters:
        name - bridge name
        Returns:
        bridge description builder
      • controllers

        BridgeDescription.Builder controllers​(java.util.List<ControllerInfo> controllers)
        Returns bridge description builder with given controllers.
        Parameters:
        controllers - set of controllers
        Returns:
        bridge description builder
      • enableLocalController

        BridgeDescription.Builder enableLocalController()
        Returns bridge description builder with local controller enabled.
        Returns:
        bridge description builder
      • datapathId

        BridgeDescription.Builder datapathId​(java.lang.String datapathId)
        Returns bridge description builder with a given datapath ID.
        Parameters:
        datapathId - datapath id
        Returns:
        bridge description builder
      • datapathType

        BridgeDescription.Builder datapathType​(java.lang.String datapathType)
        Returns bridge description builder with a given datapath type.
        Parameters:
        datapathType - datapath type
        Returns:
        bridge description builder
      • controlProtocols

        BridgeDescription.Builder controlProtocols​(java.util.List<ControlProtocolVersion> controlProtocols)
        Returns bridge description builder with given control protocol versions.
        Parameters:
        controlProtocols - List of control protocol
        Returns:
        bridge description builder
      • disableInBand

        BridgeDescription.Builder disableInBand()
        Returns bridge description builder with in-band control disabled.
        Returns:
        bridge description builder
      • build

        BridgeDescription build()
        Builds an immutable bridge description.
        Returns:
        bridge description