Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ER/T Hosting HA chaos test and fixes #2806

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/inspect/controller_inspections.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ type ControllerInspectDetail struct {
Latency string `json:"latency"`
Version string `json:"version"`
TimeSinceLastContact string `json:"timeSinceLastContact"`
IsLeader bool `json:"isLeader"`
}
19 changes: 18 additions & 1 deletion common/inspect/terminator_inspections.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,24 @@ type SdkTerminatorInspectDetail struct {
AssignIds bool `json:"assignIds"`
V2 bool `json:"v2"`
SupportsInspect bool `json:"supportsInspect"`
OperationActive bool `json:"establishActive"`
OperationActive bool `json:"operationActive"`
CreateTime string `json:"createTime"`
LastAttempt string `json:"lastAttempt"`
}

type ErtTerminatorInspectResult struct {
Entries []*ErtTerminatorInspectDetail `json:"entries"`
Errors []string `json:"errors"`
}

type ErtTerminatorInspectDetail struct {
Key string `json:"key"`
Id string `json:"id"`
State string `json:"state"`
Instance string `json:"instance"`
Cost uint16 `json:"cost"`
Precedence string `json:"precedence"`
OperationActive bool `json:"operationActive"`
CreateTime string `json:"createTime"`
LastAttempt string `json:"lastAttempt"`
}
2 changes: 1 addition & 1 deletion common/pb/edge_cmd_pb/edge_cmd.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

653 changes: 338 additions & 315 deletions common/pb/edge_ctrl_pb/edge_ctrl.pb.go

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions common/pb/edge_ctrl_pb/edge_ctrl.proto
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ message CreateTunnelTerminatorRequestV2 {
message CreateTunnelTerminatorResponseV2 {
string terminatorId = 1;
int64 startTime = 2;
CreateTerminatorResult result = 3;
string msg = 4;
}

message UpdateTunnelTerminatorRequest {
Expand Down
12 changes: 12 additions & 0 deletions common/pb/mgmt_pb/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ func (request *RouterSdkTerminatorsDetails) GetContentType() int32 {
return int32(ContentType_ValidateRouterSdkTerminatorsResultType)
}

func (request *ValidateRouterErtTerminatorsRequest) GetContentType() int32 {
return int32(ContentType_ValidateRouterErtTerminatorsRequestType)
}

func (request *ValidateRouterErtTerminatorsResponse) GetContentType() int32 {
return int32(ContentType_ValidateRouterErtTerminatorsResponseType)
}

func (request *RouterErtTerminatorsDetails) GetContentType() int32 {
return int32(ContentType_ValidateRouterErtTerminatorsResultType)
}

func (request *ValidateRouterDataModelRequest) GetContentType() int32 {
return int32(ContentType_ValidateRouterDataModelRequestType)
}
Expand Down
Loading
Loading