From 85d038d209ec5c11e72f4b04d681e76ad8fd661f Mon Sep 17 00:00:00 2001 From: Yi Tseng Date: Sun, 10 Apr 2016 17:34:38 +0800 Subject: Add neighbor-port-number to bgp neighbor config Allow user to setup neighbor BGP TCP port (Default is 179) --- tools/pyang_plugins/gobgp.yang | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/pyang_plugins') diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang index d042792d..5b3702b5 100644 --- a/tools/pyang_plugins/gobgp.yang +++ b/tools/pyang_plugins/gobgp.yang @@ -574,6 +574,14 @@ module gobgp { description "The number of flip-flops"; } + + + } + + augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:config" { + leaf neighbor-port-number { + type inet:port-number; + } } augment "/bgp:bgp/bgp:neighbors/bgp:neighbor/bgp:timers/bgp:config" { -- cgit v1.2.3