summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2014-02-24 13:07:10 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-02-27 08:12:19 +0900
commit65480498f68b65b576f0b4624327bb89f579c9b3 (patch)
treec3a4970db0b5886b2fb3b4fc1064fe0ed8b78d4d
parentda74cda7a49391915f88c474a15484d037fda9b5 (diff)
of14: Add OFPRoleProp
This will be used by role status messages. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_4_parser.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py b/ryu/ofproto/ofproto_v1_4_parser.py
index ac8ebb3e..de976c21 100644
--- a/ryu/ofproto/ofproto_v1_4_parser.py
+++ b/ryu/ofproto/ofproto_v1_4_parser.py
@@ -970,6 +970,15 @@ class OFPQueueDescPropExperimenter(OFPPropCommonExperimenter4ByteData):
pass
+class OFPRoleProp(OFPPropBase):
+ _TYPES = {}
+
+
+@OFPRoleProp.register_type(ofproto.OFPRPT_EXPERIMENTER)
+class OFPRolePropExperimenter(OFPPropCommonExperimenter4ByteData):
+ pass
+
+
class OFPMatchField(StringifyMixin):
_FIELDS_HEADERS = {}