From 9dc6143f532a87efa5b8bd9d80f907d307e73108 Mon Sep 17 00:00:00 2001 From: Preethika Date: Fri, 19 Mar 2021 06:09:49 +0000 Subject: [PATCH] issue #40 Add missing Dependencies definition in vnf Signed-off-by: Preethika --- src/yang/etsi-nfv-vnf.yang | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index 538addf..9b00c4a 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -3006,6 +3006,44 @@ submodule etsi-nfv-vnf { information element"; } } + + list dependencies { + key "id"; + + description + "Specifies the order in which instances of the VNFCs + have to be created."; + reference + "GS NFV IFA011: Section 7.1.8.2 VnfDf information element"; + + leaf id { + type string; + } + + leaf primary-id { + type leafref { + path "../../vdu-profile/id"; + } + description + "References a VduProfile for describing dependencies + between VNFCs in terms of primary entities."; + reference + "GS NFV IFA011: Section 7.1.8.19 Dependencies + information element"; + } + + leaf secondary-id { + type leafref { + path "../../vdu-profile/id"; + } + description + "References a VduProfile for describing dependencies + between VNFCs in terms of secondary entities."; + reference + "GS NFV IFA011: Section 7.1.8.19 Dependencies + information element"; + } + } } container configurable-properties { -- GitLab