public class CfgBase extends Object
Constructor and Description |
---|
CfgBase()
No-args constructor to allow incremental creation.
|
Modifier and Type | Method and Description |
---|---|
int |
getBufferCount()
Returns the configured number of buffers.
|
Set<Capability> |
getCapabilities()
Returns the configured capabilities.
|
IpAddress |
getControllerAddress()
Returns the configured controller address.
|
int |
getOpenflowPort()
Returns the configured OpenFlow port.
|
int |
getOpenflowTlsPort()
Returns the configured OpenFlow TLS port.
|
int |
getOpenflowUdpPort()
Returns the configured OpenFlow UDP port.
|
int |
getTableCount()
Returns the configured number of tables.
|
void |
setBufferCount(int bufferCount)
Sets the switch's reported buffer count.
|
void |
setCapabilities(Set<Capability> capabilities)
Sets the switch's reported OpenFlow capabilities.
|
void |
setControllerAddress(IpAddress address)
Sets the openflow controller address.
|
void |
setOpenflowPort(int port)
Sets the OpenFlow listen port.
|
void |
setOpenflowTlsPort(int port)
Sets the OpenFlow TLS listen port.
|
void |
setOpenflowUdpPort(int port)
Sets the OpenFlow UDP listen port.
|
void |
setTableCount(int tableCount)
Sets the switch's reported table count.
|
String |
toString() |
public IpAddress getControllerAddress()
public int getOpenflowPort()
public int getOpenflowTlsPort()
public int getOpenflowUdpPort()
public int getBufferCount()
public int getTableCount()
public Set<Capability> getCapabilities()
public void setControllerAddress(IpAddress address)
address
- the controller addresspublic void setOpenflowPort(int port)
port
- the OpenFlow portpublic void setOpenflowTlsPort(int port)
port
- the OpenFlow TLS portpublic void setOpenflowUdpPort(int port)
port
- the OpenFlow UDP portpublic void setBufferCount(int bufferCount)
bufferCount
- the buffer countpublic void setTableCount(int tableCount)
tableCount
- the table countpublic void setCapabilities(Set<Capability> capabilities)
capabilities
- the capabilitiesCopyright © 2015. All Rights Reserved.