test_class.declarator: _clusterDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private ClusterDao _clusterDao;
test_class.type: ClusterDao
test_class.var_name: _clusterDao
test_class.declarator: _configDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private ConfigurationDao _configDao;
test_class.type: ConfigurationDao
test_class.var_name: _configDao
test_class.declarator: _dcDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private DataCenterDao _dcDao;
test_class.type: DataCenterDao
test_class.var_name: _dcDao
test_class.declarator: _guestOSDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private GuestOSDao _guestOSDao;
test_class.type: GuestOSDao
test_class.var_name: _guestOSDao
test_class.declarator: _hostDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private HostDao _hostDao;
test_class.type: HostDao
test_class.var_name: _hostDao
test_class.declarator: _ipAddressDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private IPAddressDao _ipAddressDao;
test_class.type: IPAddressDao
test_class.var_name: _ipAddressDao
test_class.declarator: _ipv6Dao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserIpv6AddressDao _ipv6Dao;
test_class.type: UserIpv6AddressDao
test_class.var_name: _ipv6Dao
test_class.declarator: _loadBalancerDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private LoadBalancerDao _loadBalancerDao;
test_class.type: LoadBalancerDao
test_class.var_name: _loadBalancerDao
test_class.declarator: _loadBalancerVMMapDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private LoadBalancerVMMapDao _loadBalancerVMMapDao;
test_class.type: LoadBalancerVMMapDao
test_class.var_name: _loadBalancerVMMapDao
test_class.declarator: _monitorServiceDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private MonitoringServiceDao _monitorServiceDao;
test_class.type: MonitoringServiceDao
test_class.var_name: _monitorServiceDao
test_class.declarator: _msHostDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private ManagementServerHostDao _msHostDao;
test_class.type: ManagementServerHostDao
test_class.var_name: _msHostDao
test_class.declarator: _networkDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkDao _networkDao;
test_class.type: NetworkDao
test_class.var_name: _networkDao
test_class.declarator: _networkOfferingDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkOfferingDao _networkOfferingDao;
test_class.type: NetworkOfferingDao
test_class.var_name: _networkOfferingDao
test_class.declarator: _nicDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private NicDao _nicDao;
test_class.type: NicDao
test_class.var_name: _nicDao
test_class.declarator: _nicIpAliasDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private NicIpAliasDao _nicIpAliasDao;
test_class.type: NicIpAliasDao
test_class.var_name: _nicIpAliasDao
test_class.declarator: _opRouterMonitorServiceDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private OpRouterMonitorServiceDao _opRouterMonitorServiceDao;
test_class.type: OpRouterMonitorServiceDao
test_class.var_name: _opRouterMonitorServiceDao
test_class.declarator: _pfRulesDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private PortForwardingRulesDao _pfRulesDao;
test_class.type: PortForwardingRulesDao
test_class.var_name: _pfRulesDao
test_class.declarator: _physicalProviderDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private PhysicalNetworkServiceProviderDao _physicalProviderDao;
test_class.type: PhysicalNetworkServiceProviderDao
test_class.var_name: _physicalProviderDao
test_class.declarator: _podDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private HostPodDao _podDao;
test_class.type: HostPodDao
test_class.var_name: _podDao
test_class.declarator: _routerDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private DomainRouterDao _routerDao;
test_class.type: DomainRouterDao
test_class.var_name: _routerDao
test_class.declarator: _rulesDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private FirewallRulesDao _rulesDao;
test_class.type: FirewallRulesDao
test_class.var_name: _rulesDao
test_class.declarator: _s2sCustomerGatewayDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private Site2SiteCustomerGatewayDao _s2sCustomerGatewayDao;
test_class.type: Site2SiteCustomerGatewayDao
test_class.var_name: _s2sCustomerGatewayDao
test_class.declarator: _s2sVpnConnectionDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private Site2SiteVpnConnectionDao _s2sVpnConnectionDao;
test_class.type: Site2SiteVpnConnectionDao
test_class.var_name: _s2sVpnConnectionDao
test_class.declarator: _s2sVpnGatewayDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private Site2SiteVpnGatewayDao _s2sVpnGatewayDao;
test_class.type: Site2SiteVpnGatewayDao
test_class.var_name: _s2sVpnGatewayDao
test_class.declarator: _serviceOfferingDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private ServiceOfferingDao _serviceOfferingDao;
test_class.type: ServiceOfferingDao
test_class.var_name: _serviceOfferingDao
test_class.declarator: _templateDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VMTemplateDao _templateDao;
test_class.type: VMTemplateDao
test_class.var_name: _templateDao
test_class.declarator: _userDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserDao _userDao;
test_class.type: UserDao
test_class.var_name: _userDao
test_class.declarator: _userStatsDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserStatisticsDao _userStatsDao;
test_class.type: UserStatisticsDao
test_class.var_name: _userStatsDao
test_class.declarator: _userStatsLogDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserStatsLogDao _userStatsLogDao;
test_class.type: UserStatsLogDao
test_class.var_name: _userStatsLogDao
test_class.declarator: _userVmDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserVmDao _userVmDao;
test_class.type: UserVmDao
test_class.var_name: _userVmDao
test_class.declarator: _vlanDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VlanDao _vlanDao;
test_class.type: VlanDao
test_class.var_name: _vlanDao
test_class.declarator: _vmDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VMInstanceDao _vmDao;
test_class.type: VMInstanceDao
test_class.var_name: _vmDao
test_class.declarator: _vmDetailsDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserVmDetailsDao _vmDetailsDao;
test_class.type: UserVmDetailsDao
test_class.var_name: _vmDetailsDao
test_class.declarator: _volumeDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VolumeDao _volumeDao;
test_class.type: VolumeDao
test_class.var_name: _volumeDao
test_class.declarator: _vpnDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private RemoteAccessVpnDao _vpnDao;
test_class.type: RemoteAccessVpnDao
test_class.var_name: _vpnDao
test_class.declarator: _vpnUsersDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VpnUserDao _vpnUsersDao;
test_class.type: VpnUserDao
test_class.var_name: _vpnUsersDao
test_class.declarator: _vrProviderDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private VirtualRouterProviderDao _vrProviderDao;
test_class.type: VirtualRouterProviderDao
test_class.var_name: _vrProviderDao
test_class.declarator: _lbDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private LoadBalancerDao _lbDao;
test_class.type: LoadBalancerDao
test_class.var_name: _lbDao
test_class.declarator: _networksDao
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkDao _networksDao;
test_class.type: NetworkDao
test_class.var_name: _networksDao
test_class.declarator: _offering
test_class.modifier: @Mock private
test_class.original_string: @Mock private ServiceOfferingVO _offering;
test_class.type: ServiceOfferingVO
test_class.var_name: _offering
test_class.declarator: _networkModel
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkModelImpl _networkModel;
test_class.type: NetworkModelImpl
test_class.var_name: _networkModel
test_class.declarator: _accountMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private AccountManager _accountMgr;
test_class.type: AccountManager
test_class.var_name: _accountMgr
test_class.declarator: _configMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private ConfigurationManager _configMgr;
test_class.type: ConfigurationManager
test_class.var_name: _configMgr
test_class.declarator: _networkMdl
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkModel _networkMdl;
test_class.type: NetworkModel
test_class.var_name: _networkMdl
test_class.declarator: _networkMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private NetworkOrchestrationService _networkMgr;
test_class.type: NetworkOrchestrationService
test_class.var_name: _networkMgr
test_class.declarator: _resourceMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private ResourceManager _resourceMgr;
test_class.type: ResourceManager
test_class.var_name: _resourceMgr
test_class.declarator: _userVmMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private UserVmManager _userVmMgr;
test_class.type: UserVmManager
test_class.var_name: _userVmMgr
test_class.declarator: _itMgr
test_class.modifier: @Mock private
test_class.original_string: @Mock private VirtualMachineManager _itMgr;
test_class.type: VirtualMachineManager
test_class.var_name: _itMgr
test_class.declarator: routerDeploymentDefinitionBuilder
test_class.modifier: @InjectMocks
    private
