Skip to content
Draft
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
139 changes: 139 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,10 @@ <h2>Table of Contents</h2>
<a href="#metalstack.api.v2.SwitchReplaceMode"><span class="badge">E</span>SwitchReplaceMode</a>
</li>

<li>
<a href="#metalstack.api.v2.SwitchType"><span class="badge">E</span>SwitchType</a>
</li>



</ul>
Expand Down Expand Up @@ -1984,6 +1988,10 @@ <h2>Table of Contents</h2>
<a href="#metalstack%2finfra%2fv2%2fswitch.proto">metalstack/infra/v2/switch.proto</a>
<ul>

<li>
<a href="#metalstack.infra.v2.BGPRoute"><span class="badge">M</span>BGPRoute</a>
</li>

<li>
<a href="#metalstack.infra.v2.SwitchServiceGetRequest"><span class="badge">M</span>SwitchServiceGetRequest</a>
</li>
Expand Down Expand Up @@ -2016,6 +2024,14 @@ <h2>Table of Contents</h2>
<a href="#metalstack.infra.v2.SwitchServiceRegisterResponse"><span class="badge">M</span>SwitchServiceRegisterResponse</a>
</li>

<li>
<a href="#metalstack.infra.v2.SwitchServiceReportBGPRoutesRequest"><span class="badge">M</span>SwitchServiceReportBGPRoutesRequest</a>
</li>

<li>
<a href="#metalstack.infra.v2.SwitchServiceReportBGPRoutesResponse"><span class="badge">M</span>SwitchServiceReportBGPRoutesResponse</a>
</li>

<li>
<a href="#metalstack.infra.v2.SwitchSync"><span class="badge">M</span>SwitchSync</a>
</li>
Expand Down Expand Up @@ -11562,6 +11578,13 @@ <h3 id="metalstack.api.v2.Switch">Switch</h3>
<td><p>MachineConnections map machines to the nics they are connected to. </p></td>
</tr>

<tr>
<td>type</td>
<td><a href="#metalstack.api.v2.SwitchType">SwitchType</a></td>
<td></td>
<td><p>Type is the role of the switch. </p></td>
</tr>

</tbody>
</table>

Expand Down Expand Up @@ -11963,6 +11986,53 @@ <h3 id="metalstack.api.v2.SwitchReplaceMode">SwitchReplaceMode</h3>
</tbody>
</table>

<h3 id="metalstack.api.v2.SwitchType">SwitchType</h3>
<p>SwitchType represents the role of a switch</p>
<table class="enum-table">
<thead>
<tr><td>Name</td><td>Number</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>SWITCH_TYPE_UNSPECIFIED</td>
<td>0</td>
<td><p>SWITCH_TYPE_UNSPECIFIED is not specified</p></td>
</tr>

<tr>
<td>SWITCH_TYPE_LEAF</td>
<td>1</td>
<td><p>SWITCH_TYPE_LEAF is a leaf switch</p></td>
</tr>

<tr>
<td>SWITCH_TYPE_EXIT</td>
<td>2</td>
<td><p>SWITCH_TYPE_EXIT is an exit switch</p></td>
</tr>

<tr>
<td>SWITCH_TYPE_SPINE</td>
<td>3</td>
<td><p>SWITCH_TYPE_SPINE is a spine switch</p></td>
</tr>

<tr>
<td>SWITCH_TYPE_MGMTLEAF</td>
<td>4</td>
<td><p>SWITCH_TYPE_MGMTLEAF is a special type of leaf used only for management tasks</p></td>
</tr>

<tr>
<td>SWITCH_TYPE_MGMTSPINE</td>
<td>5</td>
<td><p>SWITCH_TYPE_MGMTSPINE is a special type of spine used only for management tasks</p></td>
</tr>

</tbody>
</table>




Expand Down Expand Up @@ -15605,6 +15675,30 @@ <h2 id="metalstack/infra/v2/switch.proto">metalstack/infra/v2/switch.proto</h2><
<p></p>


<h3 id="metalstack.infra.v2.BGPRoute">BGPRoute</h3>
<p>BGPRoute represents the route to a prefix.</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>cidr</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>CIDR of the network that is routed to. </p></td>
</tr>

</tbody>
</table>





<h3 id="metalstack.infra.v2.SwitchServiceGetRequest">SwitchServiceGetRequest</h3>
<p>SwitchServiceGetRequest.</p>

Expand Down Expand Up @@ -15853,6 +15947,44 @@ <h3 id="metalstack.infra.v2.SwitchServiceRegisterResponse">SwitchServiceRegister



<h3 id="metalstack.infra.v2.SwitchServiceReportBGPRoutesRequest">SwitchServiceReportBGPRoutesRequest</h3>
<p>SwitchServiceReportBGPRoutesRequest.</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>switch_id</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>Switch ID of the switch that reports its routes. </p></td>
</tr>

<tr>
<td>bgp_routes</td>
<td><a href="#metalstack.infra.v2.BGPRoute">BGPRoute</a></td>
<td>repeated</td>
<td><p>BGP routes collected on the switch. </p></td>
</tr>

</tbody>
</table>





<h3 id="metalstack.infra.v2.SwitchServiceReportBGPRoutesResponse">SwitchServiceReportBGPRoutesResponse</h3>
<p>SwitchServiceReportBGPRoutesResponse.</p>





<h3 id="metalstack.infra.v2.SwitchSync">SwitchSync</h3>
<p>SwitchSync summarizes information about a switch sync.</p>

Expand Down Expand Up @@ -15926,6 +16058,13 @@ <h3 id="metalstack.infra.v2.SwitchService">SwitchService</h3>
<td><p>Heartbeat a switch.</p></td>
</tr>

<tr>
<td>ReportBGPRoutes</td>
<td><a href="#metalstack.infra.v2.SwitchServiceReportBGPRoutesRequest">SwitchServiceReportBGPRoutesRequest</a></td>
<td><a href="#metalstack.infra.v2.SwitchServiceReportBGPRoutesResponse">SwitchServiceReportBGPRoutesResponse</a></td>
<td><p>ReportBGPRoutes of a switch</p></td>
</tr>

</tbody>
</table>

Expand Down
Loading