summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/node.def
blob: e7d11d961df3a8152eaa24a466badafeadde1bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
         vtysh -d ospf6d -c 'sh run' > /opt/vyatta/etc/quagga/ospf6d.conf
       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