-
-
Notifications
You must be signed in to change notification settings - Fork 285
/
storage.proto
47 lines (43 loc) · 1.11 KB
/
storage.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
syntax = "proto3";
package storagepb;
option go_package = "github.com/poseidon/matchbox/matchbox/storage/storagepb";
// Group selects one or more machines and matches them to a Profile.
message Group {
// machine readable Id
string id = 1;
// human readable name
string name = 2;
// Profile id
string profile = 3;
// Selectors to match machines
map<string, string> selector = 4;
// JSON encoded metadata
bytes metadata = 5;
}
// Profile defines the boot and provisioning behavior of a group of machines.
message Profile {
// profile id
string id = 1;
// human readable name
string name = 2;
// ignition id
string ignition_id = 3;
// cloud config id
string cloud_id = 4;
// support network boot / PXE
NetBoot boot = 5;
// generic config id
string generic_id = 6;
}
// NetBoot describes network or PXE boot settings for a machine.
message NetBoot {
// the URL of the kernel image
string kernel = 1;
// the init RAM filesystem URLs
repeated string initrd = 2;
// kernel args
repeated string args = 4;
// (deprecated) kernel parameteres
reserved "cmdline";
reserved 3;
}