test_class.declarator: _networkExternalLBDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkExternalLoadBalancerDao _networkExternalLBDao;
test_class.type: NetworkExternalLoadBalancerDao
test_class.var_name: _networkExternalLBDao
test_class.declarator: _externalLoadBalancerDeviceDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ExternalLoadBalancerDeviceDao _externalLoadBalancerDeviceDao;
test_class.type: ExternalLoadBalancerDeviceDao
test_class.var_name: _externalLoadBalancerDeviceDao
test_class.declarator: _hostDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      HostDao _hostDao;
test_class.type: HostDao
test_class.var_name: _hostDao
test_class.declarator: _dcDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataCenterDao _dcDao;
test_class.type: DataCenterDao
test_class.var_name: _dcDao
test_class.declarator: _networkModel
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkModel _networkModel;
test_class.type: NetworkModel
test_class.var_name: _networkModel
test_class.declarator: _networkMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkOrchestrationService _networkMgr;
test_class.type: NetworkOrchestrationService
test_class.var_name: _networkMgr
test_class.declarator: _inlineLoadBalancerNicMapDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      InlineLoadBalancerNicMapDao _inlineLoadBalancerNicMapDao;
test_class.type: InlineLoadBalancerNicMapDao
test_class.var_name: _inlineLoadBalancerNicMapDao
test_class.declarator: _nicDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NicDao _nicDao;
test_class.type: NicDao
test_class.var_name: _nicDao
test_class.declarator: _agentMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      AgentManager _agentMgr;
test_class.type: AgentManager
test_class.var_name: _agentMgr
test_class.declarator: _resourceMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      ResourceManager _resourceMgr;
test_class.type: ResourceManager
test_class.var_name: _resourceMgr
test_class.declarator: _ipAddressDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      IPAddressDao _ipAddressDao;
test_class.type: IPAddressDao
test_class.var_name: _ipAddressDao
test_class.declarator: _vlanDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      VlanDao _vlanDao;
test_class.type: VlanDao
test_class.var_name: _vlanDao
test_class.declarator: _networkOfferingDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkOfferingDao _networkOfferingDao;
test_class.type: NetworkOfferingDao
test_class.var_name: _networkOfferingDao
test_class.declarator: _accountDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      AccountDao _accountDao;
test_class.type: AccountDao
test_class.var_name: _accountDao
test_class.declarator: _physicalNetworkDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      PhysicalNetworkDao _physicalNetworkDao;
test_class.type: PhysicalNetworkDao
test_class.var_name: _physicalNetworkDao
test_class.declarator: _physicalNetworkServiceProviderDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      PhysicalNetworkServiceProviderDao _physicalNetworkServiceProviderDao;
test_class.type: PhysicalNetworkServiceProviderDao
test_class.var_name: _physicalNetworkServiceProviderDao
test_class.declarator: _accountMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      AccountManager _accountMgr;
test_class.type: AccountManager
test_class.var_name: _accountMgr
test_class.declarator: _userStatsDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      UserStatisticsDao _userStatsDao;
test_class.type: UserStatisticsDao
test_class.var_name: _userStatsDao
test_class.declarator: _networkDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkDao _networkDao;
test_class.type: NetworkDao
test_class.var_name: _networkDao
test_class.declarator: _routerDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      DomainRouterDao _routerDao;
test_class.type: DomainRouterDao
test_class.var_name: _routerDao
test_class.declarator: _loadBalancerDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      LoadBalancerDao _loadBalancerDao;
test_class.type: LoadBalancerDao
test_class.var_name: _loadBalancerDao
test_class.declarator: _portForwardingRulesDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      PortForwardingRulesDao _portForwardingRulesDao;
test_class.type: PortForwardingRulesDao
test_class.var_name: _portForwardingRulesDao
test_class.declarator: _configDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ConfigurationDao _configDao;
test_class.type: ConfigurationDao
test_class.var_name: _configDao
test_class.declarator: _hostDetailDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      HostDetailsDao _hostDetailDao;
test_class.type: HostDetailsDao
test_class.var_name: _hostDetailDao
test_class.declarator: _networkLBDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkExternalLoadBalancerDao _networkLBDao;
test_class.type: NetworkExternalLoadBalancerDao
test_class.var_name: _networkLBDao
test_class.declarator: _ntwkSrvcProviderDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkServiceMapDao _ntwkSrvcProviderDao;
test_class.type: NetworkServiceMapDao
test_class.var_name: _ntwkSrvcProviderDao
test_class.declarator: _networkExternalFirewallDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      NetworkExternalFirewallDao _networkExternalFirewallDao;
test_class.type: NetworkExternalFirewallDao
test_class.var_name: _networkExternalFirewallDao
test_class.declarator: _externalFirewallDeviceDao
test_class.modifier: @Mock
test_class.original_string: @Mock
      ExternalFirewallDeviceDao _externalFirewallDeviceDao;
