Skip to content

Commit c671eb2

Browse files
committed
Merge branch 'bugfix/CID-1249803'
2 parents f5353d3 + 0080905 commit c671eb2

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
import com.citrix.netscaler.nitro.resource.stat.lb.lbvserver_stats;
7373
import com.citrix.netscaler.nitro.service.nitro_service;
7474
import com.citrix.netscaler.nitro.util.filtervalue;
75-
import com.citrix.sdx.nitro.resource.config.mps.device_profile;
7675
import com.citrix.sdx.nitro.resource.config.mps.mps;
7776
import com.citrix.sdx.nitro.resource.config.ns.ns;
7877
import com.citrix.sdx.nitro.resource.config.xen.xen_nsvpx_image;
@@ -923,14 +922,6 @@ private synchronized Answer execute(CreateLoadBalancerApplianceCommand cmd, int
923922
ns_obj.set_throughput(new Double(1000));
924923
ns_obj.set_pps(new Double(1000000));
925924
ns_obj.set_number_of_ssl_cores(0);
926-
927-
// use the first device profile available on the SDX to create an instance of VPX
928-
device_profile[] profiles = device_profile.get(_netscalerSdxService);
929-
if (!(profiles != null && profiles.length >= 1)) {
930-
new Answer(cmd, new ExecutionException("Failed to create VPX instance on the netscaler SDX device " + _ip +
931-
" as there are no admin profile to use for creating VPX."));
932-
}
933-
String profileName = profiles[0].get_name();
934925
ns_obj.set_profile_name("ns_nsroot_profile");
935926

936927
// use the first VPX image of the available VPX images on the SDX to create an instance of VPX

0 commit comments

Comments
 (0)