summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-10-14 15:35:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-10-16 10:59:26 +0900
commitb94c28808352f885939cbc8d31b5ef73874f92d0 (patch)
treeb83fbb6445d42ab477237d67cf11730c3c881b02
parentf473308b3711a74641c6c6d114a6f5ccca7fde3b (diff)
ofproto_v1_4: Add tun_ipv4_src and tun_ipv4_dst NXMs
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Reviewed-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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py
index e12dcd66..0198c6e3 100644
--- a/ryu/ofproto/ofproto_v1_4.py
+++ b/ryu/ofproto/ofproto_v1_4.py
@@ -388,6 +388,8 @@ oxm_types = [
oxm_fields.OpenFlowBasic('tunnel_id', 38, oxm_fields.Int8),
oxm_fields.OpenFlowBasic('ipv6_exthdr', 39, oxm_fields.Int2),
oxm_fields.OpenFlowBasic('pbb_uca', 41, oxm_fields.Int1),
+ oxm_fields.NiciraExtended1('tun_ipv4_src', 31, oxm_fields.IPv4Addr),
+ oxm_fields.NiciraExtended1('tun_ipv4_dst', 32, oxm_fields.IPv4Addr),
]
oxm_fields.generate(__name__)