@@ -580,7 +580,7 @@ public DomainRouterVO deployRouter(final RouterDeploymentDefinition routerDeploy
580580 Long vpcId = routerDeploymentDefinition .getVpc () != null ? routerDeploymentDefinition .getVpc ().getId () : null ;
581581
582582 router = new DomainRouterVO (id , routerOffering .getId (), routerDeploymentDefinition .getVirtualProvider ().getId (),
583- VirtualMachineName .getRouterName (id , VirtualNwStatus .instance ), template .getId (), template .getHypervisorType (),
583+ VirtualMachineName .getRouterName (id , VirtualNetworkStatus .instance ), template .getId (), template .getHypervisorType (),
584584 template .getGuestOSId (), owner .getDomainId (), owner .getId (), routerDeploymentDefinition .isRedundant (), 0 ,
585585 false , RedundantState .UNKNOWN , offerHA , false , vpcId );
586586
@@ -774,7 +774,7 @@ public LinkedHashMap<Network, List<? extends NicProfile>> createRouterNetworks(
774774 s_logger .debug ("Adding nic for Virtual Router in Control network " );
775775 List <? extends NetworkOffering > offerings = _networkModel .getSystemAccountNetworkOfferings (NetworkOffering .SystemControlNetwork );
776776 NetworkOffering controlOffering = offerings .get (0 );
777- Network controlConfig = _networkMgr .setupNetwork (VirtualNwStatus .account , controlOffering , routerDeploymentDefinition .getPlan (),
777+ Network controlConfig = _networkMgr .setupNetwork (VirtualNetworkStatus .account , controlOffering , routerDeploymentDefinition .getPlan (),
778778 null , null , false ).get (0 );
779779 networks .put (controlConfig , new ArrayList <NicProfile >());
780780 //3) Public network
@@ -803,7 +803,7 @@ public LinkedHashMap<Network, List<? extends NicProfile>> createRouterNetworks(
803803 defaultNic .setDeviceId (2 );
804804 }
805805 final NetworkOffering publicOffering = _networkModel .getSystemAccountNetworkOfferings (NetworkOffering .SystemPublicNetwork ).get (0 );
806- final List <? extends Network > publicNetworks = _networkMgr .setupNetwork (VirtualNwStatus .account , publicOffering ,
806+ final List <? extends Network > publicNetworks = _networkMgr .setupNetwork (VirtualNetworkStatus .account , publicOffering ,
807807 routerDeploymentDefinition .getPlan (), null , null , false );
808808 final String publicIp = defaultNic .getIp4Address ();
809809 // We want to use the identical MAC address for RvR on public interface if possible
0 commit comments