test_class.original_string: @InjectMocks
    private RouterDeploymentDefinitionBuilder routerDeploymentDefinitionBuilder;
test_class.type: RouterDeploymentDefinitionBuilder
test_class.var_name: routerDeploymentDefinitionBuilder
test_class.declarator: _routerMgr
test_class.modifier: @InjectMocks
    private
test_class.original_string: @InjectMocks
    private VpcVirtualNetworkApplianceManagerImpl _routerMgr;
test_class.type: VpcVirtualNetworkApplianceManagerImpl
test_class.var_name: _routerMgr
test_class.declarator: virtualRouterElement
test_class.modifier: @InjectMocks
    private
test_class.original_string: @InjectMocks
    private VirtualRouterElement virtualRouterElement;
test_class.type: VirtualRouterElement
test_class.var_name: virtualRouterElement
test_class.declarator: testDataCenter = new DataCenterVO(/* id */ 1L,
        "name",
        "description",
        "dns1",
        /* dns2 */ null,
        /* dns3 */ null,
        /* dns4 */ null,
        "cidr",
        "domain",
        /*domainid */ null,
        NetworkType.Advanced,
        "zoneToken",
        "domainSuffix")
test_class.original_string: DataCenter testDataCenter = new DataCenterVO(/* id */ 1L,
        "name",
        "description",
        "dns1",
        /* dns2 */ null,
        /* dns3 */ null,
        /* dns4 */ null,
        "cidr",
        "domain",
        /*domainid */ null,
        NetworkType.Advanced,
        "zoneToken",
        "domainSuffix");
