cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajesh-battala <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1859: CLOUDSTACK - 8672 : NCC Integration with Clou...
Date Fri, 23 Dec 2016 10:15:03 GMT
Github user rajesh-battala commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1859#discussion_r93747990
  
    --- Diff: server/src/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java ---
    @@ -1157,14 +1222,28 @@ protected IpDeployer getIpDeployerForInlineMode(Network network)
{
                 return null;
             }
     
    -        ExternalLoadBalancerDeviceVO lbDeviceVO = getExternalLoadBalancerForNetwork(network);
    +        HostVO externalLoadBalancer = null;
    +
    +        if(isNccServiceProvider(network)) {
    +            externalLoadBalancer  = getNetScalerControlCenterForNetwork(network);
    +        } else {
    +            ExternalLoadBalancerDeviceVO lbDeviceVO = getExternalLoadBalancerForNetwork(network);
    +            if (lbDeviceVO == null) {
    +                s_logger.warn("There is no external load balancer device assigned to
this network either network is not implement are already shutdown so just returning");
    +                return null;
    +            } else {
    +                externalLoadBalancer = _hostDao.findById(lbDeviceVO.getHostId());
    +            }
    +        }
    +
    +/*        ExternalLoadBalancerDeviceVO lbDeviceVO = getExternalLoadBalancerForNetwork(network);
    --- End diff --
    
    Remove unused code


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message