mirror of https://github.com/apache/cloudstack.git
removed unused domain in system vms
This commit is contained in:
parent
3dd7301fb2
commit
463835e7d7
|
|
@ -50,9 +50,6 @@ public class ConsoleProxyVO extends VMInstanceVO implements ConsoleProxy {
|
|||
@Column(name="public_netmask", nullable=false)
|
||||
private String publicNetmask;
|
||||
|
||||
@Column(name="domain", nullable=false)
|
||||
private String domain;
|
||||
|
||||
@Column(name="ram_size", updatable=false, nullable=false)
|
||||
private int ramSize;
|
||||
|
||||
|
|
@ -84,10 +81,6 @@ public class ConsoleProxyVO extends VMInstanceVO implements ConsoleProxy {
|
|||
super();
|
||||
}
|
||||
|
||||
public void setDomain(String domain) {
|
||||
this.domain = domain;
|
||||
}
|
||||
|
||||
public void setPublicIpAddress(String publicIpAddress) {
|
||||
this.publicIpAddress = publicIpAddress;
|
||||
}
|
||||
|
|
@ -131,11 +124,6 @@ public class ConsoleProxyVO extends VMInstanceVO implements ConsoleProxy {
|
|||
return this.publicMacAddress;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDomain() {
|
||||
return this.domain;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRamSize() {
|
||||
return this.ramSize;
|
||||
|
|
|
|||
|
|
@ -48,9 +48,6 @@ public class SecondaryStorageVmVO extends VMInstanceVO implements SecondaryStora
|
|||
@Column(name="public_netmask", nullable=false)
|
||||
private String publicNetmask;
|
||||
|
||||
@Column(name="domain", nullable=false)
|
||||
private String domain;
|
||||
|
||||
@Column(name="guid", nullable=false)
|
||||
private String guid;
|
||||
|
||||
|
|
@ -76,10 +73,6 @@ public class SecondaryStorageVmVO extends VMInstanceVO implements SecondaryStora
|
|||
super();
|
||||
}
|
||||
|
||||
public void setDomain(String domain) {
|
||||
this.domain = domain;
|
||||
}
|
||||
|
||||
public void setPublicIpAddress(String publicIpAddress) {
|
||||
this.publicIpAddress = publicIpAddress;
|
||||
}
|
||||
|
|
@ -115,12 +108,6 @@ public class SecondaryStorageVmVO extends VMInstanceVO implements SecondaryStora
|
|||
return this.publicMacAddress;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getDomain() {
|
||||
return this.domain;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRamSize() {
|
||||
return this.ramSize;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ package com.cloud.vm;
|
|||
import java.util.Date;
|
||||
|
||||
public interface SystemVm extends VirtualMachine {
|
||||
public String getDomain();
|
||||
public String getPublicIpAddress();
|
||||
public String getPublicNetmask();
|
||||
public String getPublicMacAddress();
|
||||
|
|
|
|||
|
|
@ -1188,7 +1188,6 @@ public class ApiResponseHelper implements ResponseGenerator {
|
|||
vmResponse.setSystemVmType(vm.getType().toString().toLowerCase());
|
||||
vmResponse.setZoneId(vm.getDataCenterId());
|
||||
|
||||
vmResponse.setNetworkDomain(vm.getDomain());
|
||||
vmResponse.setName(vm.getName());
|
||||
vmResponse.setPodId(vm.getPodId());
|
||||
vmResponse.setTemplateId(vm.getTemplateId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue