cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject [13/17] git commit: updated refs/heads/regionvpc to cf18fe1
Date Tue, 28 Jan 2014 09:26:44 GMT
enable ovs plug-in to support both StretchedL2Subnet and RegionLevelVpc
capabilities


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

Branch: refs/heads/regionvpc
Commit: f5bca336a1101ef7a403fe9dac40402014e817e1
Parents: a390a93
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Fri Jan 24 18:03:55 2014 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Mon Jan 27 14:45:23 2014 +0530

----------------------------------------------------------------------
 .../ovs/src/com/cloud/network/element/OvsElement.java          | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f5bca336/plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java b/plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java
index ea46f93..9b10adc 100644
--- a/plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java
+++ b/plugins/network-elements/ovs/src/com/cloud/network/element/OvsElement.java
@@ -246,7 +246,11 @@ public class OvsElement extends AdapterBase implements NetworkElement,
         Map<Service, Map<Capability, String>> capabilities = new HashMap<Service,
Map<Capability, String>>();
 
         // L2 Support : SDN provisioning
-        capabilities.put(Service.Connectivity, null);
+        Map<Capability, String> connectivityCapabilities = new HashMap<Capability,
String>();
+        connectivityCapabilities.put(Capability.StretchedL2Subnet, null);
+        connectivityCapabilities.put(Capability.RegionLevelVpc, null);
+        capabilities.put(Service.Connectivity, connectivityCapabilities);
+
 
         // L3 Support : Port Forwarding
         capabilities.put(Service.PortForwarding, null);


Mime
View raw message