summaryrefslogtreecommitdiff
path: root/templates/protocols/static/route/node.def
blob: 0d17bb4b031889778034bd04799dd0a9e252dbad (plain)
1
2
3
4
5
6
7
8
tag:
priority: 482
type: ipv4net
help: Static route
syntax:expression: exec "ipaddrcheck --verbose --is-ipv4-net $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(@)"