Skip to content

Commit 1d10996

Browse files
committed
Supported Jumbo for HDENI and LENI.
1 parent 48362f9 commit 1d10996

18 files changed

+410
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2032
1+
1.36.2033

eflo/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ set(eflo_public_header_model
125125
include/alibabacloud/eflo/model/ListNodeInfosForPodResult.h
126126
include/alibabacloud/eflo/model/ListSubnetsRequest.h
127127
include/alibabacloud/eflo/model/ListSubnetsResult.h
128+
include/alibabacloud/eflo/model/ListVccFlowInfosRequest.h
129+
include/alibabacloud/eflo/model/ListVccFlowInfosResult.h
128130
include/alibabacloud/eflo/model/ListVccGrantRulesRequest.h
129131
include/alibabacloud/eflo/model/ListVccGrantRulesResult.h
130132
include/alibabacloud/eflo/model/ListVccRouteEntriesRequest.h
@@ -268,6 +270,8 @@ set(eflo_src
268270
src/model/ListNodeInfosForPodResult.cc
269271
src/model/ListSubnetsRequest.cc
270272
src/model/ListSubnetsResult.cc
273+
src/model/ListVccFlowInfosRequest.cc
274+
src/model/ListVccFlowInfosResult.cc
271275
src/model/ListVccGrantRulesRequest.cc
272276
src/model/ListVccGrantRulesResult.cc
273277
src/model/ListVccRouteEntriesRequest.cc

eflo/include/alibabacloud/eflo/EfloClient.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@
126126
#include "model/ListNodeInfosForPodResult.h"
127127
#include "model/ListSubnetsRequest.h"
128128
#include "model/ListSubnetsResult.h"
129+
#include "model/ListVccFlowInfosRequest.h"
130+
#include "model/ListVccFlowInfosResult.h"
129131
#include "model/ListVccGrantRulesRequest.h"
130132
#include "model/ListVccGrantRulesResult.h"
131133
#include "model/ListVccRouteEntriesRequest.h"
@@ -327,6 +329,9 @@ namespace AlibabaCloud
327329
typedef Outcome<Error, Model::ListSubnetsResult> ListSubnetsOutcome;
328330
typedef std::future<ListSubnetsOutcome> ListSubnetsOutcomeCallable;
329331
typedef std::function<void(const EfloClient*, const Model::ListSubnetsRequest&, const ListSubnetsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSubnetsAsyncHandler;
332+
typedef Outcome<Error, Model::ListVccFlowInfosResult> ListVccFlowInfosOutcome;
333+
typedef std::future<ListVccFlowInfosOutcome> ListVccFlowInfosOutcomeCallable;
334+
typedef std::function<void(const EfloClient*, const Model::ListVccFlowInfosRequest&, const ListVccFlowInfosOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVccFlowInfosAsyncHandler;
330335
typedef Outcome<Error, Model::ListVccGrantRulesResult> ListVccGrantRulesOutcome;
331336
typedef std::future<ListVccGrantRulesOutcome> ListVccGrantRulesOutcomeCallable;
332337
typedef std::function<void(const EfloClient*, const Model::ListVccGrantRulesRequest&, const ListVccGrantRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListVccGrantRulesAsyncHandler;
@@ -542,6 +547,9 @@ namespace AlibabaCloud
542547
ListSubnetsOutcome listSubnets(const Model::ListSubnetsRequest &request)const;
543548
void listSubnetsAsync(const Model::ListSubnetsRequest& request, const ListSubnetsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
544549
ListSubnetsOutcomeCallable listSubnetsCallable(const Model::ListSubnetsRequest& request) const;
550+
ListVccFlowInfosOutcome listVccFlowInfos(const Model::ListVccFlowInfosRequest &request)const;
551+
void listVccFlowInfosAsync(const Model::ListVccFlowInfosRequest& request, const ListVccFlowInfosAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
552+
ListVccFlowInfosOutcomeCallable listVccFlowInfosCallable(const Model::ListVccFlowInfosRequest& request) const;
545553
ListVccGrantRulesOutcome listVccGrantRules(const Model::ListVccGrantRulesRequest &request)const;
546554
void listVccGrantRulesAsync(const Model::ListVccGrantRulesRequest& request, const ListVccGrantRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
547555
ListVccGrantRulesOutcomeCallable listVccGrantRulesCallable(const Model::ListVccGrantRulesRequest& request) const;

eflo/include/alibabacloud/eflo/model/CreateElasticNetworkInterfaceRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class ALIBABACLOUD_EFLO_EXPORT CreateElasticNetworkInterfaceRequest : public Rpc
4040
void setRegionId(const std::string &regionId);
4141
std::string getNodeId() const;
4242
void setNodeId(const std::string &nodeId);
43+
bool getEnableJumboFrame() const;
44+
void setEnableJumboFrame(bool enableJumboFrame);
4345
std::string getVSwitchId() const;
4446
void setVSwitchId(const std::string &vSwitchId);
4547
std::string getVpcId() const;
@@ -53,6 +55,7 @@ class ALIBABACLOUD_EFLO_EXPORT CreateElasticNetworkInterfaceRequest : public Rpc
5355
std::string description_;
5456
std::string regionId_;
5557
std::string nodeId_;
58+
bool enableJumboFrame_;
5659
std::string vSwitchId_;
5760
std::string vpcId_;
5861
std::string zoneId_;

eflo/include/alibabacloud/eflo/model/CreateVccRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ class ALIBABACLOUD_EFLO_EXPORT CreateVccRequest : public RpcServiceRequest {
4242
void setDescription(const std::string &description);
4343
std::string getCenOwnerId() const;
4444
void setCenOwnerId(const std::string &cenOwnerId);
45+
long getBgpAsn() const;
46+
void setBgpAsn(long bgpAsn);
4547
bool getAccessCouldService() const;
4648
void setAccessCouldService(bool accessCouldService);
4749
std::string getResourceGroupId() const;
@@ -72,6 +74,7 @@ class ALIBABACLOUD_EFLO_EXPORT CreateVccRequest : public RpcServiceRequest {
7274
std::string cenId_;
7375
std::string description_;
7476
std::string cenOwnerId_;
77+
long bgpAsn_;
7578
bool accessCouldService_;
7679
std::string resourceGroupId_;
7780
std::string vccName_;

eflo/include/alibabacloud/eflo/model/GetElasticNetworkInterfaceResult.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ namespace AlibabaCloud
4646
std::string gmtModified;
4747
std::string regionId;
4848
};
49+
struct Ipv6Addresse
50+
{
51+
std::string status;
52+
std::string elasticNetworkInterfaceId;
53+
std::string ipName;
54+
std::string gmtCreate;
55+
std::string description;
56+
std::string message;
57+
std::string gmtModified;
58+
std::string regionId;
59+
std::string ipv6Address;
60+
};
4961
std::string status;
5062
std::string description;
5163
std::vector<PrivateIpAddress> privateIpAddresses;
@@ -57,10 +69,12 @@ namespace AlibabaCloud
5769
std::string securityGroupId;
5870
std::string mask;
5971
std::string gmtModified;
72+
std::vector<Ipv6Addresse> ipv6Addresses;
6073
std::string mac;
6174
std::string elasticNetworkInterfaceId;
6275
std::string type;
6376
std::string vpcId;
77+
bool enableJumboFrame;
6478
std::string gateway;
6579
std::string nodeId;
6680
std::string regionId;

eflo/include/alibabacloud/eflo/model/GetVccResult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ namespace AlibabaCloud
120120
std::string duration;
121121
std::string payType;
122122
std::vector<AliyunRouterInfoItem> aliyunRouterInfo;
123+
std::string bgpAsn;
123124
std::string internetChargeType;
124125
std::string bandwidthStr;
125126
std::vector<CisRouterInfoItem> cisRouterInfo;
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_H_
18+
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_H_
19+
20+
#include <alibabacloud/eflo/EfloExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Eflo {
28+
namespace Model {
29+
class ALIBABACLOUD_EFLO_EXPORT ListVccFlowInfosRequest : public RpcServiceRequest {
30+
public:
31+
ListVccFlowInfosRequest();
32+
~ListVccFlowInfosRequest();
33+
std::string getRegionId() const;
34+
void setRegionId(const std::string &regionId);
35+
long getFrom() const;
36+
void setFrom(long from);
37+
long getTo() const;
38+
void setTo(long to);
39+
std::string getVccId() const;
40+
void setVccId(const std::string &vccId);
41+
std::string getMetricName() const;
42+
void setMetricName(const std::string &metricName);
43+
std::string getDirection() const;
44+
void setDirection(const std::string &direction);
45+
46+
private:
47+
std::string regionId_;
48+
long from_;
49+
long to_;
50+
std::string vccId_;
51+
std::string metricName_;
52+
std::string direction_;
53+
};
54+
} // namespace Model
55+
} // namespace Eflo
56+
} // namespace AlibabaCloud
57+
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSREQUEST_H_
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSRESULT_H_
18+
#define ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/eflo/EfloExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Eflo
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_EFLO_EXPORT ListVccFlowInfosResult : public ServiceResult
33+
{
34+
public:
35+
struct Content
36+
{
37+
struct DataItem
38+
{
39+
std::string metricName;
40+
double value;
41+
std::string regionId;
42+
std::string vccId;
43+
std::string direction;
44+
long timestamp;
45+
};
46+
long total;
47+
std::vector<DataItem> data;
48+
};
49+
50+
51+
ListVccFlowInfosResult();
52+
explicit ListVccFlowInfosResult(const std::string &payload);
53+
~ListVccFlowInfosResult();
54+
std::string getMessage()const;
55+
Content getContent()const;
56+
int getCode()const;
57+
58+
protected:
59+
void parse(const std::string &payload);
60+
private:
61+
std::string message_;
62+
Content content_;
63+
int code_;
64+
65+
};
66+
}
67+
}
68+
}
69+
#endif // !ALIBABACLOUD_EFLO_MODEL_LISTVCCFLOWINFOSRESULT_H_

eflo/include/alibabacloud/eflo/model/ListVccsResult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ namespace AlibabaCloud
7979
std::string connectionType;
8080
double rate;
8181
std::string createTime;
82+
std::string bgpAsn;
8283
std::string bandwidthStr;
8384
std::string tenantId;
8485
std::string vpcId;

0 commit comments

Comments
 (0)