summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/node.def
blob: 4431983868db5ad93a6795a9523af78022d6cb74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tag:1
priority: 730
type: u32
help: Border Gateway Protocol (BGP) parameters
val_help: u32:1-4294967294; AS number

syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
		   "AS number must be between 1 and 4294967294"

end: 
if [ ! -f "/tmp/protocols-bgp.$PPID" ]; then
    touch /tmp/protocols-bgp.$PPID;
    /opt/vyatta/sbin/vyatta-bgp.pl --main
fi;