public final class NeutronConfig extends Object
NeutronConfig
describes the configuration for the manager.neutron
bundle specified by the config subsystem.Modifier and Type | Field and Description |
---|---|
static String |
FAILMODE_SECURE
A string that indicates secure fail mode.
|
static String |
FAILMODE_STANDALONE
A string that indicates standalone fail mode.
|
static String |
PROTO_OF13
A string that indicates OpenFlow 1.3.
|
Constructor and Description |
---|
NeutronConfig()
Construct a new instance that contains default values.
|
NeutronConfig(String bname,
String pname,
String proto,
String fail)
Construct a new instance.
|
NeutronConfig(VtnNeutronConfig vcfg)
Construct a new instance from the given vtn-neutron-config instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getOvsdbBridgeName()
Return the name of the OVS bridge.
|
String |
getOvsdbFailMode()
Return the OVSDB failmode.
|
String |
getOvsdbPortName()
Return the name of the port in the OVS bridge.
|
String |
getOvsdbProtocol()
Return the OpenFlow protocol used by the OVS.
|
String |
toString()
Return a string representation of this instance.
|
public static final String FAILMODE_SECURE
public static final String FAILMODE_STANDALONE
public static final String PROTO_OF13
public NeutronConfig()
public NeutronConfig(VtnNeutronConfig vcfg)
vcfg
- A vtn-neutron-config instance.public NeutronConfig(String bname, String pname, String proto, String fail)
bname
- The name of the bridge to create in the OVS.pname
- The name of the port in the OVS bridge.proto
- The OpenFlow protocol used by the OVS.fail
- The OVSDB failmode.@Nonnull public String getOvsdbBridgeName()
@Nonnull public String getOvsdbPortName()
@Nonnull public String getOvsdbProtocol()
@Nonnull public String getOvsdbFailMode()
Copyright © 2018 OpenDaylight. All rights reserved.