Group :: Rede/Outros
RPM: openvswitch
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
#!/bin/bash
pickup_defaults
pickup_options
[ -x "${OVS_VSCTL:=$DEFAULT_OVS_VSCTL}" ] || {
print_error "$OVS_VSCTL does not exist or is not executable. Try installing openvswitch RPM."
exit 1
}
iface_is_up $BRIDGE || $SCRIPTDIR/ifup $BRIDGE
iface_exists $NAME || INTERNAL_PORT="-- set interface $NAME type=internal "
$OVS_VSCTL -t $OVS_VSCTL_TIMEOUT -- --may-exist add-port "$BRIDGE" "$NAME" $OVS_OPTIONS ${OVS_EXTRA+-- $OVS_EXTRA} $INTERNAL_PORT && print_progress