From f26c471b0d86055d2e947010f0e94ba98de346b2 Mon Sep 17 00:00:00 2001 From: Preethika Date: Tue, 14 Dec 2021 05:16:32 +0000 Subject: [PATCH] issue #49 FEAT03 Add missing minNumberofPreservedInstances attribute to NfviMaintenanceInfo IE Signed-off-by: Preethika --- src/yang/etsi-nfv-common.yang | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/yang/etsi-nfv-common.yang b/src/yang/etsi-nfv-common.yang index a8eef0d..4548fbc 100644 --- a/src/yang/etsi-nfv-common.yang +++ b/src/yang/etsi-nfv-common.yang @@ -557,6 +557,35 @@ submodule etsi-nfv-common { information element"; } } + + list min-number-of-preserved-instances { + key "group-size"; + ordered-by user; + must "./min-number-of-preserved-instances <= ./group-size"; + + leaf group-size { + type uint32; + description + "When present, it determines the size of the group for + which the minNumberOfPreservedInstances is specified. + Otherwise the size is not limited."; + reference + "GS NFV-IFA011: Section 7.1.8.21, MinNumberOfPreserved + Instances information element"; + } + + leaf min-number-of-preserved-instances { + type uint32 { + range "1 .. max"; + } + description + "The maximum number of instances that can be impacted + simultaneously within the group of the specified size."; + reference + "GS NFV-IFA011: Section 7.1.8.21, MinNumberOfPreserved + Instances information element"; + } + } } } -- GitLab