summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/passive-interface/node.def
blob: 841bd340f10900a7ec1364afc07fe72f2e914b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
multi:
type: txt
help: Set to suppress routing updates on an interface
syntax:expression: exec "${vyatta_sbindir}/vyatta-interfaces.pl --check $VAR(@)"
allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all
update: if [ -z $VAR(@) ]
        then  vyatta-vtysh -c "configure terminal" -c "router ospf" \
          -c "passive-interface default";
     	else  vyatta-vtysh -c "configure terminal" -c "router ospf" \
          -c "passive-interface $VAR(@)"
	fi
delete: if [ -z $VAR(@) ]
	then vyatta-vtysh -c "configure terminal" -c "router ospf" \
          -c "no passive-interface default"
	else vyatta-vtysh -c "configure terminal" -c "router ospf" \
          -c "no passive-interface $VAR(@)"
 	fi