<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">tag:
priority: 310
type: txt
help: Bridge interface name
val_help: &lt;brN&gt;; Bridge interface name
syntax:expression: pattern $VAR(@) "^br[0-9]+$" ; "Must be (br0 - br999)"

create: /usr/sbin/brctl addbr $VAR(@)
        ip link set $VAR(@) up

delete: if ! /opt/vyatta/sbin/vyatta-bridgegroup-depedency.pl   \
          --no-interfaces-assigned                            	\
          --bridge-interface="$VAR(@)"; then                    \
          exit 1
        fi
        ip link set $VAR(@) down;
        /usr/sbin/brctl delbr $VAR(@);

</pre></body></html>