Skip to content

Commit 30ca56a

Browse files
committed
Revert "fdfdfd"
This reverts commit b961dbc.
1 parent b961dbc commit 30ca56a

File tree

5 files changed

+0
-35
lines changed

5 files changed

+0
-35
lines changed

api/src/org/apache/cloudstack/api/response/DomainRouterResponse.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ public class DomainRouterResponse extends BaseResponse implements ControlledView
8585
@Param(description = "the hostname for the router")
8686
private String hostName;
8787

88-
@SerializedName("hypervisor")
89-
@Param(description = "the hypervisor on which the template runs")
90-
private String hypervisor;
91-
9288
@SerializedName(ApiConstants.LINK_LOCAL_IP)
9389
@Param(description = "the link local IP address for the router")
9490
private String linkLocalIp;
@@ -266,14 +262,6 @@ public void setHostName(String hostName) {
266262
this.hostName = hostName;
267263
}
268264

269-
public String getHypervisor() {
270-
return hypervisor;
271-
}
272-
273-
public void setHypervisor(String hypervisor) {
274-
this.hypervisor = hypervisor;
275-
}
276-
277265
public void setPublicIp(String publicIp) {
278266
this.publicIp = publicIp;
279267
}

api/src/org/apache/cloudstack/api/response/SystemVmResponse.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ public class SystemVmResponse extends BaseResponse {
8585
@Param(description = "the hostname for the system VM")
8686
private String hostName;
8787

88-
@SerializedName("hypervisor")
89-
@Param(description = "the hypervisor on which the template runs")
90-
private String hypervisor;
91-
9288
@SerializedName(ApiConstants.PRIVATE_IP)
9389
@Param(description = "the private IP address for the system VM")
9490
private String privateIp;
@@ -244,14 +240,6 @@ public void setHostName(String hostName) {
244240
this.hostName = hostName;
245241
}
246242

247-
public String getHypervisor() {
248-
return hypervisor;
249-
}
250-
251-
public void setHypervisor(String hypervisor) {
252-
this.hypervisor = hypervisor;
253-
}
254-
255243
public String getPrivateIp() {
256244
return privateIp;
257245
}

server/src/com/cloud/api/ApiResponseHelper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,6 @@ public SystemVmResponse createSystemVmResponse(VirtualMachine vm) {
11601160
if (host != null) {
11611161
vmResponse.setHostId(host.getUuid());
11621162
vmResponse.setHostName(host.getName());
1163-
vmResponse.setHypervisor(host.getHypervisorType().toString());
11641163
}
11651164
}
11661165

server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public DomainRouterResponse newDomainRouterResponse(DomainRouterJoinVO router, A
9494
if (router.getHostId() != null) {
9595
routerResponse.setHostId(router.getHostUuid());
9696
routerResponse.setHostName(router.getHostName());
97-
routerResponse.setHypervisor(router.getHypervisorType().toString());
9897
}
9998
routerResponse.setPodId(router.getPodUuid());
10099
long nic_id = router.getNicId();

server/src/com/cloud/api/query/vo/DomainRouterJoinVO.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import javax.persistence.Id;
2727
import javax.persistence.Table;
2828

29-
import com.cloud.hypervisor.Hypervisor;
3029
import com.cloud.network.Network.GuestType;
3130
import com.cloud.network.Networks.TrafficType;
3231
import com.cloud.network.router.VirtualRouter;
@@ -127,10 +126,6 @@ public class DomainRouterJoinVO extends BaseViewVO implements ControlledViewEnti
127126
@Column(name = "host_name", nullable = false)
128127
private String hostName;
129128

130-
@Column(name="hypervisor_type")
131-
@Enumerated(value=EnumType.STRING)
132-
private Hypervisor.HypervisorType hypervisorType;
133-
134129
@Column(name = "template_id", updatable = true, nullable = true, length = 17)
135130
private long templateId;
136131

@@ -343,10 +338,6 @@ public String getHostName() {
343338
return hostName;
344339
}
345340

346-
public Hypervisor.HypervisorType getHypervisorType() {
347-
return hypervisorType;
348-
}
349-
350341
public Long getClusterId() {
351342
return clusterId;
352343
}

0 commit comments

Comments
 (0)