From 500d98e6f0fcd55728f69658a0c304ddafb25da6 Mon Sep 17 00:00:00 2001 From: Mahesh Jethanandani Date: Tue, 29 Jan 2019 13:02:59 -0800 Subject: [PATCH 1/2] Fix for bug#102 --- src/yang/etsi-nfv-vnf.yang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index ab3319e..b52839c 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -80,7 +80,7 @@ submodule etsi-nfv-vnf { "GS NFV-IFA011: Section 7.1.6.6, VirtualNetworkInterfaceRequirements information element"; } - leaf niclo-requirements { + leaf nicio-requirements { type leafref { path "/nfv/vnfd/virtual-compute-descriptor/id"; } -- GitLab From 537c2f8cd5c0636b2a9c05acedbfb75f07bb8f91 Mon Sep 17 00:00:00 2001 From: Mahesh Jethanandani Date: Tue, 5 Feb 2019 17:55:37 -0800 Subject: [PATCH 2/2] Fix units --- src/yang/etsi-nfv-vnf.yang | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index b52839c..d443f78 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -555,10 +555,10 @@ submodule etsi-nfv-vnf { fraction-digits 1; range "0..max"; } - units "Gb"; + units "GB"; default 1; description - "Amount of virtual memory in MB."; + "Amount of virtual memory in GB."; reference "GS NFV IFA011: Section 7.1.9.3, Information elements related to Virtual Memory."; @@ -731,11 +731,11 @@ submodule etsi-nfv-vnf { } leaf size-of-storage { type uint64; - units "Gb"; + units "GB"; default 0; description "Size of virtualised storage resource (e.g. size of - volume, in Gb)"; + volume, in GB)"; reference "GS NFV IFA011: Section 7.1.9.4, Information elements related to Virtual Storage."; @@ -936,7 +936,7 @@ submodule etsi-nfv-vnf { } leaf min-disk { type uint64; - units "Gb"; + units "GB"; default 0; description "The minimal disk size requirement for this software @@ -953,7 +953,7 @@ submodule etsi-nfv-vnf { fraction-digits 1; range "0..max"; } - units "Gb"; + units "GB"; default 0; description "The minimal RAM requirement for this software image. @@ -967,7 +967,7 @@ submodule etsi-nfv-vnf { } leaf size { type uint64; - units "Gb"; + units "GB"; description "The size of this software image."; reference -- GitLab