summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorHitoshi Irino <irino@sfc.wide.ad.jp>2019-06-24 00:39:22 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-07-02 11:40:22 +0900
commit2f5a4d59cb8d494bcf1a64d45d84bcd8fd4a7f06 (patch)
tree130afc174fe85d32abe3ad4994aecec3461ffcc4 /tools
parent9f936065a907639661eca3924f0a8f09d94abbfe (diff)
BGP connection on a speecified interface (including which is associated VRF) using syscall SO_BINDTODEVICE
Diffstat (limited to 'tools')
-rw-r--r--tools/pyang_plugins/gobgp.yang11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index fda3dc2c..0829bee3 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -920,6 +920,11 @@ module gobgp {
description "TTL value for BGP packets";
type uint8;
}
+
+ leaf bind-interface {
+ description "Interface name for binding.";
+ type string;
+ }
}
augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:config" {
@@ -1239,6 +1244,12 @@ module gobgp {
"Configure MPLS label range size which will be requested to
FRR/Zebra.";
}
+ leaf software-name {
+ type string;
+ description
+ "Configure zebra software name.
+ quagga, frr3, frr4, frr5, frr6, frr7 can be used.";
+ }
}
grouping zebra-set {