Displaying 3 results from an estimated 3 matches for "setup_virtual_bridge_port".
2024 Mar 19
2
Bug#1067151: xen-utils-common: vif-openvswitch ignores MTU
...it
in, here's the diff-c and the full fixed file is also attached.
*** vif-openvswitch.orig 2024-03-19 11:53:13.000000000 +0200
--- vif-openvswitch 2024-03-19 11:56:17.000000000 +0200
***************
*** 89,94 ****
--- 89,95 ----
add|online)
check_tools
setup_virtual_bridge_port $dev
+ set_mtu "$bridge" "$dev" "$type_if"
add_to_openvswitch $dev
;;
--
Aleksi Suhonen
() ascii ribbon campaign
/\ support plain text e-mail
-------------- next part --------------
#!/bin/bash
#====================================...
2012 Sep 13
0
[RFC] openvswitch support script
...tag=$tag"
fi
local vif_details="$(openvswitch_external_id_all $dev)"
ovs-vsctl --timeout=30 -- --if-exists del-port $dev -- add-port "$bridge" $dev $tag_arg $trunk_arg $vif_details
ip link set $dev up
}
case "$command" in
add|online)
setup_virtual_bridge_port $dev
add_to_openvswitch $dev
;;
offline)
ovs-vsctl --timeout=30 -- --if-exists del-port $dev
;;
esac
if [ "$type_if" = vif ]; then
handle_iptable
fi
log debug "Successful vif-openvswitch $command for $dev."
if [ "$type_if" = v...
2013 Apr 18
10
[PATCH] hotplug: add openvswitch script
...ot;
+ fi
+
+ local vif_details="$(openvswitch_external_id_all $dev)"
+
+ ovs-vsctl --timeout=30 -- --if-exists del-port $dev -- add-port "$bridge" $dev $tag_arg $trunk_arg $vif_details
+ ip link set $dev up
+}
+
+case "$command" in
+ add|online)
+ setup_virtual_bridge_port $dev
+ add_to_openvswitch $dev
+ ;;
+
+ offline)
+ ovs-vsctl --timeout=30 -- --if-exists del-port $dev
+ ;;
+esac
+
+if [ "$type_if" = vif ]; then
+ handle_iptable
+fi
+
+log debug "Successful vif-openvswitch $command for $dev."
+if [ "$typ...