Support not switching routes when VBR health check fails.
This commit is contained in:
@@ -38,12 +38,13 @@ namespace AlibabaCloud
|
||||
std::string linkStatus;
|
||||
int healthCheckInterval;
|
||||
std::string vbrInstanceId;
|
||||
std::string healthCheckSourceIp;
|
||||
int healthyThreshold;
|
||||
std::string healthCheckSourceIp;
|
||||
std::string cenId;
|
||||
long packetLoss;
|
||||
std::string healthCheckTargetIp;
|
||||
long delay;
|
||||
bool healthCheckOnly;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct GrantRule
|
||||
{
|
||||
std::string childInstanceType;
|
||||
std::string orderType;
|
||||
std::string cenId;
|
||||
long childInstanceOwnerId;
|
||||
std::string childInstanceId;
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace AlibabaCloud
|
||||
void setHealthyThreshold(int healthyThreshold);
|
||||
long getVbrInstanceOwnerId()const;
|
||||
void setVbrInstanceOwnerId(long vbrInstanceOwnerId);
|
||||
bool getHealthCheckOnly()const;
|
||||
void setHealthCheckOnly(bool healthCheckOnly);
|
||||
std::string getVbrInstanceRegionId()const;
|
||||
void setVbrInstanceRegionId(const std::string& vbrInstanceRegionId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
@@ -66,6 +68,7 @@ namespace AlibabaCloud
|
||||
std::string healthCheckTargetIp_;
|
||||
int healthyThreshold_;
|
||||
long vbrInstanceOwnerId_;
|
||||
bool healthCheckOnly_;
|
||||
std::string vbrInstanceRegionId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
|
||||
Reference in New Issue
Block a user