Adding terminate-config-primitie for PNF config deletion 12/7412/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 16 Apr 2019 10:42:36 +0000 (10:42 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 16 Apr 2019 14:39:53 +0000 (15:39 +0100)
Change-Id: Ifde3c17f795f91afcc1f4e5553324b2695907384
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
models/yang/mano-types.yang

index e042c44..2ff53e7 100644 (file)
@@ -371,6 +371,29 @@ module mano-types
       }
     }
 
+    list terminate-config-primitive {
+      description
+        "Terminate set of configuration primitives.";
+      key "seq";
+      leaf seq {
+        description
+          "Sequence number for the configuration primitive.";
+        type uint64;
+      }
+      leaf name {
+        description
+          "Name of the configuration primitive.";
+        type string;
+      }
+
+      uses primitive-parameter-value;
+
+      leaf user-defined-script {
+        description
+          "A user defined script.";
+        type string;
+      }
+    }
     uses manotypes:vca-metrics;
 
   } // END - grouping vca-configuration