diff options
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 4 | ||||
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/interface/node.def | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 31f97dea..522a0788 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -494,6 +494,10 @@ my %qcom = ( set => 'router bgp #3 ; neighbor #5 remote-as #7 ; neighbor #5 activate', del => 'router bgp #3 ; no neighbor #5 remote-as #7', }, + 'protocols bgp var neighbor var interface' => { + set => 'router bgp #3 ; neighbor #5 interface #7', + del => 'router bgp #3 ; no neighbor #5 interface #7', + }, 'protocols bgp var neighbor var disable-capability-negotiation' => { set => 'router bgp #3 ; neighbor #5 dont-capability-negotiate', del => 'router bgp #3 ; no neighbor #5 dont-capability-negotiate', diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/node.def new file mode 100644 index 00000000..4f49f816 --- /dev/null +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/node.def @@ -0,0 +1,2 @@ +type: txt +help: Network interface to use for the BGP session |