From cad80a2c86588ab06a5526ae69989ba4f42e73c6 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Tue, 13 Oct 2020 20:07:53 +0300 Subject: [PATCH] Add well-known attributes for containers Adding the list of currently well-known container attributes. More to come later. Signed-off-by: Stanislav Bogatyrev --- container/types.proto | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/container/types.proto b/container/types.proto index 85d89c6..552fa2c 100644 --- a/container/types.proto +++ b/container/types.proto @@ -27,7 +27,15 @@ message Container { // permission bits for bearer token and Extended ACL. uint32 basic_acl = 4; - // Attribute is a key-value pair of strings. + // `Attribute` is a user-defined Key-Value metadata pair attached to the + // container. Container attribute are immutable. They are set at container + // creation and cna never be added or updated. + // + // There are some "well-known" attributes affecting system behaviour: + // + // * Subnet \ + // String ID of container's storage subnet. Container can be attached to + // only one subnet. message Attribute { // Key of immutable container attribute. string key = 1;