public static interface BridgeDescription.Builder
Modifier and Type | Method and Description |
---|---|
BridgeDescription |
build()
Builds an immutable bridge description.
|
BridgeDescription.Builder |
controllers(java.util.List<ControllerInfo> controllers)
Returns bridge description builder with given controllers.
|
BridgeDescription.Builder |
datapathId(java.lang.String datapathId)
Returns bridge description builder with a given datapath ID.
|
BridgeDescription.Builder |
datapathType(java.lang.String datapathType)
Returns bridge description builder with a given datapath type.
|
BridgeDescription.Builder |
disableInBand()
Returns bridge description builder with in-band control disabled.
|
BridgeDescription.Builder |
enableLocalController()
Returns bridge description builder with local controller enabled.
|
BridgeDescription.Builder |
failMode(BridgeDescription.FailMode failMode)
Returns bridge description builder with a given fail mode.
|
BridgeDescription.Builder |
name(java.lang.String name)
Returns bridge description builder with a given name.
|
BridgeDescription.Builder name(java.lang.String name)
name
- bridge nameBridgeDescription.Builder controllers(java.util.List<ControllerInfo> controllers)
controllers
- set of controllersBridgeDescription.Builder enableLocalController()
BridgeDescription.Builder failMode(BridgeDescription.FailMode failMode)
failMode
- fail modeBridgeDescription.Builder datapathId(java.lang.String datapathId)
datapathId
- datapath idBridgeDescription.Builder datapathType(java.lang.String datapathType)
datapathType
- datapath typeBridgeDescription.Builder disableInBand()
BridgeDescription build()