diff options
-rw-r--r-- | templates/protocols/ospf/area/node.tag/network/node.def | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def index 17648610..6f8e69d6 100644 --- a/templates/protocols/ospf/area/node.tag/network/node.def +++ b/templates/protocols/ospf/area/node.tag/network/node.def @@ -1,11 +1,8 @@ multi: type: ipv4net help: Set OSPF network -priority: 1 syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" -create:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"network $VAR(@) area $VAR(../@)\"; " -delete:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"no network $VAR(@) area $VAR(../@)\"; " +update:vyatta-vtysh -c "configure terminal" \ + -c "router ospf" -c "network $VAR(@) area $VAR(../@)" +delete:vyatta-vtysh -c "configure terminal" \ + -c "router ospf" -c "no network $VAR(@) area $VAR(../@)" |