summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-30 17:57:56 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-03-31 11:38:17 +0900
commit051621bf3aecbe0fd6292a3b4ee41ab42169eea1 (patch)
treedafa1b882570e059d57692c14e8a9537ff8c6f07 /tools/pyang_plugins
parent63788325a04d2c1956f79713fabcb00d68782f37 (diff)
*: support draft-ietf-idr-flowspec-l2vpn-03
$ gobgp g ri add -a l2vpn-flowspec match destination-mac 01:01:01:01:01:01 ether-type ipv4 vid 10 cos 20 $ gobgp g ri add -a l2vpn-flowspec match source-mac 01:01:01:01:01:01 ether-type arp inner-vid 20 inner-cos 20 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 a15fe80d..775d851d 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -119,6 +119,13 @@ module gobgp {
reference "RFC5575";
}
+ identity L2VPN-FLOWSPEC {
+ base bgp-types:afi-safi-type;
+ description
+ "L2VPN flowspec (AFI,SAFI = 25,134)";
+ reference "draft-ietf-idr-flowspec-l2vpn-03";
+ }
+
identity OPAQUE {
base bgp-types:afi-safi-type;
description
@@ -743,7 +750,7 @@ module gobgp {
"Configures a file name to be written.";
}
leaf interval {
- type int64;
+ type uint64;
}
}
}