Skip to content

Commit b3c7c65

Browse files
committed
EHPC SDK Auto Released By qianzheng.llc,Version:1.36.21
Signed-off-by: haowei.yao <[email protected]>
1 parent a4e469e commit b3c7c65

File tree

9 files changed

+31
-355
lines changed

9 files changed

+31
-355
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-04-23 Version: 1.36.21
2+
1, Support mounting multiple volumes using different protocol
3+
2, Support scaling out cross AZ
4+
15
2019-04-22 Version: 1.36.20
26
1, This is an example of release-log.
37
2, Please strictly follow this format to edit in English.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.20
1+
1.36.21

ehpc/CMakeLists.txt

Lines changed: 2 additions & 354 deletions
Large diffs are not rendered by default.

ehpc/include/alibabacloud/ehpc/model/GetAutoScaleConfigResult.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ namespace AlibabaCloud
3636
{
3737
struct InstanceTypeInfo
3838
{
39+
std::string zoneId;
40+
std::string vSwitchId;
3941
float spotPriceLimit;
4042
std::string instanceType;
4143
std::string spotStrategy;

ehpc/include/alibabacloud/ehpc/model/ListNodesByQueueResult.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ namespace AlibabaCloud
4848
};
4949
std::string status;
5050
std::string imageOwnerAlias;
51+
std::string zoneId;
52+
std::string vSwitchId;
5153
bool expired;
5254
std::string addTime;
5355
UsedResources usedResources;
5456
bool createdByEhpc;
5557
std::string createMode;
58+
std::string vpcId;
5659
std::string version;
5760
TotalResources totalResources;
5861
std::string expiredTime;

ehpc/include/alibabacloud/ehpc/model/ListNodesResult.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@ namespace AlibabaCloud
4848
};
4949
std::string status;
5050
std::string imageOwnerAlias;
51+
std::string zoneId;
52+
std::string vSwitchId;
5153
bool expired;
5254
std::vector<std::string> roles;
5355
std::string addTime;
5456
UsedResources usedResources;
5557
bool createdByEhpc;
5658
std::string createMode;
59+
std::string vpcId;
5760
std::string version;
5861
TotalResources totalResources;
5962
std::string expiredTime;

ehpc/src/model/GetAutoScaleConfigResult.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ void GetAutoScaleConfigResult::parse(const std::string &payload)
6666
instanceTypesObject.spotStrategy = value["SpotStrategy"].asString();
6767
if(!value["SpotPriceLimit"].isNull())
6868
instanceTypesObject.spotPriceLimit = std::stof(value["SpotPriceLimit"].asString());
69+
if(!value["ZoneId"].isNull())
70+
instanceTypesObject.zoneId = value["ZoneId"].asString();
71+
if(!value["VSwitchId"].isNull())
72+
instanceTypesObject.vSwitchId = value["VSwitchId"].asString();
6973
queuesObject.instanceTypes.push_back(instanceTypesObject);
7074
}
7175
queues_.push_back(queuesObject);

ehpc/src/model/ListNodesByQueueResult.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ void ListNodesByQueueResult::parse(const std::string &payload)
7474
nodesObject.location = value["Location"].asString();
7575
if(!value["CreateMode"].isNull())
7676
nodesObject.createMode = value["CreateMode"].asString();
77+
if(!value["VpcId"].isNull())
78+
nodesObject.vpcId = value["VpcId"].asString();
79+
if(!value["ZoneId"].isNull())
80+
nodesObject.zoneId = value["ZoneId"].asString();
81+
if(!value["VSwitchId"].isNull())
82+
nodesObject.vSwitchId = value["VSwitchId"].asString();
7783
auto totalResourcesNode = value["TotalResources"];
7884
if(!totalResourcesNode["Cpu"].isNull())
7985
nodesObject.totalResources.cpu = std::stoi(totalResourcesNode["Cpu"].asString());

ehpc/src/model/ListNodesResult.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ void ListNodesResult::parse(const std::string &payload)
7474
nodesObject.location = value["Location"].asString();
7575
if(!value["CreateMode"].isNull())
7676
nodesObject.createMode = value["CreateMode"].asString();
77+
if(!value["VpcId"].isNull())
78+
nodesObject.vpcId = value["VpcId"].asString();
79+
if(!value["ZoneId"].isNull())
80+
nodesObject.zoneId = value["ZoneId"].asString();
81+
if(!value["VSwitchId"].isNull())
82+
nodesObject.vSwitchId = value["VSwitchId"].asString();
7783
auto totalResourcesNode = value["TotalResources"];
7884
if(!totalResourcesNode["Cpu"].isNull())
7985
nodesObject.totalResources.cpu = std::stoi(totalResourcesNode["Cpu"].asString());

0 commit comments

Comments
 (0)