summaryrefslogtreecommitdiffhomepage
path: root/ryu/ofproto/ofproto_v1_4.py
diff options
context:
space:
mode:
Diffstat (limited to 'ryu/ofproto/ofproto_v1_4.py')
-rw-r--r--ryu/ofproto/ofproto_v1_4.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py
index 345846e4..250c0e12 100644
--- a/ryu/ofproto/ofproto_v1_4.py
+++ b/ryu/ofproto/ofproto_v1_4.py
@@ -19,6 +19,7 @@ OpenFlow 1.4 definitions.
"""
from ryu.lib import type_desc
+from ryu.ofproto import ofproto_utils
from ryu.ofproto import oxm_fields
from struct import calcsize
@@ -1482,6 +1483,9 @@ OFP_PROP_EXPERIMENTER_SIZE = 12
assert (calcsize(OFP_PROP_EXPERIMENTER_PACK_STR) ==
OFP_PROP_EXPERIMENTER_SIZE)
+# generate utility methods
+ofproto_utils.generate(__name__)
+
# define constants
OFP_VERSION = 0x05
OFP_TCP_PORT = 6653