test_class.declarator: HOST_ID = 10L
test_class.modifier: private static final
test_class.original_string: private static final long HOST_ID = 10L;
test_class.type: long
test_class.var_name: HOST_ID
test_class.declarator: agentManager
test_class.modifier: @Mock
      protected
test_class.original_string: @Mock
      protected AgentManager agentManager;
test_class.type: AgentManager
test_class.var_name: agentManager
test_class.declarator: router
test_class.modifier: @Mock
      protected
test_class.original_string: @Mock
      protected DomainRouterVO router;
test_class.type: DomainRouterVO
test_class.var_name: router
test_class.declarator: nwHelper = new NetworkHelperImpl()
test_class.modifier: @InjectMocks
      protected
test_class.original_string: @InjectMocks
      protected NetworkHelperImpl nwHelper = new NetworkHelperImpl();
test_class.type: NetworkHelperImpl
test_class.var_name: nwHelper
test_class.file: cosmic-core/server/src/test/java/com/cloud/network/router/NetworkHelperImplTest.java
test_class.identifier: NetworkHelperImplTest
test_case.body: @Test
      public void testStart() throws Exception {
          when(router.getId()).thenReturn(1L);
          when(router.getVpcId()).thenReturn(null);
          final DomainRouterDao routerDao = mock(DomainRouterDao.class);
          when(routerDao.findById(anyLong())).thenReturn(router);
          when(routerDao.persist(any(DomainRouterVO.class))).thenReturn(router);
  
          nwHelper._itMgr = mock(VirtualMachineManager.class);
          nwHelper._routerDao = routerDao;
  
          assertEquals(router, nwHelper.start(router, null, null));
      }
