Skip to content

Commit a059582

Browse files
committed
Update Rpc.proto
Add trace string to Role proto and remove Manila protobufs.
1 parent 809fa66 commit a059582

File tree

1 file changed

+1
-67
lines changed

1 file changed

+1
-67
lines changed

Rpc.proto

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ service Eos {
5353

5454
// Replies to a NsRequest operation
5555
rpc Exec (NSRequest) returns (NSResponse) {}
56-
57-
// ---------------------------------------------------------------------
58-
// OPENSTACK
59-
// ---------------------------------------------------------------------
60-
61-
// Manila Driver
62-
rpc ManilaServerRequest (ManilaRequest) returns (ManilaResponse) {}
6356
}
6457

6558
message PingRequest {
@@ -172,6 +165,7 @@ message RoleId {
172165
string username = 3;
173166
string groupname = 4;
174167
string app = 5;
168+
string trace = 6;
175169
}
176170

177171
message MDId {
@@ -549,63 +543,3 @@ message NsStatResponse {
549543
uint64 fds = 14;
550544
uint64 uptime = 15;
551545
}
552-
553-
// ---------------------------------------------------------------------
554-
// OPENSTACK
555-
// ---------------------------------------------------------------------
556-
557-
enum MANILA_REQUEST_TYPE {
558-
CREATE_SHARE = 0;
559-
DELETE_SHARE = 1;
560-
EXTEND_SHARE = 2;
561-
SHRINK_SHARE = 3;
562-
MANAGE_EXISTING = 4;
563-
UNMANAGE = 5;
564-
GET_CAPACITIES = 6;
565-
/* EXTRA FUNCTIONS NOT IMPLEMENTED */
566-
/*
567-
CREATE_SNAPSHOT = 7;
568-
DELETE_SNAPSHOT = 8;
569-
CREATE_SHARE_FROM_SNAPSHOT = 9;
570-
ENSURE_SHARE = 10;
571-
ALLOW_ACCESS = 11;
572-
DENY_ACCESS = 12;
573-
GET_SHARE_STATS = 13;
574-
DO_SETUP = 14;
575-
SETUP_SERVER = 15;
576-
TEARDOWN_SERVER = 16;
577-
GET_NETWORK_ALLOCATIONS_NUMBER = 17;
578-
VERIFY_SHARE_SERVER_HANDLING = 18;
579-
CREATE_SHARE_GROUP = 19;
580-
DELETE_SHARE_GROUP = 20;
581-
*/
582-
583-
}
584-
585-
message ManilaRequest {
586-
MANILA_REQUEST_TYPE request_type = 1;
587-
string auth_key = 2;
588-
string protocol = 3;
589-
string share_name = 4;
590-
string description = 5;
591-
string share_id = 6;
592-
string share_group_id = 7;
593-
int32 quota = 8;
594-
string creator = 9;
595-
string egroup = 10;
596-
string admin_egroup = 11;
597-
string share_host = 12;
598-
string share_location = 13;
599-
}
600-
601-
message ManilaResponse {
602-
string msg = 1; //for generic messages
603-
int32 code = 2; // < 1 is an error -- > 1 is OK
604-
int64 total_used = 3;
605-
int64 total_capacity = 4;
606-
int64 new_share_quota = 5;
607-
string new_share_path = 6;
608-
609-
}
610-
611-

0 commit comments

Comments
 (0)