Updated Branches: refs/heads/4.2 ce8a869a9 -> 58b981bd0
CLOUDSTACK-3777: IndexOutOfBoundsException while adding Cisco VNMc provider on a upgraded setup Isolation methods may not always be present for a physical network. So not using it while adding VNMC appliance Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/58b981bd Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/58b981bd Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/58b981bd Branch: refs/heads/4.2 Commit: 58b981bd033b25ae475b263949ce325c3fd91ceb Parents: ce8a869 Author: Koushik Das <[email protected]> Authored: Wed Jul 24 17:37:46 2013 +0530 Committer: Koushik Das <[email protected]> Committed: Wed Jul 24 17:45:03 2013 +0530 ---------------------------------------------------------------------- .../cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/58b981bd/plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java ---------------------------------------------------------------------- diff --git a/plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java b/plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java index 553325c..88ef66e 100644 --- a/plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java +++ b/plugins/network-elements/cisco-vnmc/src/com/cloud/network/element/CiscoVnmcElement.java @@ -549,7 +549,6 @@ public class CiscoVnmcElement extends AdapterBase implements SourceNatServicePro params.put("ip", cmd.getHost()); params.put("username", cmd.getUsername()); params.put("password", cmd.getPassword()); - params.put("transportzoneisotype", physicalNetwork.getIsolationMethods().get(0).toLowerCase()); // FIXME What to do with multiple isolation types Map<String, Object> hostdetails = new HashMap<String,Object>(); hostdetails.putAll(params);
