Skip to content

Commit

Permalink
Supported gateway for hdeni api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 3, 2024
1 parent 9786155 commit dc796b0
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-eflo/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-06-03 Version: 1.0.13
- Supported gateway for hdeni api.

2024-05-06 Version: 1.0.12
- Update HDENI and LENI API.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-eflo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-eflo</artifactId>
<packaging>jar</packaging>
<version>1.0.12</version>
<version>1.0.13</version>
<name>aliyun-java-sdk-eflo</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
public class GetFabricTopologyRequest extends RpcAcsRequest<GetFabricTopologyResponse> {


private String clusterId;

private String vpdId;

private String vpcId;

private List<String> lniIdss;

private List<String> nodeIdss;
Expand All @@ -35,6 +39,17 @@ public GetFabricTopologyRequest() {
setMethod(MethodType.POST);
}

public String getClusterId() {
return this.clusterId;
}

public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putBodyParameter("ClusterId", clusterId);
}
}

public String getVpdId() {
return this.vpdId;
}
Expand All @@ -46,6 +61,17 @@ public void setVpdId(String vpdId) {
}
}

public String getVpcId() {
return this.vpcId;
}

public void setVpcId(String vpcId) {
this.vpcId = vpcId;
if(vpcId != null){
putBodyParameter("VpcId", vpcId);
}
}

public List<String> getLniIdss() {
return this.lniIdss;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ public static class Content {

private String vpdId;

private String vpcId;

private String clusterId;

private List<Layer> topoInfo;

public String getRegionId() {
Expand All @@ -89,6 +93,22 @@ public void setVpdId(String vpdId) {
this.vpdId = vpdId;
}

public String getVpcId() {
return this.vpcId;
}

public void setVpcId(String vpcId) {
this.vpcId = vpcId;
}

public String getClusterId() {
return this.clusterId;
}

public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}

public List<Layer> getTopoInfo() {
return this.topoInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public static class Content {

private Integer lniSipQuota;

private Integer leniSipQuota;

private Integer hdeniQuota;

private List<String> vSwitches;
Expand Down Expand Up @@ -141,6 +143,14 @@ public void setLniSipQuota(Integer lniSipQuota) {
this.lniSipQuota = lniSipQuota;
}

public Integer getLeniSipQuota() {
return this.leniSipQuota;
}

public void setLeniSipQuota(Integer leniSipQuota) {
this.leniSipQuota = leniSipQuota;
}

public Integer getHdeniQuota() {
return this.hdeniQuota;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ public static class ContentItem {

private Integer lniSipQuota;

private Integer leniSipQuota;

private Integer hdeniQuota;

private List<String> vSwitches;

public String getRegionId() {
Expand Down Expand Up @@ -139,6 +143,22 @@ public void setLniSipQuota(Integer lniSipQuota) {
this.lniSipQuota = lniSipQuota;
}

public Integer getLeniSipQuota() {
return this.leniSipQuota;
}

public void setLeniSipQuota(Integer leniSipQuota) {
this.leniSipQuota = leniSipQuota;
}

public Integer getHdeniQuota() {
return this.hdeniQuota;
}

public void setHdeniQuota(Integer hdeniQuota) {
this.hdeniQuota = hdeniQuota;
}

public List<String> getVSwitches() {
return this.vSwitches;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public static GetFabricTopologyResponse unmarshall(GetFabricTopologyResponse get
Content content = new Content();
content.setRegionId(_ctx.stringValue("GetFabricTopologyResponse.Content.RegionId"));
content.setVpdId(_ctx.stringValue("GetFabricTopologyResponse.Content.VpdId"));
content.setVpcId(_ctx.stringValue("GetFabricTopologyResponse.Content.VpcId"));
content.setClusterId(_ctx.stringValue("GetFabricTopologyResponse.Content.ClusterId"));

List<Layer> topoInfo = new ArrayList<Layer>();
for (int i = 0; i < _ctx.lengthValue("GetFabricTopologyResponse.Content.TopoInfo.Length"); i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static GetNodeInfoForPodResponse unmarshall(GetNodeInfoForPodResponse get
content.setNodeId(_ctx.stringValue("GetNodeInfoForPodResponse.Content.NodeId"));
content.setLeniQuota(_ctx.integerValue("GetNodeInfoForPodResponse.Content.LeniQuota"));
content.setLniSipQuota(_ctx.integerValue("GetNodeInfoForPodResponse.Content.LniSipQuota"));
content.setLeniSipQuota(_ctx.integerValue("GetNodeInfoForPodResponse.Content.LeniSipQuota"));
content.setHdeniQuota(_ctx.integerValue("GetNodeInfoForPodResponse.Content.HdeniQuota"));

List<String> vSwitches = new ArrayList<String>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public static ListNodeInfosForPodResponse unmarshall(ListNodeInfosForPodResponse
contentItem.setNodeId(_ctx.stringValue("ListNodeInfosForPodResponse.Content["+ i +"].NodeId"));
contentItem.setLeniQuota(_ctx.integerValue("ListNodeInfosForPodResponse.Content["+ i +"].LeniQuota"));
contentItem.setLniSipQuota(_ctx.integerValue("ListNodeInfosForPodResponse.Content["+ i +"].LniSipQuota"));
contentItem.setLeniSipQuota(_ctx.integerValue("ListNodeInfosForPodResponse.Content["+ i +"].LeniSipQuota"));
contentItem.setHdeniQuota(_ctx.integerValue("ListNodeInfosForPodResponse.Content["+ i +"].HdeniQuota"));

List<String> vSwitches = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListNodeInfosForPodResponse.Content["+ i +"].VSwitches.Length"); j++) {
Expand Down

0 comments on commit dc796b0

Please sign in to comment.