diff options
Diffstat (limited to 'templates')
5 files changed, 19 insertions, 15 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.def b/templates/protocols/bgp/node.tag/neighbor/node.def index c2a810e4..ac51c00b 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.def @@ -1,9 +1,9 @@ tag: type: txt help: BGP neighbor -val_help: txt; BGP neighbor IP address -val_help: txt; BGP neighbor IPv6 address -val_help: txt; Interface name +val_help: ipv4; BGP neighbor IP address +val_help: ipv6; BGP neighbor IPv6 address +val_help: <interface>; Interface name syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl \ --check-neighbor-ip --neighbor $VAR(@)" diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/remote-as/node.def index 61cd13a0..80edfd4d 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/remote-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/remote-as/node.def @@ -1,6 +1,7 @@ type: txt help: Neighbor BGP AS number [REQUIRED] -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 +allowed: echo "internal external" +val_help: u32:1-4294967294; Neighbor AS number +val_help: external; any AS different from the local AS +val_help: internal; same as the local AS syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-remote-as $VAR(@)" diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/v6only/remote-as/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/v6only/remote-as/node.def index 61cd13a0..80edfd4d 100644 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/v6only/remote-as/node.def +++ b/templates/protocols/bgp/node.tag/neighbor/node.tag/interface/v6only/remote-as/node.def @@ -1,6 +1,7 @@ type: txt help: Neighbor BGP AS number [REQUIRED] -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 +allowed: echo "internal external" +val_help: u32:1-4294967294; Neighbor AS number +val_help: external; any AS different from the local AS +val_help: internal; same as the local AS syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-remote-as $VAR(@)" 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 61cd13a0..79939380 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,6 +1,7 @@ type: txt help: Neighbor BGP AS number [REQUIRED] -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 +allowed: echo "internal external" +val_help: u32:1-4294967294; AS number +val_help: external; any AS different from the local AS +val_help: internal; same as local AS syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-remote-as $VAR(@)" diff --git a/templates/protocols/bgp/node.tag/peer-group/node.tag/remote-as/node.def b/templates/protocols/bgp/node.tag/peer-group/node.tag/remote-as/node.def index 61cd13a0..80edfd4d 100644 --- a/templates/protocols/bgp/node.tag/peer-group/node.tag/remote-as/node.def +++ b/templates/protocols/bgp/node.tag/peer-group/node.tag/remote-as/node.def @@ -1,6 +1,7 @@ type: txt help: Neighbor BGP AS number [REQUIRED] -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 +allowed: echo "internal external" +val_help: u32:1-4294967294; Neighbor AS number +val_help: external; any AS different from the local AS +val_help: internal; same as the local AS syntax:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-remote-as $VAR(@)" |