Skip to content

Commit 2f183a3

Browse files
authored
Allow updating machine connections of a switch (#80)
1 parent 9d41307 commit 2f183a3

File tree

5 files changed

+71
-48
lines changed

5 files changed

+71
-48
lines changed

doc/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12324,6 +12324,13 @@ <h3 id="metalstack.admin.v2.SwitchServiceUpdateRequest">SwitchServiceUpdateReque
1232412324
<td><p>SwitchOs is the OS running on the switch. </p></td>
1232512325
</tr>
1232612326

12327+
<tr>
12328+
<td>machine_connections</td>
12329+
<td><a href="#metalstack.api.v2.MachineConnection">metalstack.api.v2.MachineConnection</a></td>
12330+
<td>repeated</td>
12331+
<td><p>MachineConnections map machines to the nics they are connected to. </p></td>
12332+
</tr>
12333+
1232712334
</tbody>
1232812335
</table>
1232912336

go/metalstack/admin/v2/switch.pb.go

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

proto/metalstack/admin/v2/switch.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ message SwitchServiceUpdateRequest {
9393
repeated metalstack.api.v2.SwitchNic nics = 9;
9494
// SwitchOs is the OS running on the switch.
9595
optional metalstack.api.v2.SwitchOS os = 10;
96+
// MachineConnections map machines to the nics they are connected to.
97+
repeated metalstack.api.v2.MachineConnection machine_connections = 11;
9698
}
9799

98100
// SwitchServiceUpdateResponse.

0 commit comments

Comments
 (0)