Skip to content

Commit 178f0e2

Browse files
authored
Add hostname to machine nice (#79)
1 parent 48e63cc commit 178f0e2

File tree

5 files changed

+70
-49
lines changed

5 files changed

+70
-49
lines changed

doc/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7823,6 +7823,13 @@ <h3 id="metalstack.api.v2.MachineNic">MachineNic</h3>
78237823
<td><p>Neighbors the neighbors visible to this network interface </p></td>
78247824
</tr>
78257825

7826+
<tr>
7827+
<td>hostname</td>
7828+
<td><a href="#string">string</a></td>
7829+
<td></td>
7830+
<td><p>Hostname the nic belongs to </p></td>
7831+
</tr>
7832+
78267833
</tbody>
78277834
</table>
78287835

go/metalstack/api/v2/machine.pb.go

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

proto/metalstack/api/v2/machine.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,8 @@ message MachineNic {
445445
uint64 speed = 6;
446446
// Neighbors the neighbors visible to this network interface
447447
repeated MachineNic neighbors = 7;
448+
// Hostname the nic belongs to
449+
string hostname = 8;
448450
}
449451

450452
// MachineBlockDevice contains details of a block device of this machine

0 commit comments

Comments
 (0)