summaryrefslogtreecommitdiffstats
path: root/nsh/api/src/main/yang
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-12-06 20:03:58 +0800
committerHongjun Ni <hongjun.ni@intel.com>2016-12-08 02:04:23 +0000
commite4ef6644af76340ee45019bb01422d89be758bdc (patch)
tree1a07599b95eee0e1244b053cbc85b168b47fb18d /nsh/api/src/main/yang
parent314c466ff46edd1e9b7de62541209e8b033ec343 (diff)
Augment nsh-map to support nsh-proxy
recheck Change-Id: Ie2c3b7901e20df3e6bb19cceebe1e6d5c077cbea Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh/api/src/main/yang')
-rw-r--r--nsh/api/src/main/yang/vpp-nsh.yang17
1 files changed, 14 insertions, 3 deletions
diff --git a/nsh/api/src/main/yang/vpp-nsh.yang b/nsh/api/src/main/yang/vpp-nsh.yang
index d4914f4fd..2efdbcf6b 100644
--- a/nsh/api/src/main/yang/vpp-nsh.yang
+++ b/nsh/api/src/main/yang/vpp-nsh.yang
@@ -3,8 +3,14 @@ module vpp-nsh {
namespace "urn:opendaylight:params:xml:ns:yang:vpp:nsh";
prefix "vpp-nsh";
+ revision "2016-12-14" {
+ description
+ "This revision adds support for NSH-Proxy and NSH-Classifier features";
+ }
+
revision "2016-06-24" {
- description "Initial revision of vpp-nsh model";
+ description
+ "Initial revision of vpp-nsh model";
}
import iana-if-type {
@@ -99,9 +105,14 @@ module vpp-nsh {
description "vxlan-gpe encap type";
}
- identity vxlan {
+ identity vxlan4 {
+ base "encap-type";
+ description "ipv4 vxlan encap type";
+ }
+
+ identity vxlan6 {
base "encap-type";
- description "vxlan encap type";
+ description "ipv6 vxlan encap type";
}
typedef nsh-encap-type {