Skip to content
Merged
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
18 changes: 9 additions & 9 deletions go/metalstack/api/v2/switch.pb.go

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

14 changes: 7 additions & 7 deletions proto/metalstack/api/v2/switch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -160,23 +160,23 @@ enum BGPState {
// BGP_STATE_UNSPECIFIED is not specified.
BGP_STATE_UNSPECIFIED = 0;
// BGP_STATE_IDLE is the Idle state of a BGP session.
BGP_STATE_IDLE = 1 [(enum_string_value) = "idle"];
BGP_STATE_IDLE = 1 [(enum_string_value) = "Idle"];
// BGP_STATE_CONNECT is the Connect state of a BGP session.
BGP_STATE_CONNECT = 2 [(enum_string_value) = "connect"];
BGP_STATE_CONNECT = 2 [(enum_string_value) = "Connect"];
// BGP_STATE_ACTIVE is the Active state of a BGP session.
BGP_STATE_ACTIVE = 3 [(enum_string_value) = "active"];
BGP_STATE_ACTIVE = 3 [(enum_string_value) = "Active"];
// BGP_STATE_OPEN_SENT is the OpenSent state of a BGP session.
BGP_STATE_OPEN_SENT = 4 [(enum_string_value) = "open-sent"];
BGP_STATE_OPEN_SENT = 4 [(enum_string_value) = "OpenSent"];
// BGP_STATE_OPEN_CONFIRM is the OpenConfirm state of a BGP session.
BGP_STATE_OPEN_CONFIRM = 5 [(enum_string_value) = "open-confirm"];
BGP_STATE_OPEN_CONFIRM = 5 [(enum_string_value) = "OpenConfirm"];
// BGP_STATE_ESTABLISHED is the Established state of a BGP session.
BGP_STATE_ESTABLISHED = 6 [(enum_string_value) = "established"];
BGP_STATE_ESTABLISHED = 6 [(enum_string_value) = "Established"];
}

// SwitchReplaceMode is used to mark a switch ready for replacement.
enum SwitchReplaceMode {
// SWITCH_REPLACE_MODE_UNSPECIFIED is not specified.
SWITCH_REPLACE_MODE_UNSPECIFIED = 0;
SWITCH_REPLACE_MODE_UNSPECIFIED = 0 [(enum_string_value) = ""];
// SWITCH_REPLACE_MODE_REPLACE means this switch is waiting to be replaced.
SWITCH_REPLACE_MODE_REPLACE = 1 [(enum_string_value) = "replace"];
// SWITCH_REPLACE_MODE_OPERATIONAL means this switch is operational and cannot be replaced.
Expand Down
Loading
Loading