@@ -1472,6 +1472,10 @@ <h2>Table of Contents</h2>
14721472 <a href="#metalstack.api.v2.SwitchQuery"><span class="badge">M</span>SwitchQuery</a>
14731473 </li>
14741474
1475+ <li>
1476+ <a href="#metalstack.api.v2.SwitchSync"><span class="badge">M</span>SwitchSync</a>
1477+ </li>
1478+
14751479
14761480 <li>
14771481 <a href="#metalstack.api.v2.BGPState"><span class="badge">E</span>BGPState</a>
@@ -2229,10 +2233,6 @@ <h2>Table of Contents</h2>
22292233 <a href="#metalstack.infra.v2.SwitchServiceRegisterResponse"><span class="badge">M</span>SwitchServiceRegisterResponse</a>
22302234 </li>
22312235
2232- <li>
2233- <a href="#metalstack.infra.v2.SwitchSync"><span class="badge">M</span>SwitchSync</a>
2234- </li>
2235-
22362236
22372237
22382238
@@ -12498,6 +12498,20 @@ <h3 id="metalstack.api.v2.Switch">Switch</h3>
1249812498 <td><p>MachineConnections map machines to the nics they are connected to. </p></td>
1249912499 </tr>
1250012500
12501+ <tr>
12502+ <td>last_sync</td>
12503+ <td><a href="#metalstack.api.v2.SwitchSync">SwitchSync</a></td>
12504+ <td></td>
12505+ <td><p>LastSync contains information about the last heartbeat of the switch. </p></td>
12506+ </tr>
12507+
12508+ <tr>
12509+ <td>last_sync_error</td>
12510+ <td><a href="#metalstack.api.v2.SwitchSync">SwitchSync</a></td>
12511+ <td></td>
12512+ <td><p>LastSyncError contains information about the last unsuccessful heartbeat of the switch. </p></td>
12513+ </tr>
12514+
1250112515 </tbody>
1250212516 </table>
1250312517
@@ -12751,6 +12765,44 @@ <h3 id="metalstack.api.v2.SwitchQuery">SwitchQuery</h3>
1275112765
1275212766
1275312767
12768+ <h3 id="metalstack.api.v2.SwitchSync">SwitchSync</h3>
12769+ <p>SwitchSync summarizes information about a switch sync.</p>
12770+
12771+
12772+ <table class="field-table">
12773+ <thead>
12774+ <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
12775+ </thead>
12776+ <tbody>
12777+
12778+ <tr>
12779+ <td>time</td>
12780+ <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
12781+ <td></td>
12782+ <td><p>Time of the sync. </p></td>
12783+ </tr>
12784+
12785+ <tr>
12786+ <td>duration</td>
12787+ <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
12788+ <td></td>
12789+ <td><p>Duration of the sync. </p></td>
12790+ </tr>
12791+
12792+ <tr>
12793+ <td>error</td>
12794+ <td><a href="#string">string</a></td>
12795+ <td>optional</td>
12796+ <td><p>Error if any occurred. </p></td>
12797+ </tr>
12798+
12799+ </tbody>
12800+ </table>
12801+
12802+
12803+
12804+
12805+
1275412806
1275512807
1275612808 <h3 id="metalstack.api.v2.BGPState">BGPState</h3>
@@ -16748,13 +16800,6 @@ <h3 id="metalstack.infra.v2.WaitForMachineEventRequest">WaitForMachineEventReque
1674816800 <td><p>Partition the partition id where metal-bmc wants to receive events </p></td>
1674916801 </tr>
1675016802
16751- <tr>
16752- <td>hostname</td>
16753- <td><a href="#string">string</a></td>
16754- <td></td>
16755- <td><p>Hostname should be set to the senders hostname, e.g. from the server metal-bmc is running on. </p></td>
16756- </tr>
16757-
1675816803 </tbody>
1675916804 </table>
1676016805
@@ -17695,14 +17740,14 @@ <h3 id="metalstack.infra.v2.SwitchServiceHeartbeatResponse">SwitchServiceHeartbe
1769517740
1769617741 <tr>
1769717742 <td>last_sync</td>
17698- <td><a href="#metalstack.infra .v2.SwitchSync">SwitchSync</a></td>
17743+ <td><a href="#metalstack.api .v2.SwitchSync">metalstack.api.v2. SwitchSync</a></td>
1769917744 <td></td>
1770017745 <td><p>LastSync holds information about the last sync. </p></td>
1770117746 </tr>
1770217747
1770317748 <tr>
1770417749 <td>last_sync_error</td>
17705- <td><a href="#metalstack.infra .v2.SwitchSync">SwitchSync</a></td>
17750+ <td><a href="#metalstack.api .v2.SwitchSync">metalstack.api.v2. SwitchSync</a></td>
1770617751 <td></td>
1770717752 <td><p>LastSyncError holds information about the last erroneous sync. </p></td>
1770817753 </tr>
@@ -17762,44 +17807,6 @@ <h3 id="metalstack.infra.v2.SwitchServiceRegisterResponse">SwitchServiceRegister
1776217807
1776317808
1776417809
17765- <h3 id="metalstack.infra.v2.SwitchSync">SwitchSync</h3>
17766- <p>SwitchSync summarizes information about a switch sync.</p>
17767-
17768-
17769- <table class="field-table">
17770- <thead>
17771- <tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
17772- </thead>
17773- <tbody>
17774-
17775- <tr>
17776- <td>time</td>
17777- <td><a href="#google.protobuf.Timestamp">google.protobuf.Timestamp</a></td>
17778- <td></td>
17779- <td><p>Time of the sync. </p></td>
17780- </tr>
17781-
17782- <tr>
17783- <td>duration</td>
17784- <td><a href="#google.protobuf.Duration">google.protobuf.Duration</a></td>
17785- <td></td>
17786- <td><p>Duration of the sync. </p></td>
17787- </tr>
17788-
17789- <tr>
17790- <td>error</td>
17791- <td><a href="#string">string</a></td>
17792- <td>optional</td>
17793- <td><p>Error if any occurred. </p></td>
17794- </tr>
17795-
17796- </tbody>
17797- </table>
17798-
17799-
17800-
17801-
17802-
1780317810
1780417811
1780517812
0 commit comments