test_case.class_method_signature: NetworkHelperImplTest.testStart()
test_case.full_signature: @Test public void testStart()
test_case.identifier: testStart
test_case.invocations: thenReturn when getId thenReturn when getVpcId mock thenReturn when findById anyLong thenReturn when persist any mock assertEquals start
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStart()
focal_class.declarator: logger = LoggerFactory.getLogger(NetworkHelperImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(NetworkHelperImpl.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: s_systemAccount
focal_class.modifier: protected static
focal_class.original_string: protected static Account s_systemAccount;
focal_class.type: Account
focal_class.var_name: s_systemAccount
focal_class.declarator: s_vmInstanceName
focal_class.modifier: protected static
focal_class.original_string: protected static String s_vmInstanceName;
focal_class.type: String
focal_class.var_name: s_vmInstanceName
focal_class.declarator: hypervisorsMap = new HashMap<>()
focal_class.modifier: protected final
focal_class.original_string: protected final Map<HypervisorType, ConfigKey<String>> hypervisorsMap = new HashMap<>();
focal_class.type: Map<HypervisorType, ConfigKey<String>>
focal_class.var_name: hypervisorsMap
focal_class.declarator: _nicDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected NicDao _nicDao;
focal_class.type: NicDao
focal_class.var_name: _nicDao
focal_class.declarator: _networkDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected NetworkDao _networkDao;
focal_class.type: NetworkDao
focal_class.var_name: _networkDao
focal_class.declarator: _networkOfferingDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected NetworkOfferingDao _networkOfferingDao;
focal_class.type: NetworkOfferingDao
focal_class.var_name: _networkOfferingDao
focal_class.declarator: _routerDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected DomainRouterDao _routerDao;
focal_class.type: DomainRouterDao
focal_class.var_name: _routerDao
focal_class.declarator: _networkModel
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected NetworkModel _networkModel;
focal_class.type: NetworkModel
focal_class.var_name: _networkModel
focal_class.declarator: _ipAddressDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected IPAddressDao _ipAddressDao;
focal_class.type: IPAddressDao
focal_class.var_name: _ipAddressDao
focal_class.declarator: _networkMgr
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected NetworkOrchestrationService _networkMgr;
focal_class.type: NetworkOrchestrationService
focal_class.var_name: _networkMgr
focal_class.declarator: _serviceOfferingDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected ServiceOfferingDao _serviceOfferingDao;
focal_class.type: ServiceOfferingDao
focal_class.var_name: _serviceOfferingDao
focal_class.declarator: _itMgr
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected VirtualMachineManager _itMgr;
focal_class.type: VirtualMachineManager
focal_class.var_name: _itMgr
focal_class.declarator: _ipAddrMgr
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected IpAddressManager _ipAddrMgr;
focal_class.type: IpAddressManager
focal_class.var_name: _ipAddrMgr
focal_class.declarator: _agentMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AgentManager _agentMgr;
focal_class.type: AgentManager
focal_class.var_name: _agentMgr
focal_class.declarator: _alertMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AlertManager _alertMgr;
focal_class.type: AlertManager
focal_class.var_name: _alertMgr
focal_class.declarator: _accountMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AccountManager _accountMgr;
focal_class.type: AccountManager
focal_class.var_name: _accountMgr
focal_class.declarator: _s2sVpnMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Site2SiteVpnManager _s2sVpnMgr;
focal_class.type: Site2SiteVpnManager
focal_class.var_name: _s2sVpnMgr
focal_class.declarator: _hostDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private HostDao _hostDao;
focal_class.type: HostDao
focal_class.var_name: _hostDao
focal_class.declarator: _volumeDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VolumeDao _volumeDao;
focal_class.type: VolumeDao
focal_class.var_name: _volumeDao
focal_class.declarator: _templateDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private VMTemplateDao _templateDao;
focal_class.type: VMTemplateDao
focal_class.var_name: _templateDao
focal_class.declarator: _resourceMgr
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ResourceManager _resourceMgr;
focal_class.type: ResourceManager
focal_class.var_name: _resourceMgr
focal_class.declarator: _ipv6Dao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserIpv6AddressDao _ipv6Dao;
focal_class.type: UserIpv6AddressDao
focal_class.var_name: _ipv6Dao
focal_class.declarator: _userDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private UserDao _userDao;
focal_class.type: UserDao
focal_class.var_name: _userDao
focal_class.declarator: _affinityGroupDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private AffinityGroupDao _affinityGroupDao;
focal_class.type: AffinityGroupDao
focal_class.var_name: _affinityGroupDao
focal_class.declarator: _domainDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private DomainDao _domainDao;
focal_class.type: DomainDao
focal_class.var_name: _domainDao
focal_class.declarator: _dedicatedDao
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected DedicatedResourceDao _dedicatedDao;
focal_class.type: DedicatedResourceDao
focal_class.var_name: _dedicatedDao
focal_class.file: cosmic-core/server/src/main/java/com/cloud/network/router/NetworkHelperImpl.java
focal_class.identifier: NetworkHelperImpl
focal_class.interfaces: implements NetworkHelper
focal_class.class_method_signature: NetworkHelperImpl.setSystemAccount(final Account systemAccount)
focal_class.full_signature: public static void setSystemAccount(final Account systemAccount)
focal_class.identifier: setSystemAccount
focal_class.modifiers: public static
focal_class.parameters: (final Account systemAccount)
focal_class.return: void
focal_class.signature: void setSystemAccount(final Account systemAccount)
focal_class.class_method_signature: NetworkHelperImpl.setVMInstanceName(final String vmInstanceName)
focal_class.full_signature: public static void setVMInstanceName(final String vmInstanceName)
focal_class.identifier: setVMInstanceName
focal_class.modifiers: public static
focal_class.parameters: (final String vmInstanceName)
focal_class.return: void
focal_class.signature: void setVMInstanceName(final String vmInstanceName)
focal_class.class_method_signature: NetworkHelperImpl.setupHypervisorsMap()
focal_class.full_signature: @PostConstruct protected void setupHypervisorsMap()
focal_class.identifier: setupHypervisorsMap
focal_class.modifiers: @PostConstruct protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setupHypervisorsMap()
focal_class.class_method_signature: NetworkHelperImpl.sendCommandsToRouter(final VirtualRouter router, final Commands cmds)
focal_class.full_signature: @Override public boolean sendCommandsToRouter(final VirtualRouter router, final Commands cmds)
focal_class.identifier: sendCommandsToRouter
focal_class.modifiers: @Override public
focal_class.parameters: (final VirtualRouter router, final Commands cmds)
focal_class.return: boolean
focal_class.signature: boolean sendCommandsToRouter(final VirtualRouter router, final Commands cmds)
focal_class.class_method_signature: NetworkHelperImpl.handleSingleWorkingRedundantRouter(final List<? extends VirtualRouter> connectedRouters, final List<? extends VirtualRouter> disconnectedRouters,
                                                     final String reason)
focal_class.full_signature: @Override public void handleSingleWorkingRedundantRouter(final List<? extends VirtualRouter> connectedRouters, final List<? extends VirtualRouter> disconnectedRouters,
                                                     final String reason)
focal_class.identifier: handleSingleWorkingRedundantRouter
focal_class.modifiers: @Override public
focal_class.parameters: (final List<? extends VirtualRouter> connectedRouters, final List<? extends VirtualRouter> disconnectedRouters,
                                                     final String reason)
focal_class.return: void
focal_class.signature: void handleSingleWorkingRedundantRouter(final List<? extends VirtualRouter> connectedRouters, final List<? extends VirtualRouter> disconnectedRouters,
                                                     final String reason)
focal_class.class_method_signature: NetworkHelperImpl.getNicTO(final VirtualRouter router, final Long networkId, final String broadcastUri)
focal_class.full_signature: @Override public NicTO getNicTO(final VirtualRouter router, final Long networkId, final String broadcastUri)
focal_class.identifier: getNicTO
focal_class.modifiers: @Override public
focal_class.parameters: (final VirtualRouter router, final Long networkId, final String broadcastUri)
focal_class.return: NicTO
focal_class.signature: NicTO getNicTO(final VirtualRouter router, final Long networkId, final String broadcastUri)
focal_class.class_method_signature: NetworkHelperImpl.destroyRouter(final long routerId, final Account caller, final Long callerUserId)
focal_class.full_signature: @Override public VirtualRouter destroyRouter(final long routerId, final Account caller, final Long callerUserId)
focal_class.identifier: destroyRouter
focal_class.modifiers: @Override public
focal_class.parameters: (final long routerId, final Account caller, final Long callerUserId)
focal_class.return: VirtualRouter
focal_class.signature: VirtualRouter destroyRouter(final long routerId, final Account caller, final Long callerUserId)
focal_class.class_method_signature: NetworkHelperImpl.checkRouterVersion(final VirtualRouter router)
focal_class.full_signature: @Override public boolean checkRouterVersion(final VirtualRouter router)
focal_class.identifier: checkRouterVersion
focal_class.modifiers: @Override public
focal_class.parameters: (final VirtualRouter router)
focal_class.return: boolean
focal_class.signature: boolean checkRouterVersion(final VirtualRouter router)
focal_class.class_method_signature: NetworkHelperImpl.startRouters(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: @Override public List<DomainRouterVO> startRouters(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: startRouters
focal_class.modifiers: @Override public
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: List<DomainRouterVO>
focal_class.signature: List<DomainRouterVO> startRouters(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.class_method_signature: NetworkHelperImpl.start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_class.full_signature: protected DomainRouterVO start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_class.identifier: start
focal_class.modifiers: protected
focal_class.parameters: (DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_class.return: DomainRouterVO
focal_class.signature: DomainRouterVO start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_class.class_method_signature: NetworkHelperImpl.getCurrentLocalDateTimeStamp()
focal_class.full_signature: private String getCurrentLocalDateTimeStamp()
focal_class.identifier: getCurrentLocalDateTimeStamp
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCurrentLocalDateTimeStamp()
focal_class.class_method_signature: NetworkHelperImpl.waitRouter(final DomainRouterVO router)
focal_class.full_signature: protected DomainRouterVO waitRouter(final DomainRouterVO router)
focal_class.identifier: waitRouter
focal_class.modifiers: protected
focal_class.parameters: (final DomainRouterVO router)
focal_class.return: DomainRouterVO
focal_class.signature: DomainRouterVO waitRouter(final DomainRouterVO router)
focal_class.class_method_signature: NetworkHelperImpl.startVirtualRouter(final DomainRouterVO router, final User user, final Account caller, final Map<Param, Object> params)
focal_class.full_signature: @Override public DomainRouterVO startVirtualRouter(final DomainRouterVO router, final User user, final Account caller, final Map<Param, Object> params)
focal_class.identifier: startVirtualRouter
focal_class.modifiers: @Override public
focal_class.parameters: (final DomainRouterVO router, final User user, final Account caller, final Map<Param, Object> params)
focal_class.return: DomainRouterVO
focal_class.signature: DomainRouterVO startVirtualRouter(final DomainRouterVO router, final User user, final Account caller, final Map<Param, Object> params)
focal_class.class_method_signature: NetworkHelperImpl.findDedicatedAffinityGroup(final Long domainId, final Long accountId)
focal_class.full_signature: private AffinityGroup findDedicatedAffinityGroup(final Long domainId, final Long accountId)
focal_class.identifier: findDedicatedAffinityGroup
focal_class.modifiers: private
focal_class.parameters: (final Long domainId, final Long accountId)
focal_class.return: AffinityGroup
focal_class.signature: AffinityGroup findDedicatedAffinityGroup(final Long domainId, final Long accountId)
focal_class.class_method_signature: NetworkHelperImpl.getExcludeLists(final DomainRouterVO routerToBeAvoid, final List<Long> dedicatedAvoidSet)
focal_class.full_signature: private ExcludeList[] getExcludeLists(final DomainRouterVO routerToBeAvoid, final List<Long> dedicatedAvoidSet)
focal_class.identifier: getExcludeLists
focal_class.modifiers: private
focal_class.parameters: (final DomainRouterVO routerToBeAvoid, final List<Long> dedicatedAvoidSet)
focal_class.return: ExcludeList[]
focal_class.signature: ExcludeList[] getExcludeLists(final DomainRouterVO routerToBeAvoid, final List<Long> dedicatedAvoidSet)
focal_class.class_method_signature: NetworkHelperImpl.deployRouter(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean startRouter)
focal_class.full_signature: @Override public DomainRouterVO deployRouter(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean startRouter)
focal_class.identifier: deployRouter
focal_class.modifiers: @Override public
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition, final boolean startRouter)
focal_class.return: DomainRouterVO
focal_class.signature: DomainRouterVO deployRouter(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean startRouter)
focal_class.class_method_signature: NetworkHelperImpl.getHypervisors(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: protected List<HypervisorType> getHypervisors(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: getHypervisors
focal_class.modifiers: protected
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: List<HypervisorType>
focal_class.signature: List<HypervisorType> getHypervisors(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.class_method_signature: NetworkHelperImpl.retrieveTemplateName(final HypervisorType hType, final long datacenterId)
focal_class.full_signature: protected String retrieveTemplateName(final HypervisorType hType, final long datacenterId)
focal_class.identifier: retrieveTemplateName
focal_class.modifiers: protected
focal_class.parameters: (final HypervisorType hType, final long datacenterId)
focal_class.return: String
focal_class.signature: String retrieveTemplateName(final HypervisorType hType, final long datacenterId)
focal_class.class_method_signature: NetworkHelperImpl.filterSupportedHypervisors(final List<HypervisorType> hypervisors)
focal_class.full_signature: protected void filterSupportedHypervisors(final List<HypervisorType> hypervisors)
focal_class.identifier: filterSupportedHypervisors
focal_class.modifiers: protected
focal_class.parameters: (final List<HypervisorType> hypervisors)
focal_class.return: void
focal_class.signature: void filterSupportedHypervisors(final List<HypervisorType> hypervisors)
focal_class.class_method_signature: NetworkHelperImpl.getNoHypervisorsErrMsgDetails()
focal_class.full_signature: protected String getNoHypervisorsErrMsgDetails()
focal_class.identifier: getNoHypervisorsErrMsgDetails
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNoHypervisorsErrMsgDetails()
focal_class.class_method_signature: NetworkHelperImpl.configureControlNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: protected LinkedHashMap<Network, List<? extends NicProfile>> configureControlNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: configureControlNic
focal_class.modifiers: protected
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: LinkedHashMap<Network, List<? extends NicProfile>>
focal_class.signature: LinkedHashMap<Network, List<? extends NicProfile>> configureControlNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.class_method_signature: NetworkHelperImpl.configureSyncNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: protected LinkedHashMap<Network, List<? extends NicProfile>> configureSyncNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: configureSyncNic
focal_class.modifiers: protected
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: LinkedHashMap<Network, List<? extends NicProfile>>
focal_class.signature: LinkedHashMap<Network, List<? extends NicProfile>> configureSyncNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.class_method_signature: NetworkHelperImpl.configurePublicNic(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean hasGuestNic)
focal_class.full_signature: protected LinkedHashMap<Network, List<? extends NicProfile>> configurePublicNic(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean hasGuestNic)
focal_class.identifier: configurePublicNic
focal_class.modifiers: protected
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition, final boolean hasGuestNic)
focal_class.return: LinkedHashMap<Network, List<? extends NicProfile>>
focal_class.signature: LinkedHashMap<Network, List<? extends NicProfile>> configurePublicNic(final RouterDeploymentDefinition routerDeploymentDefinition, final boolean hasGuestNic)
focal_class.class_method_signature: NetworkHelperImpl.reallocateRouterNetworks(final RouterDeploymentDefinition routerDeploymentDefinition, final VirtualRouter router, final VMTemplateVO template, final
      HypervisorType hType)
focal_class.full_signature: @Override public void reallocateRouterNetworks(final RouterDeploymentDefinition routerDeploymentDefinition, final VirtualRouter router, final VMTemplateVO template, final
      HypervisorType hType)
focal_class.identifier: reallocateRouterNetworks
focal_class.modifiers: @Override public
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition, final VirtualRouter router, final VMTemplateVO template, final
      HypervisorType hType)
focal_class.return: void
focal_class.signature: void reallocateRouterNetworks(final RouterDeploymentDefinition routerDeploymentDefinition, final VirtualRouter router, final VMTemplateVO template, final
      HypervisorType hType)
focal_class.class_method_signature: NetworkHelperImpl.configureDefaultNics(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: @Override public LinkedHashMap<Network, List<? extends NicProfile>> configureDefaultNics(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: configureDefaultNics
focal_class.modifiers: @Override public
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: LinkedHashMap<Network, List<? extends NicProfile>>
focal_class.signature: LinkedHashMap<Network, List<? extends NicProfile>> configureDefaultNics(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.class_method_signature: NetworkHelperImpl.configureGuestNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.full_signature: @Override public LinkedHashMap<Network, List<? extends NicProfile>> configureGuestNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.identifier: configureGuestNic
focal_class.modifiers: @Override public
focal_class.parameters: (final RouterDeploymentDefinition routerDeploymentDefinition)
focal_class.return: LinkedHashMap<Network, List<? extends NicProfile>>
focal_class.signature: LinkedHashMap<Network, List<? extends NicProfile>> configureGuestNic(final RouterDeploymentDefinition routerDeploymentDefinition)
focal_method.body: protected DomainRouterVO start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
              throws InsufficientCapacityException, ConcurrentOperationException, ResourceUnavailableException {
          logger.debug("Starting router " + router);
          try {
              _itMgr.advanceStart(router.getUuid(), params, planToDeploy, null);
          } catch (final OperationTimedoutException e) {
              throw new ResourceUnavailableException("Starting router " + router + " failed! " + e.toString(), DataCenter.class, router.getDataCenterId());
          }
          if (router.isStopPending()) {
              logger.info("Clear the stop pending flag of router " + router.getHostName() + " after start router successfully!");
              router.setStopPending(false);
              router = _routerDao.persist(router);
          }
  
          // Set date and version we start this VM
          router.setLastStartDateTime(getCurrentLocalDateTimeStamp());
          router.setLastStartVersion(NetworkHelperImpl.class.getPackage().getImplementationVersion());
  
          // Reset VM compliance state
          if (router.getComplianceStatus() == ComplianceStatus.VMNeedsRestart) {
              router.setComplianceStatus(ComplianceStatus.Compliant);
          }
          router = _routerDao.persist(router);
  
          // We don't want the failure of VPN Connection affect the status of
          // router, so we try to make connection
          // only after router start successfully
          final Long vpcId = router.getVpcId();
          if (vpcId != null) {
              _s2sVpnMgr.reconnectDisconnectedVpnByVpc(vpcId);
          }
          return _routerDao.findById(router.getId());
      }
focal_method.class_method_signature: NetworkHelperImpl.start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_method.full_signature: protected DomainRouterVO start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_method.identifier: start
focal_method.invocations: debug advanceStart getUuid toString getDataCenterId isStopPending info getHostName setStopPending persist setLastStartDateTime getCurrentLocalDateTimeStamp setLastStartVersion getImplementationVersion getPackage getComplianceStatus setComplianceStatus persist getVpcId reconnectDisconnectedVpnByVpc findById getId
focal_method.modifiers: protected
focal_method.parameters: (DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)
focal_method.return: DomainRouterVO
focal_method.signature: DomainRouterVO start(DomainRouterVO router, final Map<Param, Object> params, final DeploymentPlan planToDeploy)