From dbfa9c944bd7486f96daad3090cad6c238e9f833 Mon Sep 17 00:00:00 2001 From: Airat Arifullin Date: Tue, 23 May 2023 18:47:09 +0300 Subject: [PATCH] [#26] netmap: Add NOT and UNIQUE keywords Signed-off-by: Airat Arifullin a.arifullin@yadro.com --- netmap/types.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netmap/types.proto b/netmap/types.proto index fb5cf82..2d72c7e 100644 --- a/netmap/types.proto +++ b/netmap/types.proto @@ -33,6 +33,9 @@ enum Operation { // Logical AND AND = 8; + + // Logical negation + NOT = 9; } // Selector modifier shows how the node set will be formed. By default selector @@ -119,6 +122,9 @@ message PlacementPolicy { // List of named filters to reference in selectors repeated Filter filters = 4 [json_name = "filters"]; + + // Unique flag defines non-overlapping application for replicas + bool unique = 5 [json_name = "unique"]; } // NeoFS node description