Package | Description |
---|---|
etri.sdn.controller | |
etri.sdn.controller.protocol |
Modifier and Type | Method and Description |
---|---|
PortInformation |
PortInformation.setAdvertisedFeatures(int advertised_features) |
PortInformation |
PortInformation.setConfig(int config) |
PortInformation |
PortInformation.setCurrentFeatures(int current_features) |
PortInformation |
PortInformation.setCurrSpeed(int curr_speed) |
PortInformation |
PortInformation.setHwAddr(byte[] hw_addr) |
PortInformation |
PortInformation.setMaxSpeed(int max_speed) |
PortInformation |
PortInformation.setName(byte[] name) |
PortInformation |
PortInformation.setPeerFeatures(int peer_features) |
PortInformation |
PortInformation.setPort(int port) |
PortInformation |
PortInformation.setState(int state) |
PortInformation |
PortInformation.setSupportedFeatures(int supported_features) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<IOFSwitch,java.util.Map<java.lang.Integer,PortInformation>> |
OFProtocol.portInformations
Port Number to PortInformation map.
|
private java.util.Map<IOFSwitch,java.util.Map<java.lang.String,PortInformation>> |
OFProtocol.portInformationsByName
Switch to
|
Modifier and Type | Method and Description |
---|---|
private PortInformation |
OFProtocol.createPortInformation(IOFSwitch sw,
int port) |
PortInformation |
OFProtocol.getPortInformation(IOFSwitch sw,
int port)
Get port information by the port number.
|
PortInformation |
OFProtocol.getPortInformationByName(IOFSwitch sw,
java.lang.String name)
This method should be called after port number is correctly set up.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PortInformation> |
OFProtocol.getPortInformations(IOFSwitch sw)
Get all PortInformation objects for the given switch
|
java.util.Collection<PortInformation> |
OFProtocol.getPortInformations(long datapathId)
Get all the PortInformation objects for the given switch by datapath id
|
Modifier and Type | Method and Description |
---|---|
void |
OFProtocol.removePortInformation(IOFSwitch sw,
PortInformation pi)
Remove a specific port information from the switch
|
void |
OFProtocol.setPortInformationByName(IOFSwitch sw,
java.lang.String name,
PortInformation pi)
Set the port information
|