From 2aaee78c9dc7bdfa00e8c6f1ef5da9129aeb321a Mon Sep 17 00:00:00 2001
From: Preethika <preethika.p@tataelxsi.co.in>
Date: Tue, 16 Feb 2021 06:15:52 +0000
Subject: [PATCH] issue#32 Implement FEAT05 - Add priority in NSD IFA014

Signed-off-by: Preethika <preethika.p@tataelxsi.co.in>
---
 src/yang/etsi-nfv-ns.yang | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/yang/etsi-nfv-ns.yang b/src/yang/etsi-nfv-ns.yang
index 67100d9..a7964b1 100644
--- a/src/yang/etsi-nfv-ns.yang
+++ b/src/yang/etsi-nfv-ns.yang
@@ -1694,6 +1694,22 @@ submodule etsi-nfv-ns {
         }
       }
 
+      leaf priority {
+        type uint32;
+        description
+          "Specifies the priority for the NS instance.
+
+           The allowed range will be reasonably high. The 'zero'
+           value will express the highest priority and the fact
+           that the NS instance based on this DF cannot be
+           pre-empted during resource allocation.
+
+           Examples for the usage of priority include conflict
+           resolution in case of resource shortage.";
+        reference
+          "GS NFV IFA014: Section 6.3.2.2 NsDf information element";
+      }
+
       leaf service-availability-level {
         type uint32;
         description
-- 
GitLab