diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-10-14 15:36:11 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-10-14 15:36:11 +0200 |
commit | 13605fb2b2af49edd8b9fd68a14c26c8f44b09bf (patch) | |
tree | 8e42bc3b678a9964b3afd76bf32b4be58a88a791 /templates | |
parent | 3deced46d8ff3d625d974c0f207550fc9f267b2b (diff) | |
download | vyatta-cfg-quagga-13605fb2b2af49edd8b9fd68a14c26c8f44b09bf.tar.gz vyatta-cfg-quagga-13605fb2b2af49edd8b9fd68a14c26c8f44b09bf.zip |
T897: check the value of the "set ipv6-next-hop local" option at set time.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/policy/route-map/node.tag/rule/node.tag/set/ipv6-next-hop/local/node.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/ipv6-next-hop/local/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/ipv6-next-hop/local/node.def index 34eaccfc..0f83beb3 100644 --- a/templates/policy/route-map/node.tag/rule/node.tag/set/ipv6-next-hop/local/node.def +++ b/templates/policy/route-map/node.tag/rule/node.tag/set/ipv6-next-hop/local/node.def @@ -2,6 +2,8 @@ type: ipv6 help: Nexthop IPv6 local address val_help: IPv6 address +syntax:expression: exec "ipaddrcheck --is-ipv6-link-local $VAR(@) || echo $VAR(@) is not a valid IPv6 link-local adddress" + # TODO: can also set to peer for BGP commit:expression: $VAR(../../../action/) != ""; "you must specify an action" |