blob: e86812dbb82ba8b60a06ad26773f0c3132ef8aa8 (
plain)
1
2
3
4
5
6
7
8
9
|
tag:
type: ipv4net
help: Static route
syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)"
commit:expression: $VAR(./next-hop/) != "" || $VAR(./blackhole/) != "" || $VAR(./dhcp-interface/) != ""; \
"Must add either a next-hop or blackhole or dhcp-interface for route $VAR(@)"
commit:expression: $VAR(./next-hop/) == "" || $VAR(./dhcp-interface/) == ""; \
"Must configure only one of next-hop or dhcp-interface for route $VAR(@)"
|