Skip to content

Commit e704529

Browse files
authored
fix merge (#54)
1 parent d0ee83d commit e704529

File tree

5 files changed

+21
-4
lines changed

5 files changed

+21
-4
lines changed

doc/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10797,6 +10797,12 @@ <h3 id="metalstack.api.v2.SwitchPortStatus">SwitchPortStatus</h3>
1079710797
<td><p>SWITCH_PORT_STATUS_DOWN means this port is down.</p></td>
1079810798
</tr>
1079910799

10800+
<tr>
10801+
<td>SWITCH_PORT_STATUS_UNKNOWN</td>
10802+
<td>3</td>
10803+
<td><p>SWITCH_PORT_STATUS_UNKNOWN means the status of this port is unknown.</p></td>
10804+
</tr>
10805+
1080010806
</tbody>
1080110807
</table>
1080210808

go/metalstack/api/v2/switch.pb.go

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

proto/metalstack/api/v2/switch.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,6 @@ enum SwitchPortStatus {
186186
SWITCH_PORT_STATUS_UP = 1 [(enum_string_value) = "up"];
187187
// SWITCH_PORT_STATUS_DOWN means this port is down.
188188
SWITCH_PORT_STATUS_DOWN = 2 [(enum_string_value) = "down"];
189+
// SWITCH_PORT_STATUS_UNKNOWN means the status of this port is unknown.
190+
SWITCH_PORT_STATUS_UNKNOWN = 3 [(enum_string_value) = "unknown"];
189191
}

python/metalstack/api/v2/switch_pb2.py

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/metalstack/api/v2/switch_pb2.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class SwitchPortStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
4040
SWITCH_PORT_STATUS_UNSPECIFIED: _ClassVar[SwitchPortStatus]
4141
SWITCH_PORT_STATUS_UP: _ClassVar[SwitchPortStatus]
4242
SWITCH_PORT_STATUS_DOWN: _ClassVar[SwitchPortStatus]
43+
SWITCH_PORT_STATUS_UNKNOWN: _ClassVar[SwitchPortStatus]
4344
BGP_STATE_UNSPECIFIED: BGPState
4445
BGP_STATE_IDLE: BGPState
4546
BGP_STATE_CONNECT: BGPState
@@ -56,6 +57,7 @@ SWITCH_OS_VENDOR_SONIC: SwitchOSVendor
5657
SWITCH_PORT_STATUS_UNSPECIFIED: SwitchPortStatus
5758
SWITCH_PORT_STATUS_UP: SwitchPortStatus
5859
SWITCH_PORT_STATUS_DOWN: SwitchPortStatus
60+
SWITCH_PORT_STATUS_UNKNOWN: SwitchPortStatus
5961

6062
class Switch(_message.Message):
6163
__slots__ = ("id", "meta", "description", "rack", "partition", "replace_mode", "management_ip", "management_user", "console_command", "nics", "os", "machine_connections")

0 commit comments

Comments
 (0)