[ovs-discuss] [citrix integration 2/3] xenserver: Log attempts to enable promiscuous mode for bridge ports on vif plug.
Ben Pfaff
blp at nicira.com
Thu Aug 6 21:31:05 UTC 2009
From: Ian Campbell <Ian.Campbell at citrix.com>
This functionality is replaced by vSwitch support for SPAN/RSPAN.
CP-1148.
---
xenserver/etc_xensource_scripts_vif | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif
index fb7517a..c3baba9 100755
--- a/xenserver/etc_xensource_scripts_vif
+++ b/xenserver/etc_xensource_scripts_vif
@@ -31,8 +31,8 @@ handle_promiscuous()
local arg=$(xenstore-read "${PRIVATE}/other-config/promiscuous")
if [ $? -eq 0 -a -n "${arg}" ] ; then
case "${arg}" in
- true|on) echo 1 > /sys/class/net/${vif}/brport/promisc ;;
- *) echo 0 > /sys/class/net/${vif}/brport/promisc ;;
+ true|on) logger -t script-vif "${vif}: Promiscuous ports are not supported via vSwitch." ;;
+ *) ;;
esac
fi
}
--
1.6.3.3
More information about the discuss
mailing list