Skip to content

Commit 6549b35

Browse files
authored
Rename machine-role to machine-allocation-type which is more appropriate (#28)
1 parent e2d7c13 commit 6549b35

File tree

5 files changed

+314
-244
lines changed

5 files changed

+314
-244
lines changed

doc/index.html

Lines changed: 64 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,15 +1589,15 @@ <h2>Table of Contents</h2>
15891589
</li>
15901590

15911591
<li>
1592-
<a href="#metalstack.api.v2.MachineLiveliness"><span class="badge">E</span>MachineLiveliness</a>
1592+
<a href="#metalstack.api.v2.MachineAllocationType"><span class="badge">E</span>MachineAllocationType</a>
15931593
</li>
15941594

15951595
<li>
1596-
<a href="#metalstack.api.v2.MachineProvisioningEventState"><span class="badge">E</span>MachineProvisioningEventState</a>
1596+
<a href="#metalstack.api.v2.MachineLiveliness"><span class="badge">E</span>MachineLiveliness</a>
15971597
</li>
15981598

15991599
<li>
1600-
<a href="#metalstack.api.v2.MachineRole"><span class="badge">E</span>MachineRole</a>
1600+
<a href="#metalstack.api.v2.MachineProvisioningEventState"><span class="badge">E</span>MachineProvisioningEventState</a>
16011601
</li>
16021602

16031603
<li>
@@ -14661,10 +14661,10 @@ <h3 id="metalstack.api.v2.MachineAllocation">MachineAllocation</h3>
1466114661
</tr>
1466214662

1466314663
<tr>
14664-
<td>role</td>
14665-
<td><a href="#metalstack.api.v2.MachineRole">MachineRole</a></td>
14666-
<td></td>
14667-
<td><p>Role defines if this is machine or a firewall </p></td>
14664+
<td>allocation_type</td>
14665+
<td><a href="#metalstack.api.v2.MachineAllocationType">MachineAllocationType</a></td>
14666+
<td>optional</td>
14667+
<td><p>AllocationType of this machine </p></td>
1466814668
</tr>
1466914669

1467014670
<tr>
@@ -14787,10 +14787,10 @@ <h3 id="metalstack.api.v2.MachineAllocationQuery">MachineAllocationQuery</h3>
1478714787
</tr>
1478814788

1478914789
<tr>
14790-
<td>role</td>
14791-
<td><a href="#metalstack.api.v2.MachineRole">MachineRole</a></td>
14790+
<td>allocation_type</td>
14791+
<td><a href="#metalstack.api.v2.MachineAllocationType">MachineAllocationType</a></td>
1479214792
<td>optional</td>
14793-
<td><p>Role of this machine </p></td>
14793+
<td><p>AllocationType of this machine </p></td>
1479414794
</tr>
1479514795

1479614796
</tbody>
@@ -15333,6 +15333,27 @@ <h3 id="metalstack.api.v2.MachineNic">MachineNic</h3>
1533315333
<td><p>Identifier the unique identifier of this network interface </p></td>
1533415334
</tr>
1533515335

15336+
<tr>
15337+
<td>vendor</td>
15338+
<td><a href="#string">string</a></td>
15339+
<td></td>
15340+
<td><p>Vendor of this network card </p></td>
15341+
</tr>
15342+
15343+
<tr>
15344+
<td>model</td>
15345+
<td><a href="#string">string</a></td>
15346+
<td></td>
15347+
<td><p>Model of this network card </p></td>
15348+
</tr>
15349+
15350+
<tr>
15351+
<td>speed</td>
15352+
<td><a href="#uint64">uint64</a></td>
15353+
<td></td>
15354+
<td><p>Speed in bits/second of this network card </p></td>
15355+
</tr>
15356+
1533615357
<tr>
1533715358
<td>neighbors</td>
1533815359
<td><a href="#metalstack.api.v2.MachineNic">MachineNic</a></td>
@@ -15739,10 +15760,10 @@ <h3 id="metalstack.api.v2.MachineServiceCreateRequest">MachineServiceCreateReque
1573915760
</tr>
1574015761

1574115762
<tr>
15742-
<td>role</td>
15743-
<td><a href="#metalstack.api.v2.MachineRole">MachineRole</a></td>
15744-
<td></td>
15745-
<td><p>Role defines if this is machine or a firewall </p></td>
15763+
<td>allocation_type</td>
15764+
<td><a href="#metalstack.api.v2.MachineAllocationType">MachineAllocationType</a></td>
15765+
<td>optional</td>
15766+
<td><p>AllocationType of this machine </p></td>
1574615767
</tr>
1574715768

1574815769
<tr>
@@ -16216,6 +16237,35 @@ <h3 id="metalstack.api.v2.IPProtocol">IPProtocol</h3>
1621616237
</tbody>
1621716238
</table>
1621816239

16240+
<h3 id="metalstack.api.v2.MachineAllocationType">MachineAllocationType</h3>
16241+
<p>MachineAllocationType defines if this is a machine or a firewall</p>
16242+
<table class="enum-table">
16243+
<thead>
16244+
<tr><td>Name</td><td>Number</td><td>Description</td></tr>
16245+
</thead>
16246+
<tbody>
16247+
16248+
<tr>
16249+
<td>MACHINE_ALLOCATION_TYPE_UNSPECIFIED</td>
16250+
<td>0</td>
16251+
<td><p>MACHINE_ALLOCATION_TYPE_UNSPECIFIED is unspecified</p></td>
16252+
</tr>
16253+
16254+
<tr>
16255+
<td>MACHINE_ALLOCATION_TYPE_MACHINE</td>
16256+
<td>1</td>
16257+
<td><p>MACHINE_ALLOCATION_TYPE_MACHINE is a machine</p></td>
16258+
</tr>
16259+
16260+
<tr>
16261+
<td>MACHINE_ALLOCATION_TYPE_FIREWALL</td>
16262+
<td>2</td>
16263+
<td><p>MACHINE_ALLOCATION_TYPE_FIREWALL is a firewall</p></td>
16264+
</tr>
16265+
16266+
</tbody>
16267+
</table>
16268+
1621916269
<h3 id="metalstack.api.v2.MachineLiveliness">MachineLiveliness</h3>
1622016270
<p>MachineLiveliness specifies the liveliness of a machine</p>
1622116271
<table class="enum-table">
@@ -16280,35 +16330,6 @@ <h3 id="metalstack.api.v2.MachineProvisioningEventState">MachineProvisioningEven
1628016330
</tbody>
1628116331
</table>
1628216332

16283-
<h3 id="metalstack.api.v2.MachineRole">MachineRole</h3>
16284-
<p>MachineRole defines if this is a machine or a firewall</p>
16285-
<table class="enum-table">
16286-
<thead>
16287-
<tr><td>Name</td><td>Number</td><td>Description</td></tr>
16288-
</thead>
16289-
<tbody>
16290-
16291-
<tr>
16292-
<td>MACHINE_ROLE_UNSPECIFIED</td>
16293-
<td>0</td>
16294-
<td><p>MACHINE_ROLE_UNSPECIFIED is unspecified</p></td>
16295-
</tr>
16296-
16297-
<tr>
16298-
<td>MACHINE_ROLE_MACHINE</td>
16299-
<td>1</td>
16300-
<td><p>MACHINE_ROLE_MACHINE is a machine</p></td>
16301-
</tr>
16302-
16303-
<tr>
16304-
<td>MACHINE_ROLE_FIREWALL</td>
16305-
<td>2</td>
16306-
<td><p>MACHINE_ROLE_FIREWALL is a firewall</p></td>
16307-
</tr>
16308-
16309-
</tbody>
16310-
</table>
16311-
1631216333
<h3 id="metalstack.api.v2.MachineState">MachineState</h3>
1631316334
<p>MachineState defines if the machine was locked or reserved from a operator</p>
1631416335
<table class="enum-table">

0 commit comments

Comments
 (0)