Displaying 3 results from an estimated 3 matches for "add_to_openvswitch".
2024 Mar 19
2
Bug#1067151: xen-utils-common: vif-openvswitch ignores MTU
...: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
#============================================================================
# ${XEN_SCRIPT_DIR}/vif-openvswitch
#
# Script for configuring a vif i...
2012 Sep 13
0
[RFC] openvswitch support script
...me" "$name"
local uuid=$(xenstore_read "${vm_path}/uuid")
openvswitch_external_id $dev "xen-vm-uuid" "$uuid"
local mac=$(xenstore_read "$XENBUS_PATH/mac")
openvswitch_external_id $dev "attached-mac" "$mac"
}
add_to_openvswitch () {
local dev=$1
local bridge="$(xenstore_read_default "$XENBUS_PATH/bridge" "$bridge")"
local tag trunk
if [[ $bridge =~ ^([^.:]+)(\.([[:digit:]]+))?(:([[:digit:]]+(:[[:digit:]]+)*))?$ ]]; then
bridge="${BASH_REMATCH[1]}"
ta...
2013 Apr 18
10
[PATCH] hotplug: add openvswitch script
...; "$name"
+ local uuid=$(xenstore_read "${vm_path}/uuid")
+ openvswitch_external_id $dev "xen-vm-uuid" "$uuid"
+ local mac=$(xenstore_read "$XENBUS_PATH/mac")
+ openvswitch_external_id $dev "attached-mac" "$mac"
+}
+
+add_to_openvswitch () {
+ local dev=$1
+ local bridge="$(xenstore_read_default "$XENBUS_PATH/bridge" "$bridge")"
+ local tag trunk
+
+ if [[ $bridge =~ ^([^.:]+)(\.([[:digit:]]+))?(:([[:digit:]]+(:[[:digit:]]+)*))?$ ]]; then
+ bridge="${BASH_REMATCH[1]}"
+...