Added support for data store type (OPERATIONAL or CONFIG or BOTH)
[controller.git] / benchmark / api / src / main / yang / dsbenchmark.yang
index 062cc8548616fc01201de2474d8dd04236faeb36..d56c1852c1a5170e0894499ae039377cab5df341 100644 (file)
@@ -125,6 +125,20 @@ module dsbenchmark {
                     "Data format:-binding-aware or binding-independent";
             }
 
+            leaf data-store {
+                mandatory true;
+                type enumeration {
+                    enum "CONFIG" {
+                        value 1;
+                    }
+                    enum "OPERATIONAL" {
+                        value 2;
+                    }
+                    enum "BOTH" {
+                        value 3;
+                    }
+                }
+            }
             leaf outerElements {
                 type uint32;
                 default 100000;