cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [1/2] git commit: updated refs/heads/master to c671eb2
Date Wed, 29 Oct 2014 10:14:31 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master f5353d30f -> c671eb295


CID-1249803 Remove dead code

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

Branch: refs/heads/master
Commit: 0080905ad454850150669f9e166e938aafcc1086
Parents: f5353d3
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Wed Oct 29 11:10:41 2014 +0100
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Wed Oct 29 11:10:41 2014 +0100

----------------------------------------------------------------------
 .../src/com/cloud/network/resource/NetscalerResource.java   | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0080905a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
index d95ab88..fd8a310 100644
--- a/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
+++ b/plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java
@@ -72,7 +72,6 @@ import com.citrix.netscaler.nitro.resource.config.ssl.sslvserver_sslcertkey_bind
 import com.citrix.netscaler.nitro.resource.stat.lb.lbvserver_stats;
 import com.citrix.netscaler.nitro.service.nitro_service;
 import com.citrix.netscaler.nitro.util.filtervalue;
-import com.citrix.sdx.nitro.resource.config.mps.device_profile;
 import com.citrix.sdx.nitro.resource.config.mps.mps;
 import com.citrix.sdx.nitro.resource.config.ns.ns;
 import com.citrix.sdx.nitro.resource.config.xen.xen_nsvpx_image;
@@ -923,14 +922,6 @@ public class NetscalerResource implements ServerResource {
             ns_obj.set_throughput(new Double(1000));
             ns_obj.set_pps(new Double(1000000));
             ns_obj.set_number_of_ssl_cores(0);
-
-            // use the first device profile available on the SDX to create an instance of
VPX
-            device_profile[] profiles = device_profile.get(_netscalerSdxService);
-            if (!(profiles != null && profiles.length >= 1)) {
-                new Answer(cmd, new ExecutionException("Failed to create VPX instance on
the netscaler SDX device " + _ip +
-                        " as there are no admin profile to use for creating VPX."));
-            }
-            String profileName = profiles[0].get_name();
             ns_obj.set_profile_name("ns_nsroot_profile");
 
             // use the first VPX image of the available VPX images on the SDX to create an
instance of VPX


Mime
View raw message