summaryrefslogtreecommitdiff
path: root/droplet.proto
blob: 7cf14def39654efebb9855ed30c6f27a37bbf3c5 (plain)
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
syntax = "proto3";
package virtbuf;

message Droplet {
	string  uuid	= 1;
	string	name	= 2;
	string	hostname = 3;
	int64	cpus	= 4;
	int64	memory	= 5;
	int64	disk	= 6;
	string	base_image = 7;

	repeated Network networks = 8;
	repeated Disk disks = 9;

	string	comment = 10;

	message Network {
		string	mac     = 1;
		string	name	= 2;
	}

	message Disk {
		string	filename        = 1;
		int64	size    	= 2;
	}
}