test_class.type: ExternalFirewallDeviceDao
test_class.var_name: _externalFirewallDeviceDao
test_class.declarator: _podDao = null
test_class.modifier: @Mock
      protected
test_class.original_string: @Mock
      protected HostPodDao _podDao = null;
test_class.type: HostPodDao
test_class.var_name: _podDao
test_class.declarator: _ipAddrMgr
test_class.modifier: @Mock
test_class.original_string: @Mock
      IpAddressManager _ipAddrMgr;
test_class.type: IpAddressManager
test_class.var_name: _ipAddrMgr
test_class.declarator: network
test_class.modifier: @Mock
test_class.original_string: @Mock
      Network network;
test_class.type: Network
test_class.var_name: network
test_class.declarator: rule
test_class.modifier: @Mock
test_class.original_string: @Mock
      LoadBalancingRule rule;
test_class.type: LoadBalancingRule
test_class.var_name: rule
test_class.declarator: externalLoadBalancerDeviceManager
test_class.original_string: ExternalLoadBalancerDeviceManagerImpl externalLoadBalancerDeviceManager;
test_class.type: ExternalLoadBalancerDeviceManagerImpl
test_class.var_name: externalLoadBalancerDeviceManager
test_class.file: server/src/test/java/com/cloud/network/ExternalLoadBalancerDeviceManagerImplTest.java
test_class.identifier: ExternalLoadBalancerDeviceManagerImplTest
test_case.body: @Test
      public void getLBHealthChecksNullAnswer() throws ResourceUnavailableException,
              URISyntaxException {
          setupLBHealthChecksMocks();
  
          Mockito.when(
                  _agentMgr.easySend(Mockito.anyLong(),
                          Mockito.any(Command.class))).thenReturn(null);
  
          Assert.assertNull(externalLoadBalancerDeviceManager
                  .getLBHealthChecks(network, Arrays.asList(rule)));
      }
