summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/node.def
blob: 5665519912133971459a6446329b57be0e4962e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
priority: 640
help: IPv6 Open Shortest Path First protocol (OSPFv3) parameters
begin: if [ "$COMMIT_ACTION" != DELETE ]; then
         if [ -n "$VAR(parameters/router-id/@)" ]; then
           vtysh -c "configure terminal" -c "router ospf6" \
                 -c "router-id $VAR(parameters/router-id/@)"
         else
           vtysh -c "configure terminal" -c "router ospf6" \
                 -c "no router-id"
         fi
       fi
end: if [ "$COMMIT_ACTION" == DELETE ]; then
       vtysh -c "configure terminal" -c "router ospf6" -c "no router-id"
       vtysh -c "configure terminal" -c "no router ospf6"
     fi