test_class.type: DataCenter
test_class.var_name: testDataCenter
test_class.declarator: testDestination = new DeployDestination(testDataCenter,null,null,null)
test_class.original_string: DeployDestination testDestination = new DeployDestination(testDataCenter,null,null,null);
test_class.type: DeployDestination
test_class.var_name: testDestination
test_class.declarator: testContext = new ReservationContextImpl(null, null, null)
test_class.original_string: ReservationContext testContext = new ReservationContextImpl(null, null, null);
test_class.type: ReservationContext
test_class.var_name: testContext
test_class.declarator: testNetwork = new NetworkVO()
test_class.original_string: NetworkVO testNetwork = new NetworkVO();
test_class.type: NetworkVO
test_class.var_name: testNetwork
test_class.declarator: testNicProfile = new NicProfile()
test_class.original_string: NicProfile testNicProfile = new NicProfile();
test_class.type: NicProfile
test_class.var_name: testNicProfile
test_class.declarator: testOffering = new NetworkOfferingVO()
test_class.original_string: NetworkOfferingVO testOffering = new NetworkOfferingVO();
test_class.type: NetworkOfferingVO
test_class.var_name: testOffering
test_class.declarator: testVMProfile
test_class.modifier: @Mock
test_class.original_string: @Mock VirtualMachineProfile testVMProfile;
test_class.type: VirtualMachineProfile
test_class.var_name: testVMProfile
test_class.file: server/src/test/java/com/cloud/network/element/VirtualRouterElementTest.java
test_class.identifier: VirtualRouterElementTest
test_case.body: @Test
    @Ignore("Ignore it until it's fixed in order not to brake the build")
    public void testImplementInAdvancedZoneOnXenServer() throws Exception {
      virtualRouterElement._routerMgr = _routerMgr;
      mockDAOs(testNetwork, testOffering);
      mockMgrs();
  
      final boolean done = virtualRouterElement.implement(testNetwork, testOffering, testDestination, testContext);
      assertTrue("no cigar for network daddy",done);
    }
