cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From frankzh...@apache.org
Subject [1/3] git commit: updated refs/heads/master to 10544e2
Date Fri, 05 Sep 2014 23:24:22 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master c2c511efc -> 10544e287


CLOUDSTACK-6278
Baremetal Advanced Networking support


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

Branch: refs/heads/master
Commit: 197332464f1dac48f5b81732026f1d84dc3d1ac0
Parents: c301bd1
Author: Frank Zhang <frank.zhang@citrix.com>
Authored: Mon Aug 25 16:59:49 2014 -0700
Committer: Frank.Zhang <frank.zhang@citrix.com>
Committed: Fri Sep 5 16:28:33 2014 -0700

----------------------------------------------------------------------
 server/src/com/cloud/network/NetworkServiceImpl.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/19733246/server/src/com/cloud/network/NetworkServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkServiceImpl.java b/server/src/com/cloud/network/NetworkServiceImpl.java
index e161e3f..9a7bc48 100755
--- a/server/src/com/cloud/network/NetworkServiceImpl.java
+++ b/server/src/com/cloud/network/NetworkServiceImpl.java
@@ -3852,7 +3852,10 @@ public class NetworkServiceImpl extends ManagerBase implements  NetworkService
{
             addProviderToPhysicalNetwork(physicalNetworkId, "BaremetalDhcpProvider", null,
null);
             addProviderToPhysicalNetwork(physicalNetworkId, "BaremetalPxeProvider", null,
null);
             addProviderToPhysicalNetwork(physicalNetworkId, "BaremetalUserdataProvider",
null, null);
+        } else if (dvo.getNetworkType() == NetworkType.Advanced) {
+            addProviderToPhysicalNetwork(physicalNetworkId, "BaremetalPxeProvider", null,
null);
         }
+
         return null;
     }
 


Mime
View raw message