diff options
author | Yi Tseng <a86487817@gmail.com> | 2016-04-10 17:34:38 +0800 |
---|---|---|
committer | Yi Tseng <a86487817@gmail.com> | 2016-04-11 15:57:39 +0800 |
commit | 85d038d209ec5c11e72f4b04d681e76ad8fd661f (patch) | |
tree | 9cd8e5a2343c217e92e42d78c813e64d26a208c3 /tools/pyang_plugins/gobgp.yang | |
parent | 6d401bedf5a947444a66daf5312719f6dba8b381 (diff) |
Add neighbor-port-number to bgp neighbor config
Allow user to setup neighbor BGP TCP port (Default is 179)
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r-- | tools/pyang_plugins/gobgp.yang | 8 |
1 files changed, 8 insertions, 0 deletions
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" { |