mirror of https://github.com/apache/cloudstack.git
Fixes for run-instances:
- Use String for DomainId and NicId and NetworkId - 3.0.x use String for Ids and not Long unlike 2.2.14
This commit is contained in:
parent
c458990559
commit
a0d52a6d81
|
|
@ -2,7 +2,7 @@
|
|||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="test"/>
|
||||
<classpathentry exported="true" kind="lib" path="/deps/cloudbridge-lib"/>
|
||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
<classpathentry combineaccessrules="false" kind="src" path="/deps"/>
|
||||
</classpath>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import com.google.gson.annotations.SerializedName;
|
|||
public class CloudStackNic {
|
||||
|
||||
@SerializedName(ApiConstants.ID)
|
||||
private Long id;
|
||||
private String id;
|
||||
|
||||
@SerializedName(ApiConstants.BROADCAST_URI)
|
||||
private String broadcastUri;
|
||||
|
|
@ -44,7 +44,7 @@ public class CloudStackNic {
|
|||
private String netmask;
|
||||
|
||||
@SerializedName(ApiConstants.NETWORK_ID)
|
||||
private Long networkid;
|
||||
private String networkid;
|
||||
|
||||
@SerializedName(ApiConstants.TRAFFIC_TYPE)
|
||||
private String trafficType;
|
||||
|
|
@ -55,11 +55,11 @@ public class CloudStackNic {
|
|||
public CloudStackNic() {
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Long getNetworkid() {
|
||||
public String getNetworkid() {
|
||||
return networkid;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ public class CloudStackResourceLimit {
|
|||
@SerializedName(ApiConstants.ACCOUNT)
|
||||
private String accountName;
|
||||
@SerializedName(ApiConstants.DOMAIN_ID)
|
||||
private Long domainId;
|
||||
private String domainId;
|
||||
@SerializedName(ApiConstants.DOMAIN)
|
||||
private String domainName;
|
||||
@SerializedName(ApiConstants.RESOURCE_TYPE)
|
||||
|
|
@ -37,9 +37,9 @@ public class CloudStackResourceLimit {
|
|||
return accountName;
|
||||
}
|
||||
|
||||
public Long getDomainId() {
|
||||
return domainId;
|
||||
}
|
||||
public String getDomainId() {
|
||||
return domainId;
|
||||
}
|
||||
|
||||
public String getDomainName() {
|
||||
return domainName;
|
||||
|
|
|
|||
Loading…
Reference in New Issue