multi:
type: txt
help: Set to suppress routing updates on an interface

allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all && echo default



create: sudo /opt/vyatta/sbin/vyatta_quagga_utils.pl \
           --check-ospf-passive="$VAR(@)"
        if [ $? != 0 ] ; then
           exit 1;
        fi
        if [ -z $VAR(@) ] || [ "$VAR(@)" == "default" ] ; then
           vtysh -c "configure terminal" \
                 -c "router ospf"        \
                 -c "passive-interface default";
        else
           vtysh -c "configure terminal" \
                 -c "router ospf"        \
                 -c "passive-interface $VAR(@)"
        fi

delete: if [ -z $VAR(@) ]
	then 
           vtysh -c "configure terminal" \
                 -c "router ospf"        \
                 -c "no passive-interface default"
	else 
           if [ "$VAR(@)" == "default" ]
           then
              if [ $VAR(../passive-interface-exclude/@) ] 
              then
                 echo "Error: delete passive-interface-exclude before deleting passive-interface default";
                 exit 1;
              fi
           fi
           vtysh -c "configure terminal" \
                 -c "router ospf"        \
                 -c "no passive-interface $VAR(@)"
 	fi

comp_help: possible completions:
  <interface>     Set an interface to be passive (i.e. suppress routing updates)
  default         Set default to suppress routing updates on all interfaces
