From 2f5a4d59cb8d494bcf1a64d45d84bcd8fd4a7f06 Mon Sep 17 00:00:00 2001 From: Hitoshi Irino Date: Mon, 24 Jun 2019 00:39:22 +0900 Subject: BGP connection on a speecified interface (including which is associated VRF) using syscall SO_BINDTODEVICE --- tools/pyang_plugins/gobgp.yang | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools') 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 { -- cgit v1.2.3