diff options
author | Ruben Herold <ruben@puettmann.net> | 2019-05-29 14:31:37 +0200 |
---|---|---|
committer | Ruben Herold <ruben@puettmann.net> | 2019-05-29 16:07:59 +0200 |
commit | 7eecaeecd52e222b3883c9212ecd0b5242648363 (patch) | |
tree | e1bbf4065b685f0eb736af9462150e7589656f32 /templates | |
parent | 50cf64c80da6d964bffaaa27149a55b25a4c09d0 (diff) | |
download | vyatta-cfg-quagga-7eecaeecd52e222b3883c9212ecd0b5242648363.tar.gz vyatta-cfg-quagga-7eecaeecd52e222b3883c9212ecd0b5242648363.zip |
T1390: Add support for remote-as external and internal
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def index 5fbec1ae..61cd13a0 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/remote-as/node.def @@ -1,5 +1,6 @@ -type: u32 +type: txt help: Neighbor BGP AS number [REQUIRED] -val_help: u32: 1-4294967294; Neighbor AS number -syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294; \ - "remote-as must be between 1 and 4294967294" +val_help: txt: 1-4294967294; Neighbor AS number +val_help: txt: external; except that if the peers ASN is different than mine +val_help: txt: internal; except that if the peers ASN is the same as mine +syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-remote-as $VAR(@)" |