From 17273a7c91b95c529b2743635e51265e36e0010c Mon Sep 17 00:00:00 2001 From: Deepthi V V Date: Fri, 6 Dec 2013 18:10:50 +0530 Subject: [PATCH] 1. Corrected Ip Protocol match field. 2. Added mask for Ipv6 Extension header match field Signed-off-by: Deepthi V V Change-Id: Ib3f6636475f228ad7bb53f02ad0883bc6bc2d9e3 --- .../src/main/yang/match-types.yang | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang b/opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang index f58f6a4597..5ba92aba9d 100644 --- a/opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang +++ b/opendaylight/md-sal/model/model-flow-base/src/main/yang/match-types.yang @@ -91,11 +91,6 @@ module opendaylight-match-types { description "IP ECN (2 bits in ToS field)."; type uint8; } - - leaf ip-proto { - description "IP Proto (IPv4 or IPv6 Protocol Number)."; - type inet:ip-version; - } } grouping "ipv4-match-fields" { @@ -146,10 +141,16 @@ module opendaylight-match-types { description "Link layer target address for neighbour discovery message"; type yang:mac-address; } - - leaf ipv6-exthdr { - description "IPv6 Extension Header field"; - type uint16; + + container "ipv6-ext-header" { + leaf ipv6-exthdr { + description "IPv6 Extension Header field"; + type uint16; + } + + leaf ipv6-exthdr-mask { + type binary; + } } } -- 2.36.6