of14: Add port stats experimenter property

Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
Simon Horman 2014-02-27 17:56:12 +09:00 committed by FUJITA Tomonori
parent 8caa002953
commit cd728e3b04

View File

@ -3904,6 +3904,11 @@ class OFPPortStatsPropOptical(StringifyMixin):
return optical
@OFPPortStatsProp.register_type(ofproto.OFPPSPT_EXPERIMENTER)
class OFPPortStatsPropExperimenter(OFPPropCommonExperimenter4ByteData):
pass
class OFPPortStats(StringifyMixin):
def __init__(self, length=None, port_no=None, duration_sec=None,
duration_nsec=None, rx_packets=None, tx_packets=None,