virtbuf/droplet.proto

28 lines
411 B
Protocol Buffer
Raw Permalink Normal View History

2024-10-18 20:58:15 -05:00
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;
2024-10-18 20:58:15 -05:00
repeated Network networks = 8;
repeated Disk disks = 9;
2024-10-18 20:58:15 -05:00
string comment = 10;
2024-10-18 20:58:15 -05:00
message Network {
string mac = 1;
string name = 2;
}
message Disk {
string filename = 1;
int64 size = 2;
2024-10-18 20:58:15 -05:00
}
}