Skip to content

Commit 0a5e04b

Browse files
committed
add vlan, isolationMethod to TrafficTypeResponse
1 parent 2f309b5 commit 0a5e04b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ public class TrafficTypeResponse extends BaseResponse {
5656
@Param(description = "The network name label of the physical device dedicated to this traffic on a HyperV host")
5757
private String hypervNetworkLabel;
5858

59+
// why not VLAN_ID
60+
@SerializedName(ApiConstants.VLAN)
61+
@Param(description = "The VLAN id to be used for Management traffic by VMware host")
62+
private String vlan;
63+
64+
@SerializedName(ApiConstants.ISOLATION_METHOD)
65+
@Param(description = "The isolation method for the traffic")
66+
private String isolationMethod;
67+
5968
@SerializedName(ApiConstants.OVM3_NETWORK_LABEL)
6069
@Param(description = "The network name of the physical device dedicated to this traffic on an OVM3 host")
6170
private String ovm3NetworkLabel;
@@ -128,4 +137,20 @@ public String getOvm3Label() {
128137
public void setOvm3Label(String ovm3Label) {
129138
this.ovm3NetworkLabel = ovm3Label;
130139
}
140+
141+
public String getIsolationMethod() {
142+
return isolationMethod;
143+
}
144+
145+
public void setIsolationMethod(String isolationMethod) {
146+
this.isolationMethod = isolationMethod;
147+
}
148+
149+
public String getVlan() {
150+
return vlan;
151+
}
152+
153+
public void setVlan(String vlan) {
154+
this.vlan = vlan;
155+
}
131156
}

0 commit comments

Comments
 (0)