cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke4...@apache.org
Subject [32/50] git commit: CS-14929: Exception while creating a port forwarding rule on an acquired ip CS-14943: Unable to deploy VM due to Unable to identify the provider by name CiscoNexus1000vVSM
Date Sun, 27 May 2012 22:30:44 GMT
CS-14929: Exception while creating a port forwarding rule on an acquired ip
CS-14943: Unable to deploy VM due to Unable to identify the provider by name CiscoNexus1000vVSM

Description:

	Ignore the CiscoNexus1000vVSM provider when checking for
	providers when applying port forwarding rules.


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

Branch: refs/heads/master
Commit: b793c4c0fe56244eed7fd40a78e53c28090c661d
Parents: 49673d7
Author: Vijayendra Bhamidipati <vijayendra.bhamidipati@citrix.com>
Authored: Wed May 16 13:04:57 2012 -0700
Committer: Vijayendra Bhamidipati <vijayendra.bhamidipati@citrix.com>
Committed: Fri May 25 18:04:46 2012 -0700

----------------------------------------------------------------------
 .../src/com/cloud/network/NetworkManagerImpl.java  |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b793c4c0/server/src/com/cloud/network/NetworkManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkManagerImpl.java b/server/src/com/cloud/network/NetworkManagerImpl.java
index 96f9fda..2d8038c 100755
--- a/server/src/com/cloud/network/NetworkManagerImpl.java
+++ b/server/src/com/cloud/network/NetworkManagerImpl.java
@@ -3246,7 +3246,8 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService,
Manag
         for (NetworkElement ne : _networkElements) {
             Provider provider = Network.Provider.getProvider(ne.getName());
             if (provider == null) {
-                if (ne.getName().equalsIgnoreCase("Ovs") || ne.getName().equalsIgnoreCase("BareMetal"))
{
+                if (ne.getName().equalsIgnoreCase("Ovs") || ne.getName().equalsIgnoreCase("BareMetal")
+                		|| ne.getName().equalsIgnoreCase("CiscoNexus1000vVSM")) {
                     continue;
                 }
                 throw new CloudRuntimeException("Unable to identify the provider by name
" + ne.getName());


Mime
View raw message