cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [34/48] git commit: updated refs/heads/master to f1a6490
Date Mon, 06 Jul 2015 06:30:11 GMT
CLOUDSTACK-8252: Ignore VLAN 4095 which is n/a on linux

VLAN id 4095 is commonly used as a 'tag passthrough' in virtualization environments
(VMware, specifically). This vlan id is incompatible with Linux, but we can
allow the admin to manually configure the bridge if the same passthrough is
desired.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aee35c96
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aee35c96
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aee35c96

Branch: refs/heads/master
Commit: aee35c96a8157e36b1237dc537bb5b01e1657d61
Parents: 0120e90
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Fri May 22 13:22:40 2015 +0100
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Fri May 22 13:22:40 2015 +0100

----------------------------------------------------------------------
 scripts/vm/network/vnet/modifyvlan.sh | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aee35c96/scripts/vm/network/vnet/modifyvlan.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/network/vnet/modifyvlan.sh b/scripts/vm/network/vnet/modifyvlan.sh
index 021dfa2..24a38a1 100755
--- a/scripts/vm/network/vnet/modifyvlan.sh
+++ b/scripts/vm/network/vnet/modifyvlan.sh
@@ -167,6 +167,11 @@ then
    modprobe 8021q >& /dev/null
 fi
 
+if [ "$vlanId" -eq 4095 ]
+then
+    exit 0
+fi
+
 if [ "$op" == "add" ]
 then
 	# Add the vlan


Mime
View raw message