From be2f97817b4de6a6ff7db0290f7be0d2fcaaf299 Mon Sep 17 00:00:00 2001 From: Mahesh Jethanandani Date: Sat, 30 Nov 2019 15:50:05 -0800 Subject: [PATCH] Issue#6 --- example-data/nfv-nsd.xml | 4 ++-- src/yang/etsi-nfv-vnf.yang | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/example-data/nfv-nsd.xml b/example-data/nfv-nsd.xml index 57f7c7c..8241604 100644 --- a/example-data/nfv-nsd.xml +++ b/example-data/nfv-nsd.xml @@ -1,4 +1,4 @@ - + ASA My Company @@ -133,4 +133,4 @@ - + diff --git a/src/yang/etsi-nfv-vnf.yang b/src/yang/etsi-nfv-vnf.yang index 283217a..a8279bb 100755 --- a/src/yang/etsi-nfv-vnf.yang +++ b/src/yang/etsi-nfv-vnf.yang @@ -770,6 +770,22 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.9.2.4, VirtualCpuPinningData information element."; } + + leaf-list cpu-policy { + type enumeration { + enum "dedicated"; + enum "shared"; + } + description + "Shows the list of dedicated virtual CPU cores and + shared virtual CPU cores in a VM. Dedicated refers to + a virtual CPU core occupies one physical CPU core. + Shared refers to multi virtual CPU cores shared one + physical CPU core."; + reference + "GS NFV IFA011: Section 7.1.9.2.4, + VirtualCpuPinningData information element."; + } description "The virtual CPU pinning configuration for the virtualised compute resource."; -- GitLab