From 8568142597d5a5526a8e40589748c2ae794f8703 Mon Sep 17 00:00:00 2001 From: Mahesh Jethanandani Date: Mon, 17 Dec 2018 10:18:18 -0800 Subject: [PATCH] Proposed fix for bug 87 --- src/yang/etsi-nfv-vnf.yang | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index 0ee785a..01ca9dd 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -81,17 +81,16 @@ submodule etsi-nfv-vnf { "GS NFV-IFA011: Section 7.1.6.6, VirtualNetworkInterfaceRequirements information element"; } + leaf niclo-requirements { - mandatory true; - type string; // remove once leafref is resolved. - //type leafref { - // add path statement here to logical-node-data. - //} + type leafref { + path "/nfv/vnfd/virtual-compute-descriptor/id"; + } description - "This references (couples) the CPD with any logical node I/O - requirements (for network devices) that may have been - created. Linking these attributes is necessary so that so - that I/O requirements that need to be articulated at the + "This references (couples) the CPD with any logical node + I/O requirements (for network devices) that may have been + created. Linking these attributes is necessary so that + I/O requirements that need to be articulated at the logical node level can be associated with the network interface requirements associated with the CPD."; reference -- GitLab