public class OVXDescriptionStatistics extends OFDescriptionStatistics implements VirtualizableStatistic, DevirtualizableStatistic
datapathDescription, DESCRIPTION_STRING_LENGTH, hardwareDescription, manufacturerDescription, SERIAL_NUMBER_LENGTH, serialNumber, softwareDescription
Constructor and Description |
---|
OVXDescriptionStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
devirtualizeStatistic(OVXSwitch sw,
OVXStatisticsRequest msg)
Creates a reply object populated with the virtual switch params and
sends it back to the controller.
|
void |
virtualizeStatistic(PhysicalSwitch sw,
OVXStatisticsReply msg)
Virtualize a statistics object.
|
equals, getDatapathDescription, getHardwareDescription, getLength, getManufacturerDescription, getSerialNumber, getSoftwareDescription, hashCode, readFrom, setDatapathDescription, setHardwareDescription, setManufacturerDescription, setSerialNumber, setSoftwareDescription, writeTo
public void devirtualizeStatistic(OVXSwitch sw, OVXStatisticsRequest msg)
devirtualizeStatistic
in interface DevirtualizableStatistic
sw
- the virtual switchmsg
- the statistics request messagepublic void virtualizeStatistic(PhysicalSwitch sw, OVXStatisticsReply msg)
VirtualizableStatistic
virtualizeStatistic
in interface VirtualizableStatistic
sw
- Switch which received the objectmsg
- the actual statistics message.Copyright © 2015. All rights reserved.