test_case.class_method_signature: VirtualRouterElementTest.testImplementInAdvancedZoneOnXenServer()
test_case.full_signature: @Test @Ignore("Ignore it until it's fixed in order not to brake the build") public void testImplementInAdvancedZoneOnXenServer()
test_case.identifier: testImplementInAdvancedZoneOnXenServer
test_case.invocations: mockDAOs mockMgrs implement assertTrue
test_case.modifiers: @Test @Ignore("Ignore it until it's fixed in order not to brake the build") public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testImplementInAdvancedZoneOnXenServer()
focal_class.declarator: s_logger = LoggerFactory.getLogger(VirtualRouterElement.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger s_logger = LoggerFactory.getLogger(VirtualRouterElement.class);
focal_class.type: Logger
focal_class.var_name: s_logger
focal_class.declarator: AutoScaleCounterCpu = new AutoScaleCounterType("cpu")
focal_class.modifier: public static final
focal_class.original_string: public static final AutoScaleCounterType AutoScaleCounterCpu = new AutoScaleCounterType("cpu");
focal_class.type: AutoScaleCounterType
focal_class.var_name: AutoScaleCounterCpu
focal_class.declarator: AutoScaleCounterMemory = new AutoScaleCounterType("memory")
focal_class.modifier: public static final
focal_class.original_string: public static final AutoScaleCounterType AutoScaleCounterMemory = new AutoScaleCounterType("memory");
focal_class.type: AutoScaleCounterType
focal_class.var_name: AutoScaleCounterMemory
focal_class.declarator: capabilities = setCapabilities()
focal_class.modifier: protected static final
focal_class.original_string: protected static final Map<Service, Map<Capability, String>> capabilities = setCapabilities();
focal_class.type: Map<Service, Map<Capability, String>>
focal_class.var_name: capabilities
focal_class.declarator: _networksDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkDao _networksDao;
focal_class.type: NetworkDao
focal_class.var_name: _networksDao
focal_class.declarator: _networkMdl
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkModel _networkMdl;
focal_class.type: NetworkModel
focal_class.var_name: _networkMdl
focal_class.declarator: _lbMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      LoadBalancingRulesManager _lbMgr;
focal_class.type: LoadBalancingRulesManager
focal_class.var_name: _lbMgr
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: _routerMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      VpcVirtualNetworkApplianceManager _routerMgr;
focal_class.type: VpcVirtualNetworkApplianceManager
focal_class.var_name: _routerMgr
focal_class.declarator: _configMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      ConfigurationManager _configMgr;
focal_class.type: ConfigurationManager
focal_class.var_name: _configMgr
focal_class.declarator: _rulesMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      RulesManager _rulesMgr;
focal_class.type: RulesManager
focal_class.var_name: _rulesMgr
focal_class.declarator: _userVmMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      UserVmManager _userVmMgr;
focal_class.type: UserVmManager
focal_class.var_name: _userVmMgr
focal_class.declarator: _userVmDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      UserVmDao _userVmDao;
focal_class.type: UserVmDao
focal_class.var_name: _userVmDao
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: _lbDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      LoadBalancerDao _lbDao;
focal_class.type: LoadBalancerDao
focal_class.var_name: _lbDao
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: _accountMgr
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      AccountManager _accountMgr;
focal_class.type: AccountManager
focal_class.var_name: _accountMgr
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: _vrProviderDao
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      VirtualRouterProviderDao _vrProviderDao;
focal_class.type: VirtualRouterProviderDao
focal_class.var_name: _vrProviderDao
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: _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: networkTopologyContext
focal_class.modifier: @Inject
focal_class.original_string: @Inject
      NetworkTopologyContext networkTopologyContext;
focal_class.type: NetworkTopologyContext
focal_class.var_name: networkTopologyContext
focal_class.declarator: routerDeploymentDefinitionBuilder
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected RouterDeploymentDefinitionBuilder routerDeploymentDefinitionBuilder;
focal_class.type: RouterDeploymentDefinitionBuilder
focal_class.var_name: routerDeploymentDefinitionBuilder
focal_class.file: server/src/main/java/com/cloud/network/element/VirtualRouterElement.java
focal_class.identifier: VirtualRouterElement
focal_class.interfaces: implements VirtualRouterElementService, DhcpServiceProvider, UserDataServiceProvider, SourceNatServiceProvider,
          StaticNatServiceProvider, FirewallServiceProvider, LoadBalancingServiceProvider, PortForwardingServiceProvider, RemoteAccessVPNServiceProvider, IpDeployer,
          NetworkMigrationResponder, AggregatedCommandExecutor
focal_class.class_method_signature: VirtualRouterElement.canHandle(final Network network, final Service service)
focal_class.full_signature: protected boolean canHandle(final Network network, final Service service)
focal_class.identifier: canHandle
focal_class.modifiers: protected
focal_class.parameters: (final Network network, final Service service)
focal_class.return: boolean
focal_class.signature: boolean canHandle(final Network network, final Service service)
focal_class.class_method_signature: VirtualRouterElement.implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_class.full_signature: @Override public boolean implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_class.identifier: implement
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.prepare(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.full_signature: @Override public boolean prepare(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.identifier: prepare
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean prepare(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.applyFWRules(final Network network, final List<? extends FirewallRule> rules)
focal_class.full_signature: @Override public boolean applyFWRules(final Network network, final List<? extends FirewallRule> rules)
focal_class.identifier: applyFWRules
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<? extends FirewallRule> rules)
focal_class.return: boolean
focal_class.signature: boolean applyFWRules(final Network network, final List<? extends FirewallRule> rules)
focal_class.class_method_signature: VirtualRouterElement.containsOnlyNumbers(final String str, final String endChar)
focal_class.full_signature: private static boolean containsOnlyNumbers(final String str, final String endChar)
focal_class.identifier: containsOnlyNumbers
focal_class.modifiers: private static
focal_class.parameters: (final String str, final String endChar)
focal_class.return: boolean
focal_class.signature: boolean containsOnlyNumbers(final String str, final String endChar)
focal_class.class_method_signature: VirtualRouterElement.validateHAProxyLBRule(final LoadBalancingRule rule)
focal_class.full_signature: public static boolean validateHAProxyLBRule(final LoadBalancingRule rule)
focal_class.identifier: validateHAProxyLBRule
focal_class.modifiers: public static
focal_class.parameters: (final LoadBalancingRule rule)
focal_class.return: boolean
focal_class.signature: boolean validateHAProxyLBRule(final LoadBalancingRule rule)
focal_class.class_method_signature: VirtualRouterElement.validateLBRule(final Network network, final LoadBalancingRule rule)
focal_class.full_signature: @Override public boolean validateLBRule(final Network network, final LoadBalancingRule rule)
focal_class.identifier: validateLBRule
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final LoadBalancingRule rule)
focal_class.return: boolean
focal_class.signature: boolean validateLBRule(final Network network, final LoadBalancingRule rule)
focal_class.class_method_signature: VirtualRouterElement.applyLBRules(final Network network, final List<LoadBalancingRule> rules)
focal_class.full_signature: @Override public boolean applyLBRules(final Network network, final List<LoadBalancingRule> rules)
focal_class.identifier: applyLBRules
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<LoadBalancingRule> rules)
focal_class.return: boolean
focal_class.signature: boolean applyLBRules(final Network network, final List<LoadBalancingRule> rules)
focal_class.class_method_signature: VirtualRouterElement.applyVpnUsers(final RemoteAccessVpn vpn, final List<? extends VpnUser> users)
focal_class.full_signature: @Override public String[] applyVpnUsers(final RemoteAccessVpn vpn, final List<? extends VpnUser> users)
focal_class.identifier: applyVpnUsers
focal_class.modifiers: @Override public
focal_class.parameters: (final RemoteAccessVpn vpn, final List<? extends VpnUser> users)
focal_class.return: String[]
focal_class.signature: String[] applyVpnUsers(final RemoteAccessVpn vpn, final List<? extends VpnUser> users)
focal_class.class_method_signature: VirtualRouterElement.startVpn(final RemoteAccessVpn vpn)
focal_class.full_signature: @Override public boolean startVpn(final RemoteAccessVpn vpn)
focal_class.identifier: startVpn
focal_class.modifiers: @Override public
focal_class.parameters: (final RemoteAccessVpn vpn)
focal_class.return: boolean
focal_class.signature: boolean startVpn(final RemoteAccessVpn vpn)
focal_class.class_method_signature: VirtualRouterElement.stopVpn(final RemoteAccessVpn vpn)
focal_class.full_signature: @Override public boolean stopVpn(final RemoteAccessVpn vpn)
focal_class.identifier: stopVpn
focal_class.modifiers: @Override public
focal_class.parameters: (final RemoteAccessVpn vpn)
focal_class.return: boolean
focal_class.signature: boolean stopVpn(final RemoteAccessVpn vpn)
focal_class.class_method_signature: VirtualRouterElement.applyIps(final Network network, final List<? extends PublicIpAddress> ipAddress, final Set<Service> services)
focal_class.full_signature: @Override public boolean applyIps(final Network network, final List<? extends PublicIpAddress> ipAddress, final Set<Service> services)
focal_class.identifier: applyIps
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<? extends PublicIpAddress> ipAddress, final Set<Service> services)
focal_class.return: boolean
focal_class.signature: boolean applyIps(final Network network, final List<? extends PublicIpAddress> ipAddress, final Set<Service> services)
focal_class.class_method_signature: VirtualRouterElement.getProvider()
focal_class.full_signature: @Override public Provider getProvider()
focal_class.identifier: getProvider
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Provider
focal_class.signature: Provider getProvider()
focal_class.class_method_signature: VirtualRouterElement.getCapabilities()
focal_class.full_signature: @Override public Map<Service, Map<Capability, String>> getCapabilities()
focal_class.identifier: getCapabilities
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<Service, Map<Capability, String>>
focal_class.signature: Map<Service, Map<Capability, String>> getCapabilities()
focal_class.class_method_signature: VirtualRouterElement.getHAProxyStickinessCapability()
focal_class.full_signature: public static String getHAProxyStickinessCapability()
focal_class.identifier: getHAProxyStickinessCapability
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHAProxyStickinessCapability()
focal_class.class_method_signature: VirtualRouterElement.setCapabilities()
focal_class.full_signature: private static Map<Service, Map<Capability, String>> setCapabilities()
focal_class.identifier: setCapabilities
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: Map<Service, Map<Capability, String>>
focal_class.signature: Map<Service, Map<Capability, String>> setCapabilities()
focal_class.class_method_signature: VirtualRouterElement.applyStaticNats(final Network network, final List<? extends StaticNat> rules)
focal_class.full_signature: @Override public boolean applyStaticNats(final Network network, final List<? extends StaticNat> rules)
focal_class.identifier: applyStaticNats
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<? extends StaticNat> rules)
focal_class.return: boolean
focal_class.signature: boolean applyStaticNats(final Network network, final List<? extends StaticNat> rules)
focal_class.class_method_signature: VirtualRouterElement.shutdown(final Network network, final ReservationContext context, final boolean cleanup)
focal_class.full_signature: @Override public boolean shutdown(final Network network, final ReservationContext context, final boolean cleanup)
focal_class.identifier: shutdown
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final ReservationContext context, final boolean cleanup)
focal_class.return: boolean
focal_class.signature: boolean shutdown(final Network network, final ReservationContext context, final boolean cleanup)
focal_class.class_method_signature: VirtualRouterElement.destroy(final Network config, final ReservationContext context)
focal_class.full_signature: @Override public boolean destroy(final Network config, final ReservationContext context)
focal_class.identifier: destroy
focal_class.modifiers: @Override public
focal_class.parameters: (final Network config, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean destroy(final Network config, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.savePassword(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.full_signature: @Override public boolean savePassword(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.identifier: savePassword
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.return: boolean
focal_class.signature: boolean savePassword(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.class_method_signature: VirtualRouterElement.saveSSHKey(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final String sshPublicKey)
focal_class.full_signature: @Override public boolean saveSSHKey(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final String sshPublicKey)
focal_class.identifier: saveSSHKey
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final String sshPublicKey)
focal_class.return: boolean
focal_class.signature: boolean saveSSHKey(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final String sshPublicKey)
focal_class.class_method_signature: VirtualRouterElement.saveUserData(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.full_signature: @Override public boolean saveUserData(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.identifier: saveUserData
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.return: boolean
focal_class.signature: boolean saveUserData(final Network network, final NicProfile nic, final VirtualMachineProfile vm)
focal_class.class_method_signature: VirtualRouterElement.getCommands()
focal_class.full_signature: @Override public List<Class<?>> getCommands()
focal_class.identifier: getCommands
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Class<?>>
focal_class.signature: List<Class<?>> getCommands()
focal_class.class_method_signature: VirtualRouterElement.configure(final ConfigureVirtualRouterElementCmd cmd)
focal_class.full_signature: @Override public VirtualRouterProvider configure(final ConfigureVirtualRouterElementCmd cmd)
focal_class.identifier: configure
focal_class.modifiers: @Override public
focal_class.parameters: (final ConfigureVirtualRouterElementCmd cmd)
focal_class.return: VirtualRouterProvider
focal_class.signature: VirtualRouterProvider configure(final ConfigureVirtualRouterElementCmd cmd)
focal_class.class_method_signature: VirtualRouterElement.addElement(final Long nspId, final Type providerType)
focal_class.full_signature: @Override public VirtualRouterProvider addElement(final Long nspId, final Type providerType)
focal_class.identifier: addElement
focal_class.modifiers: @Override public
focal_class.parameters: (final Long nspId, final Type providerType)
focal_class.return: VirtualRouterProvider
focal_class.signature: VirtualRouterProvider addElement(final Long nspId, final Type providerType)
focal_class.class_method_signature: VirtualRouterElement.applyPFRules(final Network network, final List<PortForwardingRule> rules)
focal_class.full_signature: @Override public boolean applyPFRules(final Network network, final List<PortForwardingRule> rules)
focal_class.identifier: applyPFRules
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<PortForwardingRule> rules)
focal_class.return: boolean
focal_class.signature: boolean applyPFRules(final Network network, final List<PortForwardingRule> rules)
focal_class.class_method_signature: VirtualRouterElement.isReady(final PhysicalNetworkServiceProvider provider)
focal_class.full_signature: @Override public boolean isReady(final PhysicalNetworkServiceProvider provider)
focal_class.identifier: isReady
focal_class.modifiers: @Override public
focal_class.parameters: (final PhysicalNetworkServiceProvider provider)
focal_class.return: boolean
focal_class.signature: boolean isReady(final PhysicalNetworkServiceProvider provider)
focal_class.class_method_signature: VirtualRouterElement.shutdownProviderInstances(final PhysicalNetworkServiceProvider provider, final ReservationContext context)
focal_class.full_signature: @Override public boolean shutdownProviderInstances(final PhysicalNetworkServiceProvider provider, final ReservationContext context)
focal_class.identifier: shutdownProviderInstances
focal_class.modifiers: @Override public
focal_class.parameters: (final PhysicalNetworkServiceProvider provider, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean shutdownProviderInstances(final PhysicalNetworkServiceProvider provider, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.canEnableIndividualServices()
focal_class.full_signature: @Override public boolean canEnableIndividualServices()
focal_class.identifier: canEnableIndividualServices
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canEnableIndividualServices()
focal_class.class_method_signature: VirtualRouterElement.getIdByNspId(final Long nspId)
focal_class.full_signature: public Long getIdByNspId(final Long nspId)
focal_class.identifier: getIdByNspId
focal_class.modifiers: public
focal_class.parameters: (final Long nspId)
focal_class.return: Long
focal_class.signature: Long getIdByNspId(final Long nspId)
focal_class.class_method_signature: VirtualRouterElement.getCreatedElement(final long id)
focal_class.full_signature: @Override public VirtualRouterProvider getCreatedElement(final long id)
focal_class.identifier: getCreatedElement
focal_class.modifiers: @Override public
focal_class.parameters: (final long id)
focal_class.return: VirtualRouterProvider
focal_class.signature: VirtualRouterProvider getCreatedElement(final long id)
focal_class.class_method_signature: VirtualRouterElement.release(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final ReservationContext context)
focal_class.full_signature: @Override public boolean release(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final ReservationContext context)
focal_class.identifier: release
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean release(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.configDhcpSupportForSubnet(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                                final ReservationContext context)
focal_class.full_signature: @Override public boolean configDhcpSupportForSubnet(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                                final ReservationContext context)
focal_class.identifier: configDhcpSupportForSubnet
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                                final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean configDhcpSupportForSubnet(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                                final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.removeDhcpSupportForSubnet(final Network network)
focal_class.full_signature: @Override public boolean removeDhcpSupportForSubnet(final Network network)
focal_class.identifier: removeDhcpSupportForSubnet
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network)
focal_class.return: boolean
focal_class.signature: boolean removeDhcpSupportForSubnet(final Network network)
focal_class.class_method_signature: VirtualRouterElement.addDhcpEntry(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.full_signature: @Override public boolean addDhcpEntry(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.identifier: addDhcpEntry
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean addDhcpEntry(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.addPasswordAndUserdata(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                            final ReservationContext context)
focal_class.full_signature: @Override public boolean addPasswordAndUserdata(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                            final ReservationContext context)
focal_class.identifier: addPasswordAndUserdata
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                            final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean addPasswordAndUserdata(final Network network, final NicProfile nic, final VirtualMachineProfile vm, final DeployDestination dest,
                                            final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.getRouters(final Network network, final DeployDestination dest)
focal_class.full_signature: protected List<DomainRouterVO> getRouters(final Network network, final DeployDestination dest)
focal_class.identifier: getRouters
focal_class.modifiers: protected
focal_class.parameters: (final Network network, final DeployDestination dest)
focal_class.return: List<DomainRouterVO>
focal_class.signature: List<DomainRouterVO> getRouters(final Network network, final DeployDestination dest)
focal_class.class_method_signature: VirtualRouterElement.searchForVirtualRouterElement(final ListVirtualRouterElementsCmd cmd)
focal_class.full_signature: @Override public List<? extends VirtualRouterProvider> searchForVirtualRouterElement(final ListVirtualRouterElementsCmd cmd)
focal_class.identifier: searchForVirtualRouterElement
focal_class.modifiers: @Override public
focal_class.parameters: (final ListVirtualRouterElementsCmd cmd)
focal_class.return: List<? extends VirtualRouterProvider>
focal_class.signature: List<? extends VirtualRouterProvider> searchForVirtualRouterElement(final ListVirtualRouterElementsCmd cmd)
focal_class.class_method_signature: VirtualRouterElement.verifyServicesCombination(final Set<Service> services)
focal_class.full_signature: @Override public boolean verifyServicesCombination(final Set<Service> services)
focal_class.identifier: verifyServicesCombination
focal_class.modifiers: @Override public
focal_class.parameters: (final Set<Service> services)
focal_class.return: boolean
focal_class.signature: boolean verifyServicesCombination(final Set<Service> services)
focal_class.class_method_signature: VirtualRouterElement.getIpDeployer(final Network network)
focal_class.full_signature: @Override public IpDeployer getIpDeployer(final Network network)
focal_class.identifier: getIpDeployer
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network)
focal_class.return: IpDeployer
focal_class.signature: IpDeployer getIpDeployer(final Network network)
focal_class.class_method_signature: VirtualRouterElement.getVirtualRouterProvider()
focal_class.full_signature: protected VirtualRouterProvider.Type getVirtualRouterProvider()
focal_class.identifier: getVirtualRouterProvider
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: VirtualRouterProvider.Type
focal_class.signature: VirtualRouterProvider.Type getVirtualRouterProvider()
focal_class.class_method_signature: VirtualRouterElement.updateHealthChecks(final Network network, final List<LoadBalancingRule> lbrules)
focal_class.full_signature: @Override public List<LoadBalancerTO> updateHealthChecks(final Network network, final List<LoadBalancingRule> lbrules)
focal_class.identifier: updateHealthChecks
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final List<LoadBalancingRule> lbrules)
focal_class.return: List<LoadBalancerTO>
focal_class.signature: List<LoadBalancerTO> updateHealthChecks(final Network network, final List<LoadBalancingRule> lbrules)
focal_class.class_method_signature: VirtualRouterElement.canHandleLbRules(final List<LoadBalancingRule> rules)
focal_class.full_signature: private boolean canHandleLbRules(final List<LoadBalancingRule> rules)
focal_class.identifier: canHandleLbRules
focal_class.modifiers: private
focal_class.parameters: (final List<LoadBalancingRule> rules)
focal_class.return: boolean
focal_class.signature: boolean canHandleLbRules(final List<LoadBalancingRule> rules)
focal_class.class_method_signature: VirtualRouterElement.prepareMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.full_signature: @Override public boolean prepareMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.identifier: prepareMigration
focal_class.modifiers: @Override public
focal_class.parameters: (final NicProfile nic, final Network network, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.return: boolean
focal_class.signature: boolean prepareMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final DeployDestination dest, final ReservationContext context)
focal_class.class_method_signature: VirtualRouterElement.rollbackMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.full_signature: @Override public void rollbackMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.identifier: rollbackMigration
focal_class.modifiers: @Override public
focal_class.parameters: (final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.return: void
focal_class.signature: void rollbackMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.class_method_signature: VirtualRouterElement.commitMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.full_signature: @Override public void commitMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.identifier: commitMigration
focal_class.modifiers: @Override public
focal_class.parameters: (final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.return: void
focal_class.signature: void commitMigration(final NicProfile nic, final Network network, final VirtualMachineProfile vm, final ReservationContext src, final ReservationContext dst)
focal_class.class_method_signature: VirtualRouterElement.prepareAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.full_signature: @Override public boolean prepareAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.identifier: prepareAggregatedExecution
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final DeployDestination dest)
focal_class.return: boolean
focal_class.signature: boolean prepareAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.class_method_signature: VirtualRouterElement.completeAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.full_signature: @Override public boolean completeAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.identifier: completeAggregatedExecution
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final DeployDestination dest)
focal_class.return: boolean
focal_class.signature: boolean completeAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.class_method_signature: VirtualRouterElement.cleanupAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.full_signature: @Override public boolean cleanupAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.identifier: cleanupAggregatedExecution
focal_class.modifiers: @Override public
focal_class.parameters: (final Network network, final DeployDestination dest)
focal_class.return: boolean
focal_class.signature: boolean cleanupAggregatedExecution(final Network network, final DeployDestination dest)
focal_class.superclass: extends AdapterBase
focal_method.body: @Override
      public boolean implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
              throws ResourceUnavailableException, ConcurrentOperationException, InsufficientCapacityException {
  
          if (offering.isSystemOnly()) {
              return false;
          }
  
          final Map<VirtualMachineProfile.Param, Object> params = new HashMap<>(1);
          params.put(VirtualMachineProfile.Param.ReProgramGuestNetworks, true);
  
          final RouterDeploymentDefinition routerDeploymentDefinition =
                  routerDeploymentDefinitionBuilder.create()
                          .setGuestNetwork(network)
                          .setDeployDestination(dest)
                          .setAccountOwner(_accountMgr.getAccount(network.getAccountId()))
                          .setParams(params)
                          .build();
  
          final List<DomainRouterVO> routers = routerDeploymentDefinition.deployVirtualRouter();
  
          int routerCounts = 1;
          if (offering.getRedundantRouter()) {
              routerCounts = 2;
          }
          if (routers == null || routers.size() < routerCounts) {
              throw new ResourceUnavailableException("Can't find all necessary running routers!", DataCenter.class, network.getDataCenterId());
          }
  
          return true;
      }
focal_method.class_method_signature: VirtualRouterElement.implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_method.full_signature: @Override public boolean implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_method.identifier: implement
focal_method.invocations: isSystemOnly put build setParams setAccountOwner setDeployDestination setGuestNetwork create getAccount getAccountId deployVirtualRouter getRedundantRouter size getDataCenterId
focal_method.modifiers: @Override public
focal_method.parameters: (final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)
focal_method.return: boolean
focal_method.signature: boolean implement(final Network network, final NetworkOffering offering, final DeployDestination dest, final ReservationContext context)