Skip to content

Commit 9941c97

Browse files
committed
remove network mention from attribute name
1 parent 4be9b5c commit 9941c97

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public class SystemVmResponse extends BaseResponseWithAnnotations {
127127
private String publicNetmask;
128128

129129
@SerializedName("storagenetworkip")
130-
@Param(description = "the ip for the system VM on the storage network")
131-
private String storageNetworkIp;
130+
@Param(description = "the ip address for the system VM on the storage network")
131+
private String storageIp;
132132

133133
@SerializedName("templateid")
134134
@Param(description = "the template ID for the system VM")
@@ -359,12 +359,12 @@ public void setPublicNetmask(String publicNetmask) {
359359
this.publicNetmask = publicNetmask;
360360
}
361361

362-
public String getStorageNetworkIp() {
363-
return storageNetworkIp;
362+
public String getStorageIp() {
363+
return storageIp;
364364
}
365365

366-
public void setStorageNetworkIp(String storageNetworkIp) {
367-
this.storageNetworkIp = storageNetworkIp;
366+
public void setStorageIp(String storageIp) {
367+
this.storageIp = storageIp;
368368
}
369369

370370
public String getTemplateId() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,7 @@ public SystemVmResponse createSystemVmResponse(VirtualMachine vm) {
18811881
vmResponse.setGateway(singleNicProfile.getIPv4Gateway());
18821882
}
18831883
} else if (network.getTrafficType() == TrafficType.Storage) {
1884-
vmResponse.setStorageNetworkIp(singleNicProfile.getIPv4Address());
1884+
vmResponse.setStorageIp(singleNicProfile.getIPv4Address());
18851885
}
18861886
}
18871887
}

ui/public/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2426,7 +2426,7 @@
24262426
"label.storagepool.tooltip": "Destination Storage Pool. Volume should be located in this Storage Pool",
24272427
"label.storagetags": "Storage tags",
24282428
"label.storagetype": "Storage type",
2429-
"label.storagenetworkip": "Storage network IP",
2429+
"label.storageip": "Storage IP address",
24302430
"label.strict": "Strict",
24312431
"label.subdomainaccess": "Subdomain access",
24322432
"label.submit": "Submit",

ui/public/locales/pt_BR.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@
15831583
"label.storagepool": "Pool de armazenamento",
15841584
"label.storagetags": "Tags de armazenamento",
15851585
"label.storagetype": "Tipo de armazenamento",
1586-
"label.storagenetworkip": "IP na rede de storage",
1586+
"label.storageip": "Endere\u00e7o IP na rede de armazenamento",
15871587
"label.strict": "Rigoroso",
15881588
"label.subdomainaccess": "acesso ao subdom\u00ednio",
15891589
"label.submit": "Enviar",

0 commit comments

Comments
 (0)