test_case.class_method_signature: ExternalLoadBalancerDeviceManagerImplTest.getLBHealthChecksNullAnswer()
test_case.full_signature: @Test public void getLBHealthChecksNullAnswer()
test_case.identifier: getLBHealthChecksNullAnswer
test_case.invocations: setupLBHealthChecksMocks thenReturn when easySend anyLong any assertNull getLBHealthChecks asList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getLBHealthChecksNullAnswer()
focal_class.declarator: _networkExternalLBDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkExternalLoadBalancerDao _networkExternalLBDao;
focal_class.type: NetworkExternalLoadBalancerDao
focal_class.var_name: _networkExternalLBDao
focal_class.declarator: _externalLoadBalancerDeviceDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ExternalLoadBalancerDeviceDao _externalLoadBalancerDeviceDao;
focal_class.type: ExternalLoadBalancerDeviceDao
focal_class.var_name: _externalLoadBalancerDeviceDao
focal_class.declarator: _hostDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      HostDao _hostDao;
focal_class.type: HostDao
focal_class.var_name: _hostDao
focal_class.declarator: _dcDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      DataCenterDao _dcDao;
focal_class.type: DataCenterDao
focal_class.var_name: _dcDao
focal_class.declarator: _networkModel
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkModel _networkModel;
focal_class.type: NetworkModel
focal_class.var_name: _networkModel
focal_class.declarator: _networkMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkOrchestrationService _networkMgr;
focal_class.type: NetworkOrchestrationService
focal_class.var_name: _networkMgr
focal_class.declarator: _inlineLoadBalancerNicMapDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      InlineLoadBalancerNicMapDao _inlineLoadBalancerNicMapDao;
focal_class.type: InlineLoadBalancerNicMapDao
focal_class.var_name: _inlineLoadBalancerNicMapDao
focal_class.declarator: _nicDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NicDao _nicDao;
focal_class.type: NicDao
focal_class.var_name: _nicDao
focal_class.declarator: _agentMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      AgentManager _agentMgr;
focal_class.type: AgentManager
focal_class.var_name: _agentMgr
focal_class.declarator: _resourceMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ResourceManager _resourceMgr;
focal_class.type: ResourceManager
focal_class.var_name: _resourceMgr
focal_class.declarator: _ipAddressDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      IPAddressDao _ipAddressDao;
focal_class.type: IPAddressDao
focal_class.var_name: _ipAddressDao
focal_class.declarator: _vlanDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      VlanDao _vlanDao;
focal_class.type: VlanDao
focal_class.var_name: _vlanDao
focal_class.declarator: _networkOfferingDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkOfferingDao _networkOfferingDao;
focal_class.type: NetworkOfferingDao
focal_class.var_name: _networkOfferingDao
focal_class.declarator: _accountDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      AccountDao _accountDao;
focal_class.type: AccountDao
focal_class.var_name: _accountDao
focal_class.declarator: _physicalNetworkDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      PhysicalNetworkDao _physicalNetworkDao;
focal_class.type: PhysicalNetworkDao
focal_class.var_name: _physicalNetworkDao
focal_class.declarator: _physicalNetworkServiceProviderDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      PhysicalNetworkServiceProviderDao _physicalNetworkServiceProviderDao;
focal_class.type: PhysicalNetworkServiceProviderDao
focal_class.var_name: _physicalNetworkServiceProviderDao
focal_class.declarator: _accountMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      AccountManager _accountMgr;
focal_class.type: AccountManager
focal_class.var_name: _accountMgr
focal_class.declarator: _userStatsDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      UserStatisticsDao _userStatsDao;
focal_class.type: UserStatisticsDao
focal_class.var_name: _userStatsDao
focal_class.declarator: _networkDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkDao _networkDao;
focal_class.type: NetworkDao
focal_class.var_name: _networkDao
focal_class.declarator: _routerDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      DomainRouterDao _routerDao;
focal_class.type: DomainRouterDao
focal_class.var_name: _routerDao
focal_class.declarator: _loadBalancerDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      LoadBalancerDao _loadBalancerDao;
focal_class.type: LoadBalancerDao
focal_class.var_name: _loadBalancerDao
focal_class.declarator: _portForwardingRulesDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      PortForwardingRulesDao _portForwardingRulesDao;
focal_class.type: PortForwardingRulesDao
focal_class.var_name: _portForwardingRulesDao
focal_class.declarator: _configDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ConfigurationDao _configDao;
focal_class.type: ConfigurationDao
focal_class.var_name: _configDao
focal_class.declarator: _hostDetailDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      HostDetailsDao _hostDetailDao;
focal_class.type: HostDetailsDao
focal_class.var_name: _hostDetailDao
focal_class.declarator: _networkLBDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkExternalLoadBalancerDao _networkLBDao;
focal_class.type: NetworkExternalLoadBalancerDao
focal_class.var_name: _networkLBDao
focal_class.declarator: _ntwkSrvcProviderDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkServiceMapDao _ntwkSrvcProviderDao;
focal_class.type: NetworkServiceMapDao
focal_class.var_name: _ntwkSrvcProviderDao
focal_class.declarator: _networkExternalFirewallDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkExternalFirewallDao _networkExternalFirewallDao;
focal_class.type: NetworkExternalFirewallDao
focal_class.var_name: _networkExternalFirewallDao
focal_class.declarator: _externalFirewallDeviceDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ExternalFirewallDeviceDao _externalFirewallDeviceDao;
focal_class.type: ExternalFirewallDeviceDao
focal_class.var_name: _externalFirewallDeviceDao
focal_class.declarator: _podDao = null
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected HostPodDao _podDao = null;
focal_class.type: HostPodDao
focal_class.var_name: _podDao
focal_class.declarator: _ipAddrMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      IpAddressManager _ipAddrMgr;
focal_class.type: IpAddressManager
focal_class.var_name: _ipAddrMgr
focal_class.declarator: _defaultLbCapacity
focal_class.modifier: private
focal_class.original_string: private long _defaultLbCapacity;
focal_class.type: long
focal_class.var_name: _defaultLbCapacity
focal_class.declarator: s_logger = LoggerFactory.getLogger(ExternalLoadBalancerDeviceManagerImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger s_logger = LoggerFactory.getLogger(ExternalLoadBalancerDeviceManagerImpl.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.file: server/src/main/java/com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java
focal_class.identifier: ExternalLoadBalancerDeviceManagerImpl
focal_class.interfaces: implements ExternalLoadBalancerDeviceManager, ResourceStateAdapter
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.addExternalLoadBalancer(long physicalNetworkId, String url, String username, String password, final String deviceName,
          ServerResource resource, final boolean gslbProvider, final boolean exclusiveGslbProivider,
          final String gslbSitePublicIp, final String gslbSitePrivateIp)
focal_class.full_signature: @Override @DB public ExternalLoadBalancerDeviceVO addExternalLoadBalancer(long physicalNetworkId, String url, String username, String password, final String deviceName,
          ServerResource resource, final boolean gslbProvider, final boolean exclusiveGslbProivider,
          final String gslbSitePublicIp, final String gslbSitePrivateIp)
focal_class.identifier: addExternalLoadBalancer
focal_class.modifiers: @Override @DB public
focal_class.parameters: (long physicalNetworkId, String url, String username, String password, final String deviceName,
          ServerResource resource, final boolean gslbProvider, final boolean exclusiveGslbProivider,
          final String gslbSitePublicIp, final String gslbSitePrivateIp)
focal_class.return: ExternalLoadBalancerDeviceVO
focal_class.signature: ExternalLoadBalancerDeviceVO addExternalLoadBalancer(long physicalNetworkId, String url, String username, String password, final String deviceName,
          ServerResource resource, final boolean gslbProvider, final boolean exclusiveGslbProivider,
          final String gslbSitePublicIp, final String gslbSitePrivateIp)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.deleteExternalLoadBalancer(long hostId)
focal_class.full_signature: @Override public boolean deleteExternalLoadBalancer(long hostId)
focal_class.identifier: deleteExternalLoadBalancer
focal_class.modifiers: @Override public
focal_class.parameters: (long hostId)
focal_class.return: boolean
focal_class.signature: boolean deleteExternalLoadBalancer(long hostId)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.listExternalLoadBalancers(long physicalNetworkId, String deviceName)
focal_class.full_signature: @Override public List<Host> listExternalLoadBalancers(long physicalNetworkId, String deviceName)
focal_class.identifier: listExternalLoadBalancers
focal_class.modifiers: @Override public
focal_class.parameters: (long physicalNetworkId, String deviceName)
focal_class.return: List<Host>
focal_class.signature: List<Host> listExternalLoadBalancers(long physicalNetworkId, String deviceName)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.createExternalLoadBalancerResponse(Host externalLoadBalancer)
focal_class.full_signature: public ExternalLoadBalancerResponse createExternalLoadBalancerResponse(Host externalLoadBalancer)
focal_class.identifier: createExternalLoadBalancerResponse
focal_class.modifiers: public
focal_class.parameters: (Host externalLoadBalancer)
focal_class.return: ExternalLoadBalancerResponse
focal_class.signature: ExternalLoadBalancerResponse createExternalLoadBalancerResponse(Host externalLoadBalancer)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getExternalLoadBalancerResourceGuid(long physicalNetworkId, String deviceName, String ip)
focal_class.full_signature: public String getExternalLoadBalancerResourceGuid(long physicalNetworkId, String deviceName, String ip)
focal_class.identifier: getExternalLoadBalancerResourceGuid
focal_class.modifiers: public
focal_class.parameters: (long physicalNetworkId, String deviceName, String ip)
focal_class.return: String
focal_class.signature: String getExternalLoadBalancerResourceGuid(long physicalNetworkId, String deviceName, String ip)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getExternalLoadBalancerForNetwork(Network network)
focal_class.full_signature: @Override public ExternalLoadBalancerDeviceVO getExternalLoadBalancerForNetwork(Network network)
focal_class.identifier: getExternalLoadBalancerForNetwork
focal_class.modifiers: @Override public
focal_class.parameters: (Network network)
focal_class.return: ExternalLoadBalancerDeviceVO
focal_class.signature: ExternalLoadBalancerDeviceVO getExternalLoadBalancerForNetwork(Network network)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.setExternalLoadBalancerForNetwork(Network network, long externalLBDeviceID)
focal_class.full_signature: public void setExternalLoadBalancerForNetwork(Network network, long externalLBDeviceID)
focal_class.identifier: setExternalLoadBalancerForNetwork
focal_class.modifiers: public
focal_class.parameters: (Network network, long externalLBDeviceID)
focal_class.return: void
focal_class.signature: void setExternalLoadBalancerForNetwork(Network network, long externalLBDeviceID)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.allocateLoadBalancerForNetwork(final Network guestConfig)
focal_class.full_signature: @DB protected ExternalLoadBalancerDeviceVO allocateLoadBalancerForNetwork(final Network guestConfig)
focal_class.identifier: allocateLoadBalancerForNetwork
focal_class.modifiers: @DB protected
focal_class.parameters: (final Network guestConfig)
focal_class.return: ExternalLoadBalancerDeviceVO
focal_class.signature: ExternalLoadBalancerDeviceVO allocateLoadBalancerForNetwork(final Network guestConfig)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.findSuitableLoadBalancerForNetwork(Network network, boolean dedicatedLb)
focal_class.full_signature: @Override public ExternalLoadBalancerDeviceVO findSuitableLoadBalancerForNetwork(Network network, boolean dedicatedLb)
focal_class.identifier: findSuitableLoadBalancerForNetwork
focal_class.modifiers: @Override public
focal_class.parameters: (Network network, boolean dedicatedLb)
focal_class.return: ExternalLoadBalancerDeviceVO
focal_class.signature: ExternalLoadBalancerDeviceVO findSuitableLoadBalancerForNetwork(Network network, boolean dedicatedLb)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.freeLoadBalancerForNetwork(final Network guestConfig)
focal_class.full_signature: @DB protected boolean freeLoadBalancerForNetwork(final Network guestConfig)
focal_class.identifier: freeLoadBalancerForNetwork
focal_class.modifiers: @DB protected
focal_class.parameters: (final Network guestConfig)
focal_class.return: boolean
focal_class.signature: boolean freeLoadBalancerForNetwork(final Network guestConfig)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.applyStaticNatRuleForInlineLBRule(DataCenterVO zone, Network network, boolean revoked, String publicIp, String privateIp)
focal_class.full_signature: private void applyStaticNatRuleForInlineLBRule(DataCenterVO zone, Network network, boolean revoked, String publicIp, String privateIp)
focal_class.identifier: applyStaticNatRuleForInlineLBRule
focal_class.modifiers: private
focal_class.parameters: (DataCenterVO zone, Network network, boolean revoked, String publicIp, String privateIp)
focal_class.return: void
focal_class.signature: void applyStaticNatRuleForInlineLBRule(DataCenterVO zone, Network network, boolean revoked, String publicIp, String privateIp)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getLoadBalancingIpNic(DataCenterVO zone, Network network, long sourceIpId, boolean revoked, String existedGuestIp)
focal_class.full_signature: private MappingNic getLoadBalancingIpNic(DataCenterVO zone, Network network, long sourceIpId, boolean revoked, String existedGuestIp)
focal_class.identifier: getLoadBalancingIpNic
focal_class.modifiers: private
focal_class.parameters: (DataCenterVO zone, Network network, long sourceIpId, boolean revoked, String existedGuestIp)
focal_class.return: MappingNic
focal_class.signature: MappingNic getLoadBalancingIpNic(DataCenterVO zone, Network network, long sourceIpId, boolean revoked, String existedGuestIp)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.applyLoadBalancerRules(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.full_signature: @Override public boolean applyLoadBalancerRules(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.identifier: applyLoadBalancerRules
focal_class.modifiers: @Override public
focal_class.parameters: (Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.return: boolean
focal_class.signature: boolean applyLoadBalancerRules(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.manageGuestNetworkWithExternalLoadBalancer(boolean add, Network guestConfig)
focal_class.full_signature: @Override public boolean manageGuestNetworkWithExternalLoadBalancer(boolean add, Network guestConfig)
focal_class.identifier: manageGuestNetworkWithExternalLoadBalancer
focal_class.modifiers: @Override public
focal_class.parameters: (boolean add, Network guestConfig)
focal_class.return: boolean
focal_class.signature: boolean manageGuestNetworkWithExternalLoadBalancer(boolean add, Network guestConfig)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.configure(String name, Map<String, Object> params)
focal_class.full_signature: @Override public boolean configure(String name, Map<String, Object> params)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (String name, Map<String, Object> params)
focal_class.return: boolean
focal_class.signature: boolean configure(String name, Map<String, Object> params)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.start()
focal_class.full_signature: @Override public boolean start()
focal_class.identifier: start
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean start()
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.stop()
focal_class.full_signature: @Override public boolean stop()
focal_class.identifier: stop
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean stop()
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.createHostVOForConnectedAgent(HostVO host, StartupCommand[] cmd)
focal_class.full_signature: @Override public HostVO createHostVOForConnectedAgent(HostVO host, StartupCommand[] cmd)
focal_class.identifier: createHostVOForConnectedAgent
focal_class.modifiers: @Override public
focal_class.parameters: (HostVO host, StartupCommand[] cmd)
focal_class.return: HostVO
focal_class.signature: HostVO createHostVOForConnectedAgent(HostVO host, StartupCommand[] cmd)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.createHostVOForDirectConnectAgent(HostVO host, StartupCommand[] startup, ServerResource resource, Map<String, String> details, List<String> hostTags)
focal_class.full_signature: @Override public HostVO createHostVOForDirectConnectAgent(HostVO host, StartupCommand[] startup, ServerResource resource, Map<String, String> details, List<String> hostTags)
focal_class.identifier: createHostVOForDirectConnectAgent
focal_class.modifiers: @Override public
focal_class.parameters: (HostVO host, StartupCommand[] startup, ServerResource resource, Map<String, String> details, List<String> hostTags)
focal_class.return: HostVO
focal_class.signature: HostVO createHostVOForDirectConnectAgent(HostVO host, StartupCommand[] startup, ServerResource resource, Map<String, String> details, List<String> hostTags)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.deleteHost(HostVO host, boolean isForced, boolean isForceDeleteStorage)
focal_class.full_signature: @Override public DeleteHostAnswer deleteHost(HostVO host, boolean isForced, boolean isForceDeleteStorage)
focal_class.identifier: deleteHost
focal_class.modifiers: @Override public
focal_class.parameters: (HostVO host, boolean isForced, boolean isForceDeleteStorage)
focal_class.return: DeleteHostAnswer
focal_class.signature: DeleteHostAnswer deleteHost(HostVO host, boolean isForced, boolean isForceDeleteStorage)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getIpDeployerForInlineMode(Network network)
focal_class.full_signature: protected IpDeployer getIpDeployerForInlineMode(Network network)
focal_class.identifier: getIpDeployerForInlineMode
focal_class.modifiers: protected
focal_class.parameters: (Network network)
focal_class.return: IpDeployer
focal_class.signature: IpDeployer getIpDeployerForInlineMode(Network network)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.full_signature: @Override public List<LoadBalancerTO> getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.identifier: getLBHealthChecks
focal_class.modifiers: @Override public
focal_class.parameters: (Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.return: List<LoadBalancerTO>
focal_class.signature: List<LoadBalancerTO> getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_class.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getPlaceholderNic(Network network)
focal_class.full_signature: private NicVO getPlaceholderNic(Network network)
focal_class.identifier: getPlaceholderNic
focal_class.modifiers: private
focal_class.parameters: (Network network)
focal_class.return: NicVO
focal_class.signature: NicVO getPlaceholderNic(Network network)
focal_class.superclass: extends AdapterBase
focal_method.body: @Override
      public List<LoadBalancerTO> getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules) throws ResourceUnavailableException {
  
          // Find the external load balancer in this zone
          long zoneId = network.getDataCenterId();
          DataCenterVO zone = _dcDao.findById(zoneId);
  
          if (loadBalancingRules == null || loadBalancingRules.isEmpty()) {
              return null;
          }
  
          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;
          }
  
          HostVO externalLoadBalancer = _hostDao.findById(lbDeviceVO.getHostId());
  
          boolean externalLoadBalancerIsInline = _networkMgr.isNetworkInlineMode(network);
  
          if (network.getState() == Network.State.Allocated) {
              s_logger.debug("External load balancer was asked to apply LB rules for network with ID " + network.getId() +
                  "; this network is not implemented. Skipping backend commands.");
              return null;
          }
  
          List<LoadBalancerTO> loadBalancersToApply = new ArrayList<LoadBalancerTO>();
          List<MappingState> mappingStates = new ArrayList<MappingState>();
          for (final LoadBalancingRule rule : loadBalancingRules) {
              boolean revoked = (FirewallRule.State.Revoke.equals(rule.getState()));
              String protocol = rule.getProtocol();
              String algorithm = rule.getAlgorithm();
              String uuid = rule.getUuid();
              String srcIp = rule.getSourceIp().addr();
              int srcPort = rule.getSourcePortStart();
              List<LbDestination> destinations = rule.getDestinations();
  
              if (externalLoadBalancerIsInline) {
                  long sourceIpId = _networkModel.getPublicIpAddress(rule.getSourceIp().addr(), network.getDataCenterId()).getId();
                  MappingNic nic = getLoadBalancingIpNic(zone, network, sourceIpId, revoked, null);
                  mappingStates.add(nic.getState());
                  Nic loadBalancingIpNic = nic.getNic();
                  if (loadBalancingIpNic == null) {
                      continue;
                  }
  
                  // Change the source IP address for the load balancing rule to
                  // be the load balancing IP address
                  srcIp = loadBalancingIpNic.getIPv4Address();
              }
  
              if ((destinations != null && !destinations.isEmpty()) || !rule.isAutoScaleConfig()) {
                  boolean inline = _networkMgr.isNetworkInlineMode(network);
                  LoadBalancerTO loadBalancer =
                      new LoadBalancerTO(uuid, srcIp, srcPort, protocol, algorithm, revoked, false, inline, destinations, rule.getStickinessPolicies(),
                          rule.getHealthCheckPolicies(), rule.getLbSslCert(), rule.getLbProtocol());
                  loadBalancersToApply.add(loadBalancer);
              }
          }
  
          try {
              if (loadBalancersToApply.size() > 0) {
                  int numLoadBalancersForCommand = loadBalancersToApply.size();
                  LoadBalancerTO[] loadBalancersForCommand = loadBalancersToApply.toArray(new LoadBalancerTO[numLoadBalancersForCommand]);
                  // LoadBalancerConfigCommand cmd = new
                  // LoadBalancerConfigCommand(loadBalancersForCommand, null);
                  HealthCheckLBConfigCommand cmd = new HealthCheckLBConfigCommand(loadBalancersForCommand);
                  long guestVlanTag = Integer.parseInt(BroadcastDomainType.getValue(network.getBroadcastUri()));
                  cmd.setAccessDetail(NetworkElementCommand.GUEST_VLAN_TAG, String.valueOf(guestVlanTag));
  
                  HealthCheckLBConfigAnswer answer = (HealthCheckLBConfigAnswer) _agentMgr
                          .easySend(externalLoadBalancer.getId(), cmd);
                  // easySend will return null on error
                  return answer == null ? null : answer.getLoadBalancers();
              }
          } catch (Exception ex) {
              s_logger.error("Exception Occured ", ex);
          }
          //null return is handled by clients
          return null;
      }
focal_method.class_method_signature: ExternalLoadBalancerDeviceManagerImpl.getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_method.full_signature: @Override public List<LoadBalancerTO> getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)
focal_method.identifier: getLBHealthChecks
focal_method.invocations: getDataCenterId findById isEmpty getExternalLoadBalancerForNetwork warn findById getHostId isNetworkInlineMode getState debug getId equals getState getProtocol getAlgorithm getUuid addr getSourceIp getSourcePortStart getDestinations getId getPublicIpAddress addr getSourceIp getDataCenterId getLoadBalancingIpNic add getState getNic getIPv4Address isEmpty isAutoScaleConfig isNetworkInlineMode getStickinessPolicies getHealthCheckPolicies getLbSslCert getLbProtocol add size size toArray parseInt getValue getBroadcastUri setAccessDetail valueOf easySend getId getLoadBalancers error
focal_method.modifiers: @Override public
focal_method.parameters: (Network network, List<LoadBalancingRule> loadBalancingRules)
focal_method.return: List<LoadBalancerTO>
focal_method.signature: List<LoadBalancerTO> getLBHealthChecks(Network network, List<LoadBalancingRule> loadBalancingRules)