2020import java .util .Map ;
2121
2222import com .cloud .hypervisor .Hypervisor ;
23- import com .cloud .hypervisor .Hypervisor .Type ;
23+ import com .cloud .hypervisor .Hypervisor .HypervisorType ;
2424import com .cloud .network .NetworkEnums .RouterPrivateIpStrategy ;
2525import com .cloud .vm .State ;
2626
@@ -32,7 +32,7 @@ public class StartupRoutingCommand extends StartupCommand {
3232 Map <String , State > vms ;
3333 String caps ;
3434 String pool ;
35- Hypervisor . Type hypervisorType ;
35+ HypervisorType hypervisorType ;
3636 Map <String , String > hostDetails ; //stuff like host os, cpu capabilities
3737
3838 public StartupRoutingCommand () {
@@ -47,7 +47,7 @@ public StartupRoutingCommand(int cpus,
4747 long memory ,
4848 long dom0MinMemory ,
4949 String caps ,
50- Hypervisor . Type hypervisorType ,
50+ HypervisorType hypervisorType ,
5151 RouterPrivateIpStrategy privIpStrategy ,
5252 Map <String , State > vms ) {
5353 this (cpus , speed , memory , dom0MinMemory , caps , hypervisorType , vms );
@@ -59,7 +59,7 @@ public StartupRoutingCommand(int cpus,
5959 long memory ,
6060 long dom0MinMemory ,
6161 final String caps ,
62- final Hypervisor . Type hypervisorType ,
62+ final HypervisorType hypervisorType ,
6363
6464 final Map <String , String > hostDetails ,
6565 Map <String , State > vms ) {
@@ -75,7 +75,7 @@ public StartupRoutingCommand(int cpus,
7575 }
7676
7777 public StartupRoutingCommand (int cpus2 , long speed2 , long memory2 ,
78- long dom0MinMemory2 , String caps2 , Hypervisor . Type hypervisorType2 ,
78+ long dom0MinMemory2 , String caps2 , HypervisorType hypervisorType2 ,
7979 Map <String , State > vms2 ) {
8080 this (cpus2 , speed2 , memory2 , dom0MinMemory2 , caps2 , hypervisorType2 , new HashMap <String ,String >(), vms2 );
8181 }
@@ -136,11 +136,11 @@ public void setPool(String pool) {
136136 this .pool = pool ;
137137 }
138138
139- public Hypervisor . Type getHypervisorType () {
139+ public HypervisorType getHypervisorType () {
140140 return hypervisorType ;
141141 }
142142
143- public void setHypervisorType (Hypervisor . Type hypervisorType ) {
143+ public void setHypervisorType (HypervisorType hypervisorType ) {
144144 this .hypervisorType = hypervisorType ;
145145 }
146146
0 commit comments