forked from hswaw/hscloud
Sergiusz Bazanski
2da126caff
Continued from https://gerrit.hackerspace.pl/c/hscloud/+/73 . Change-Id: Ie761c2af588e06739de94fa1eff4f715d1f9b145
19 lines
399 B
Protocol Buffer
19 lines
399 B
Protocol Buffer
syntax = "proto3";
|
|
package hswaw;
|
|
option go_package = "code.hackerspace.pl/hscloud/hswaw/proto";
|
|
|
|
message LeasifierLeasesRequest {
|
|
};
|
|
|
|
message LeasifierLease {
|
|
string physical_address = 1;
|
|
string ip_address = 2;
|
|
};
|
|
|
|
message LeasifierLeasesResponse {
|
|
repeated LeasifierLease leases = 1;
|
|
};
|
|
|
|
service Leasifier {
|
|
rpc Leases(LeasifierLeasesRequest) returns (LeasifierLeasesResponse);
|
|
};
|