summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-04-11 09:32:39 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-04-20 13:14:09 +0900
commitba727eb444d17b73167d78a71d427c115ec4c34a (patch)
tree06badfd3bf99720be26eb110ae18964128a1f70a /tools/pyang_plugins
parent427f0fc5f7922dee4ef11bf3c629134769227654 (diff)
packet: fix encap nlri (add encap ipv6 nlri)
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r--tools/pyang_plugins/gobgp.yang9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index c8f6029c..911de3bc 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -84,13 +84,20 @@ module gobgp {
reference "RFC4684";
}
- identity ENCAP {
+ identity IPV4-ENCAP {
base bgp-types:afi-safi-type;
description
"Encapsulation (AFI,SAFI = 1,7)";
reference "RFC5512";
}
+ identity IPV6-ENCAP {
+ base bgp-types:afi-safi-type;
+ description
+ "Encapsulation (AFI,SAFI = 2,7)";
+ reference "RFC5512";
+ }
+
identity IPV4-FLOWSPEC {
base bgp-types:afi-safi-type;
description