blob: ffcf8dbc96f6def2ad2e89fd7dfd8272e7cec8bf (
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 "ospf6 router-id $VAR(parameters/router-id/@)"
else
vtysh -c "configure terminal" -c "router ospf6" \
-c "no ospf6 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
|