summaryrefslogtreecommitdiff
path: root/hypervisor.proto
blob: 7e9d6be7693125f97ab8123a04d93bda484a76ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
syntax = "proto3";
package virtbuf;

message Hypervisors {
	string  uuid	        = 1;    // I guess why not just have this on each file
	string  version         = 2;    // maybe can be used for protobuf schema change violations
	repeated Hypervisor hypervisors = 3;
}

message Hypervisor {
	string	uuid    = 1;
	string	hostname = 2;
	bool	active  = 3;           // is allowed to start new droplets
	int64	cpus	= 4;
	int64	memory	= 5;          // in bytes
	string	comment	= 6;
	bool    autoscan = 7;         // to scan or not to scan by virtigo
}