summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2014-02-27 17:56:12 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-02-27 22:29:56 +0900
commitcd728e3b048546a997818cbb2d3f645e727684f0 (patch)
tree14157b8aeac98319ac26b234b0c394b5cf6b5965
parent8caa0029534690dbd38c10b507c473c495ab63dd (diff)
of14: Add port stats experimenter property
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--ryu/ofproto/ofproto_v1_4_parser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py
index 641c013d..f5234c07 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -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,