~dobey/ubuntuone-storage-protocol/validate-ssl-cert

« back to all changes in this revision

Viewing changes to ubuntuone/storageprotocol/protocol.proto

  • Committer: Tarmac
  • Author(s): guillermo.gonzalez at canonical
  • Date: 2011-08-02 17:00:41 UTC
  • mfrom: (135.1.2 optional-metadata)
  • Revision ID: tarmac-20110802170041-q6m1kkcdv62nmbjd
Add metadata attribute to the AUTH_REQUEST message

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
    optional Error error = 3;
93
93
    optional Protocol protocol = 4;
94
94
    repeated AuthParameter auth_parameters = 5;
 
95
    repeated KeyValue metadata = 44; // extra info we want to send to the server
95
96
    optional bytes session_id = 42; // sent with AUTH_AUTHENTICATED
96
97
                                    // for logging purposes
97
98
    optional Root root = 6;
182
183
    required string value = 2;
183
184
}
184
185
 
 
186
message KeyValue {
 
187
    required string key = 1;
 
188
    required string value = 2;
 
189
}
 
190
 
185
191
message Make {
186
192
    optional bytes share = 1; // share is actually a volume id
187
193
    optional bytes parent_node = 2;