|g" src/yang/etsi-nfv.html
exit $?
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/Dockerfile 0000664 0000000 0000000 00000000167 14031320541 0021450 0 ustar 00root root 0000000 0000000 FROM mjethanandani/sol-006:latest
ADD example-data/* src/
ADD src/yang/* src/
ADD run-test.sh /
CMD ["/run-test.sh"]
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/LICENSE 0000664 0000000 0000000 00000002703 14031320541 0020461 0 ustar 00root root 0000000 0000000 Copyright 2019 ETSI
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE. SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/README.md 0000664 0000000 0000000 00000000440 14031320541 0020727 0 ustar 00root root 0000000 0000000 Note: At this time this document is in draft state, and subject to change till the final approval. As such, files accessed/used from this repository are subject to change. Do not use as reference material.
When approved, this README will be updated to reflect the status of the document. SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/ 0000775 0000000 0000000 00000000000 14031320541 0022014 5 ustar 00root root 0000000 0000000 SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/complex-vnfd.xml 0000664 0000000 0000000 00000025670 14031320541 0025152 0 ustar 00root root 0000000 0000000
complex-vnf
My Company
complex-vnf
1.0
1.0
netconf
control-plane-active
control-plane-active
internal
internal-vl
ipv4
mgmt
mgmt
ipv4
CP
root
CP
control-plane-standby
control-plane-standby
internal
internal-vl
ipv4
mgmt
mgmt
ipv4
CP
root
CP
data-plane
data-plane
in
ipv4
internal
internal-vl
ipv4
out
ipv4
DP
root
DP
CP
16.0
8
DP
32.0
16
root
block
10
true
CP
CP
CP
1.1
sha-224
deadbeef
bare
qcow2
1
2.0
1
http://mycompany.images.com/control-plane.qcow2
DP
DP
1.1
sha-224
deadbeef
bare
qcow2
1
2.0
1
http://mycompany.images.com/data-plane.qcow2
internal-vl
ipv4
1
mgmt
ipv4
1
in
data-plane
in
ipv4
mgmt
mgmt
ipv4
out
data-plane
out
ipv4
gold
control-plane-active
1
1
control-plane
1
control-plane-standby
1
1
control-plane
1
data-plane
2
8
1
il-1
control-plane-active
1
control-plane-standby
1
data-plane
2
il-2
control-plane-active
1
control-plane-standby
1
data-plane
4
il-1
true
1
1
1
1
1
1
control-plane
anti-affinity
nfvi-node
silver
control-plane-active
1
1
control-plane
1
control-plane-standby
1
1
control-plane
1
data-plane
1
4
1
il-1
control-plane-active
1
control-plane-standby
1
data-plane
1
il-2
control-plane-active
1
control-plane-standby
1
data-plane
2
il-1
true
1
1
1
1
1
1
control-plane
anti-affinity
nfvi-node
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/nfv-nsd.xml 0000664 0000000 0000000 00000011303 14031320541 0024107 0 ustar 00root root 0000000 0000000
ASA
My Company
My Company ASAv
9.8
9.8
My Company Vnfm
firewall
Firewall VDU
inside
nfv:ethernet
management
nfv:ethernet
outside
nfv:ethernet
asa-vcd
asa-vsd
asa-image
asa-vcd
4.0
2
asa-vsd
nfv:block
0
asa-image
ASA image
1.1
nfv:sha-224
deadbeef
bare
qcow2
0
2.0
1
http://www.mycompany.com/asa.qcow2
inside
firewall
inside
nfv:ethernet
management
firewall
management
nfv:ethernet
outside
firewall
outside
nfv:ethernet
normal
firewall
1
2
1
double
firewall
2
single
firewall
1
single
1
1
1
1
firewall-nsd
ASA
inside
management
outside
firewall
firewall
ASA
normal
single
1
1
single
firewall
1
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/nfv-pnfd.xml 0000664 0000000 0000000 00000000375 14031320541 0024261 0 ustar 00root root 0000000 0000000
physical-dpi
1.0
outside
nfv:ethernet
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/nfv-vnfd.xml 0000664 0000000 0000000 00000007005 14031320541 0024264 0 ustar 00root root 0000000 0000000
ASA
My Company
My Company ASAv
9.8
9.8
My Company Vnfm
firewall
Firewall VDU
inside
nfv:ethernet
management
nfv:ethernet
outside
nfv:ethernet
asa-vcd
asa-vsd
asa-image
asa-vcd
4.0
2
asa-vsd
nfv:file
0
asa-image
asa-image
ASA image
1.1
nfv:sha-224
deadbeef
bare
qcow2
0
2.0
1
http://www.mycompany.com/asa.qcow2
inside
nfv:ethernet
management
nfv:ethernet
outside
nfv:ethernet
normal
firewall
1
2
1
double
firewall
2
single
firewall
1
single
1
1
1
1
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/example-data/nfv.xml 0000664 0000000 0000000 00000052345 14031320541 0023340 0 ustar 00root root 0000000 0000000
ASA
My Company
My Company ASAv
9.8
9.8
My Company Vnfm
firewall
Firewall VDU
inside
ethernet
management
ethernet
outside
ethernet
asa-vcd
asa-vsd
asa-image
asa-vcd
4.0
2
asa-vsd
block
1
true
asa-image
asa-image
ASA image
1.1
sha-224
deadbeef
bare
qcow2
1
2.0
1
http://mycompany.images.com/asa.qcow2
inside-vl
1g
1
1
0.02
ethernet
1
inside
inside-vl
ethernet
management
firewall
management
ethernet
outside
firewall
outside
ethernet
normal
firewall
1
2
1
inside-vl
1g
10
1
ipv4
inside-network
ipv4
192.138.0.0/8
192.138.0.1
true
double
firewall
2
single
firewall
1
single
true
1
1
1
1
1
1
CSR
My Company
My Company CSR 1000v
3.16
3.16
My Company Vnfm
router
Router VDU
left
ethernet
management
ethernet
right
ethernet
csr-vcd
csr-vsd
csr-image
csr-vcd
4.0
2
csr-vsd
file
1
csr-image
csr-image
CSR image
1.1
sha-224
deadbeef
bare
qcow2
1
2.0
1
http://mycompany.images.com/csr.qcow2
left
router
left
ethernet
management
router
management
ethernet
right
router
right
ethernet
normal
router
1
2
1
double
router
2
single
router
1
single
true
1
1
1
1
1
1
firewall-nsd
ASA
inside
management
outside
firewall
firewall
ASA
normal
single
1
1
single
firewall
1
service-chain-1
ASA
CSR
physical-dpi
inside
management
mgmt
outside
CSR
left
fw2dpi
ethernet
normal
0
0
mgmt
ipv4
normal
0
0
r2fw
ethernet
normal
0
0
router-fw
firewall
ASA
normal
single
1
1
mgmt
firewall
management
r2fw
firewall
outside
router
CSR
normal
single
1
1
mgmt
router
management
r2fw
router
right
mgmt
mgmt
normal
1000
0
r2fw
r2fw
normal
10000000
0
normal
Single FW and Router
firewall
1
router
1
router-fw-dpi
firewall
ASA
normal
single
1
1
fw2dpi
firewall
inside
mgmt
firewall
management
r2fw
firewall
outside
router
CSR
normal
single
1
1
mgmt
router
management
r2fw
router
right
physical-dpi
physical-dpi
fw2dpi
physical-dpi
outside
fw2dpi
fw2dpi
normal
1000000
0
mgmt
mgmt
normal
1000
0
r2fw
r2fw
normal
1000000
0
normal
Router+FW+Physical DPI
firewall
1
router
1
service-chain-2
firewall-nsd
CSR
inside
firewall-nsd
inside
outside
CSR
left
r2fw
ipv4
r2fw
1000
2
router-fw
router
CSR
normal
single
1
1
r2fw
router
right
r2fw
r2fw
r2fw
500
0
normal
router
1
r2fw
10
firewall
firewall-nsd
firewall
single
1
1
r2fw
firewall
outside
physical-dpi
1.0
outside
ethernet
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/run-test.sh 0000775 0000000 0000000 00000002052 14031320541 0021571 0 ustar 00root root 0000000 0000000 #!/bin/bash
echo "Testing"
set -e
source /opt/confd/confdrc
cd src
CONFD_OPTS="--fail-on-warnings"
CONFD_OPTS=""
echo "Testing compilations of VNFD."
confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-vnfd.fxs etsi-nfv-vnfd.yang
echo "Testing compilations of PNFD."
confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-pnfd.fxs etsi-nfv-pnfd.yang
echo "Testing compilations of NSD."
confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-nsd.fxs etsi-nfv-nsd.yang
echo "Testing compilations of descriptors."
confdc -c $CONFD_OPTS -o /opt/confd/etc/confd/etsi-nfv-descriptors.fxs etsi-nfv-descriptors.yang
echo "Starting ConfD"
confd
echo "Loading Data for VNFD"
confd_load -l -m nfv-vnfd.xml
echo "Loading Data for PNFD"
confd_load -l -m nfv-pnfd.xml
echo "Loading Data for NSD"
confd_load -l -m nfv-nsd.xml
echo "Loading Data for descriptors"
confd_load -l -m nfv.xml
echo "Loading data for the complex Vnfd example"
confd_load -l -m complex-vnfd.xml
# Don't do this in the actual test, just waste of cycles
# echo "Stopping ConfD"
# confd --stop
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/ 0000775 0000000 0000000 00000000000 14031320541 0020241 5 ustar 00root root 0000000 0000000 SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/README 0000664 0000000 0000000 00000002617 14031320541 0021127 0 ustar 00root root 0000000 0000000 This README explains how the sol006-metadata.json file is used to populate
information in yangcatalog.org
This JSON file has been created using the example file described here. Note,
the first two lines in the example are really for putting on the command
line, and not be included in the JSON file.
Once the file has been populated, the following command should be used to
upload the metadata into the YANG Catalog.
curl -X PUT -u
: -H "Content-type: application/json" https://yangcatalog.org/api/modules --upload-file sol006-metadata.json
where the 'username' and 'password' can be requested at
https://yangcatalog.org/create.html.
A successfule submission should result in an output that gives a job-id
like this:
{"info":"Verification successful","job-id":"75883423-a6b7-4e9e-94ad-0983a0a8cac7"}
Use the following link to verify the status of the job:
https://yangcatalog.org/api/job/
If the submission is in progress, expect an output as follows:
{"info":{"job-id":"7b7f3436-34e9-4947-aa60-402102cdff05","reason":null,"result":"In progress\n"}}
and once it is complete, and the submission fails, expect an output as
follows:
{"info":{"job-id":"7b7f3436-34e9-4947-aa60-402102cdff05","reason":null,"result":"Failed\n"}}
Or if it is successful expect an output like this:
{"info":{"job-id":"75883423-a6b7-4e9e-94ad-0983a0a8cac7","reason":null,"result":"Finished successfully\n"}} SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/sol006-metadata.json 0000664 0000000 0000000 00000015577 14031320541 0023754 0 ustar 00root root 0000000 0000000 {
"modules": {
"module": [
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-descriptors",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-descriptors.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-common",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-common.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-ns",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-ns.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-nsd",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-nsd.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-pnf",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-pnf.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-pnfd",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-04-25",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-pnfd.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-vnf",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-03-18",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-vnf.yang",
"repository": "yang"
}
},
{
"author-email": "pnns@etsi.org",
"document-name": "NFV descriptors based on YANG specification ",
"generated-from": "not-applicable",
"maturity-level": "ratified",
"name": "etsi-nfv-vnfd",
"organization": "etsi",
"reference": "https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/006/02.06.01_60/gs_nfv-sol006v020601p.pdf",
"module-classification": "network-service",
"revision": "2019-03-18",
"source-file": {
"owner": "YangModels",
"path": "standard/etsi/SOL006/src/yang/etsi-nfv-vnfd.yang",
"repository": "yang"
}
}
]
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/ 0000775 0000000 0000000 00000000000 14031320541 0021177 5 ustar 00root root 0000000 0000000 SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-common.yang 0000664 0000000 0000000 00000071450 14031320541 0025107 0 ustar 00root root 0000000 0000000 submodule etsi-nfv-common {
yang-version 1.1;
belongs-to etsi-nfv-descriptors {
prefix nfv;
}
import ietf-yang-types {
prefix yang;
reference
"RFC 6991: Common YANG Data Types.";
}
organization
"European Telecommunications Standards Institute (ETSI)";
description
"Common data types for ETSI data models.";
revision 2020-06-10 {
description
"Version 3.3.1.
Common data structures to support VNFD and NSD according to:
ETSI GS NFV-IFA 014 Release 3
ETSI GS NFV-IFA 011 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
Common data structures to support VNFD and NSD according to:
ETSI GS NFV-IFA 014 271
ETSI GS NFV-IFA 011 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
Common data structures to support VNFD and NSD according to:
ETSI GS NFV-IFA 014 Ed271v264
ETSI GS NFV-IFA 011 Ed271v264";
}
revision 2019-04-25 {
description
"Initial revision
Common data structures to support VNFD and NSD according to:
ETSI GS NFV-IFA 014 Ed261v252
ETSI GS NFV-IFA 011 Ed261v254";
}
/*
* Identities.
*/
identity layer-protocol {
}
identity ethernet {
base layer-protocol;
}
identity mpls {
base layer-protocol;
}
identity odu2 {
base layer-protocol;
}
identity ipv4 {
base layer-protocol;
}
identity ipv6 {
base layer-protocol;
}
identity pseudo-wire {
base layer-protocol;
}
identity address-type {
description
"Describes the type of the address to be assigned to the CP
instantiated from the parent CPD.
Value:
• MAC address.
• IP address.
• …
The content type shall be aligned with the address type
supported by the layerProtocol attribute of the parent CPD.";
reference
"GS NFV IFA011: Section 7.1.3.3, AddressData information
element.";
}
identity mac-address {
base address-type;
}
identity ip-address {
base address-type;
}
identity supported-operation {
description
"Indicates which operations are available for this DF via the
VNF LCM interface. Instantiate VNF, Query VNF and Terminate
VNF are supported in all DF and therefore need not be
included in this list.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information element";
}
identity instantiate-vnf {
base supported-operation;
description
"This operation instantiates a particular DF of a VNF based on
the definition in the VNFD.";
reference
"GS NFV IFA007: Section 7.2.3 Instantiate VNF Operation";
}
identity scale-vnf {
base supported-operation;
description
"This operation provides methods to request scaling a VNF in
multiple ways:
• horizontal scaling:
- scale out: adding additional VNFC instances to the VNF to
increase capacity
- scale in: removing VNFC instances from the VNF, in order to
release unused capacity";
reference
"GS NFV IFA007: Section 7.2.4 Scale VNF Operation";
}
identity scale-vnf-to-level {
base supported-operation;
description
"This operation scales an instantiated VNF of a particular DF to
a target size. The target size is either expressed as an
instantiation level of that DF as defined in the VNFD, or given
as a list of scale levels, one per scaling aspect of that DF.
Instantiation levels and scaling aspects are declared in the
VNFD. Typically, the result of this operation is adding and/or
removing Network Functions Virtualization Infrastructure (NFVI)
resources to/from the VNF.";
reference
"GS NFV IFA007: Section 7.2.5 Scale VNF To Level Operation";
}
identity change-vnf-flavour {
base supported-operation;
description
"This operation changes the DF of a VNF instance.";
reference
"GS NFV IFA007: Section 7.2.6 Change VNF Flavour Operation";
}
identity terminate-vnf {
base supported-operation;
description
"This operation terminates a VNF.
A VNF can be terminated gracefully or forcefully. Graceful
termination means that the VNFM arranges to take the
VNF out of service, e.g. by asking the VNF's EM to take the
VNF out of service, and only after that shuts down the
VNF and releases the resources. Forceful termination means that
the VNFM immediately shuts down the VNF and releases the
resources. A time interval can be specified for taking the VNF
out of service, after which the VNF is shut down if taking it
out of service has not completed.";
reference
"GS NFV IFA007: Section 7.2.7 Terminate VNF Operation";
}
identity query-vnf {
base supported-operation;
description
"This operation provides information about VNF instances. The
applicable VNF instances can be chosen based on
filtering criteria, and the information can be restricted to
selected attributes.";
reference
"GS NFV IFA007: Section 7.2.9 Query VNF Operation";
}
identity heal-vnf {
base supported-operation;
description
"This operation enables the NFVO to request a VNFM to perform a
VNF healing procedure.";
reference
"GS NFV IFA007: Section 7.2.10 Heal VNF Operation";
}
identity operate-vnf {
base supported-operation;
description
"This operation enables requesting to change the state of a VNF
instance, including starting and stopping the VNF instance.";
reference
"GS NFV IFA007: Section 7.2.11 Operate VNF Operation";
}
identity modify-vnf-information {
base supported-operation;
description
"This operation allows updating information about a VNF
instance.";
reference
"GS NFV IFA007: Section 7.2.12 Modify VNF Operation";
}
identity cp-role {
description
"Identifies the role of the port in the context of the traffic
flow patterns in the VNF or parent NS.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
identity root {
base cp-role;
}
identity leaf {
base cp-role;
}
identity checksum-algorithm {
description
"Identifies the algorithms supported for the purpose of
calculating the checksum.";
reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
}
identity sha-224 {
base checksum-algorithm;
description
"SHA-224.";
reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
}
identity sha-256 {
base checksum-algorithm;
description
"SHA-256.";
reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
}
identity sha-384 {
base checksum-algorithm;
description
"SHA-384.";
reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
}
identity sha-512 {
base checksum-algorithm;
description
"SHA-512.";
reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element.";
}
identity storage-type {
description
"Base type of storage that identities can derive from.";
}
identity block {
base storage-type;
description
"Block type of storage.";
}
identity object {
base storage-type;
description
"Object type of storage.";
}
identity file {
base storage-type;
description
"File type of storage.";
}
identity forwarding-behaviour {
description
"Base identity for forwarding behaviour.";
}
identity all {
base forwarding-behaviour;
description
"Traffic flows shall be forwarded simultaneously to all CP
or SAP instances created from the referenced CP profile(s).";
}
identity lb {
base forwarding-behaviour;
description
"Traffic flows shall be forwarded to one CP or SAP instance
created from the referenced CP profile(s) selected based on
a load-balancing algorithm.";
}
identity vip-function {
description
"Indicates the function the virtual IP address is used for.";
}
identity high-availability {
base vip-function;
description
"High availability function.";
}
identity load-balancing {
base vip-function;
description
"Load balancing function.";
}
identity vnic-type {
description
"Describes the type of the virtual network interface realizing
the CPs instantiated from this CPD. This is used to determine
which mechanism driver(s) to be used to bind the port. Value:
• NORMAL
• VIRTIO
• DIRECT
• BAREMETAL
• VIRTIO-FORWARDER
• DIRECT-PHYSICAL
• SMART-NIC";
}
identity normal {
base vnic-type;
description
"Normal NIC.";
}
identity virtio {
base vnic-type;
description
"VirtIO NIC.";
}
identity direct {
base vnic-type;
description
"Direct NIC type.";
}
identity bare-metal {
base vnic-type;
description
"Bare metal NIC type.";
}
identity virtio-forwarder {
base vnic-type;
description
"VirtIO Forwarder NIC type.";
}
identity direct-physical {
base vnic-type;
description
"Direct physical NIC type.";
}
identity smart-nic {
base vnic-type;
description
"SmartNIC or Smart NIC type.";
}
/*
* Typedefs
*/
typedef flow-pattern {
type enumeration {
enum line;
enum tree;
enum mesh;
}
}
typedef affinity-type {
type enumeration {
enum "affinity";
enum "anti-affinity";
}
}
typedef affinity-scope {
type enumeration {
enum "nfvi-node";
enum "zone-group";
enum "zone";
enum "nfvi-pop";
enum "network-link-and-node";
}
}
typedef internal-lifecycle-management-script-event {
type enumeration {
enum "start-instantiation";
enum "end-instantiation";
enum "start-scaling";
enum "end-scaling";
enum "start-healing";
enum "end-healing";
enum "start-termination";
enum "end-termination";
enum "start-vnf-flavour-change";
enum "end-vnf-flavour-change";
enum "start-vnf-operation-change";
enum "end-vnf-operation-change";
enum "start-vnf-ext-conn-change";
enum "end-vnf-ext-conn-change";
enum "start-vnfinfo-modification";
enum "end-vnfinfo-modification";
enum "start-vnf-snapshot-creation";
enum "end-vnf-snapshot-creation";
enum "start-vnf-snapshot-reverting-to";
enum "end-vnf-snapshot-reverting-to";
enum "start-change-current-vnf-package";
enum "end-change-current-vnf-package";
}
}
typedef external-lifecycle-management-script-event {
type enumeration {
enum "instantiation";
enum "scaling";
enum "healing";
enum "termination";
enum "vnf-flavour-change";
enum "vnf-operation-change";
enum "vnf-ext-conn-change";
enum "vnfinfo-modification";
enum "vnf-snapshot-creation";
enum "vnf-snapshot-reverting-to";
enum "change-current-vnf-package";
}
}
grouping nfvi-maintenance-info {
container nfvi-maintenance-info {
leaf impact-notification-lead-time {
type yang:timeticks;
mandatory true;
description
"The value specifies the minimum notification lead time
requested for upcoming impact of the virtualised resource
or their group (i.e. between the notification and the
action causing the impact).";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
leaf is-impact-mitigation-requested {
type boolean;
description
"When set to True, it is requested that at the time of the
notification of an upcoming change that is expected to have
an impact on the VNF, virtualised resource(s) of the same
characteristics as the impacted ones is/are provided to
compensate for the impact. Cardinality 0 corresponds to the
value False.";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
leaf-list supported-migration-type {
type enumeration {
enum "no-migration";
enum "offline-migration";
enum "live-migration";
}
description
"Applicable to VirtualComputeDesc and VirtualStorageDesc.
When present, specifies the allowed migration types in the
order of preference in case of an impact starting with the
most preferred type.
Values:
• NO_MIGRATION
• OFFLINE_MIGRATION
• LIVE_MIGRATION.";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
leaf max-undetectable-interruption-time {
type yang:timeticks;
description
"Applicable to VirtualComputeDesc and VirtualStorageDesc.
When present, it specifies the maximum interruption time
that can go undetected at the VNF level and therefore
which will not trigger VNFinternal recovery during live
migration.";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
leaf min-recovery-time-between-impacts {
type yang:timeticks;
description
"When present, it specifies the time required by the group
to recover from an impact, thus, the minimum time
requested between consecutive impacts of the group.";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
list max-number-of-impacted-instances {
key "group-size";
ordered-by user;
must "./max-number-of-impacted-instances <= ./group-size";
leaf group-size {
type uint32;
description
"When present, it determines the size of the group for
which the maxNumberOfImpactedInstances is specified.
Otherwise the size is not limited.
Each groupSize value specified for a group of virtual
resources shall be unique, and it shall be possible
to form an ascending ordered list of groupSizes.
The number of instances in the group for which the
maxNumberOfImpactedInstances is specified may be equal
to groupSize or less. When the number of instances is
less than the groupSize, it shall be at least 1 if this
is the first groupSize in the ordered list of groupSizes,
or it shall be greater by at least 1 than the previous
groupSize in the ordered list of groupSizes.";
reference
"GS NFV-IFA011: Section 7.1.8.17, NfviMaintenanceInfo
information element";
}
leaf max-number-of-impacted-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.17, NfviMaintenanceInfo
information element";
}
}
}
}
grouping connectivity-type {
container connectivity-type {
leaf-list layer-protocol {
type identityref {
base layer-protocol;
}
min-elements 1;
description
"Specifies the protocols that the VL uses
Values:
• Ethernet
• MPLS
• ODU2
• IPV4
• IPV6
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA011: Section 7.1.7.3, ConnectivityType
information element.";
}
leaf flow-pattern {
type flow-pattern;
description
"Specifies the flow pattern of the connectivity (Line,
Tree, Mesh).";
reference
"GS NFV IFA011: Section 7.1.7.3, ConnectivityType
information element.";
}
}
}
grouping link-bitrate-requirements {
leaf root {
type uint64;
units "Mbps";
mandatory true;
description
"Specifies the throughput requirement of
the link (e.g. bitrate of E-Line, root bitrate
of E-Tree, aggregate capacity of E-LAN).";
reference
"GS NFV IFA011: Section 7.1.8.6, LinkBitrateRequirements
information element.";
}
leaf leaf {
type uint64;
units "Mbps";
description
"Specifies the throughput requirement of
leaf connections to the link when
applicable to the connectivity type (e.g. for
E-Tree and E-LAN branches).";
reference
"GS NFV IFA011: Section 7.1.8.6, LinkBitrateRequirements
information element.";
}
}
grouping monitoring-parameter {
leaf name {
type string;
description
"Human readable name of the monitoring parameter.";
reference
"GS NFV IFA011: Section 7.1.11.3, MonitoringParameter
information element.";
}
leaf performance-metric {
type string;
description
"Performance metric that is monitored. This attribute shall
contain the related 'Measurement Name' value as defined in
clause 7.2 of ETSI GS NFV-IFA 027";
reference
"GS NFV IFA011: Section 7.1.11.3, MonitoringParameter
information element and Section 7.2 of ETSI GS NFV-IFA 027.";
}
leaf collection-period {
type uint64;
units "ms";
description
"An attribute that describes the recommended periodicity at
which to collect the performance information. VNFM determines
if this parameter is considered.
The vendor may provide this information as a guidance for
creating PmJobs if needed.";
reference
"GS NFV IFA011: Section 7.1.11.3, MonitoringParameter
information element.";
}
}
grouping security-parameters {
leaf signature {
type string;
description
"Provides the signature of the signed part of the
descriptor.";
reference
"GS NFV IFA014: Section 6.2.5, SecurityParameters
information element.";
}
leaf algorithm {
type string;
description
"Identifies the algorithm used to compute the signature.";
reference
"GS NFV IFA014: Section 6.2.5, SecurityParameters
information element.";
}
leaf certificate {
type string;
description
"Provides a certificate or a reference to a certificate to
validate the signature.";
reference
"GS NFV IFA014: Section 6.2.5, SecurityParameters
information element.";
}
}
grouping cpd {
description
"A Cpd information element describes network
connectivity to a compute resource or a VL.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
leaf id {
type string;
description
"Identifier of this Cpd information element.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
leaf-list layer-protocol {
default ethernet;
type identityref {
base layer-protocol;
}
description
"Specifies which protocol the CP uses for connectivity purposes
Values:
• Ethernet
• MPLS
• ODU2
• IPV4
• IPV6
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
leaf role {
type identityref {
base cp-role;
}
description
"Identifies the role of the connection points
corresponding to the CPD in the context of the traffic
flow patterns in the VNF, PNF or NS. For example an NS with
a tree flow pattern within the NS will have legal cpRoles
of ROOT and LEAF.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
leaf description {
type string;
description
"Provides human-readable information on the purpose of the
connection point (e.g. connection point for control plane
traffic).";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
list protocol {
key "associated-layer-protocol";
leaf associated-layer-protocol {
type identityref {
base layer-protocol;
}
description
"One of the values of the attribute layerProtocol of the Cpd
IE.
Values:
• Ethernet
• MPLS
• ODU2
• IPV4
• IPV6
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA011: Section 7.1.6.8 CpProtocolData information
element";
}
list address-data {
key "type";
leaf type {
type identityref {
base address-type;
}
description
"Describes the type of the address to be assigned to the
CP instantiated from the parent CPD.
Values:
• MAC address
• IP address
• etc.
The content type shall be aligned with the address type
supported by the layerProtocol attribute of the parent
CPD.";
reference
"GS NFV IFA011: Section 7.1.3.3 AddressData information
element";
}
container l2-address-data {
when "../type='mac-address'";
leaf mac-address-assignment {
type boolean;
mandatory true;
description
"Specify if the MAC address assignment is the
responsibility of management and orchestration function
or not. If it is set to True, it is the management and
orchestration function responsibility. If it is set to
False, it will be provided by an external entity,
e.g. OSS/BSS.";
reference
"GS NFV IFA011: Section 7.1.3.5 L2AddressData
information element";
}
description
"Provides the information on the MAC addresses to be
assigned to the CP(s) instantiated from the parent CPD.
Shall be present when the addressType is MAC address.";
reference
"GS NFV IFA011: Section 7.1.3.3 AddressData information
element";
}
container l3-address-data {
when "../type='ip-address'";
leaf ip-address-assignment {
type boolean;
mandatory true;
description
"Specify if the address assignment is the responsibility
of management and orchestration function or not. If it
is set to True, it is the management and orchestration
function responsibility. ";
reference
"GS NFV IFA011: Section 7.1.3.4, L3AddressData
information element.";
}
leaf floating-ip-activated {
type boolean;
mandatory true;
description
"Specify if the floating IP scheme is activated on the CP
or not.";
reference
"GS NFV IFA011: Section 7.1.3.4, L3AddressData
information element.";
}
leaf ip-address-type {
type enumeration {
enum "ipv4";
enum "ipv6";
}
description
"Define address type.
Values:
• IPV4
• IPV6.";
reference
"GS NFV IFA011: Section 7.1.3.4, L3AddressData
information element.";
}
leaf number-of-ip-addresses {
type uint32;
description
"Minimum number of IP addresses to be assigned based on
this L3AddressData information element.";
reference
"GS NFV IFA011: Section 7.1.3.4, L3AddressData
information element.";
}
leaf fixed-ip-address {
type string;
description
"IP address to be assigned to the CP instance.";
reference
"GS NFV IFA011: Section 7.1.3.4, L3AddressData
information element.";
}
}
description
"Provides information on the addresses to be assigned to the
CP(s) instantiated from the CPD.";
reference
"GS NFV IFA011: Section 7.1.6.8 CpProtocolData information
element";
}
description
"Identifies the protocol layering information the CP uses for
connectivity purposes and associated information. There shall
be one cpProtocol for each layer protocol as indicated by the
attribute layerProtocol. When a PnfExtCpd as defined in ETSI
GS NFV-IFA 014 [i.8] is inherited from this Cpd, the
cardinality is set to 0.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
leaf trunk-mode {
type boolean;
description
"Information about whether the Cp instantiated from this CPD
is in Trunk mode (802.1Q or other). When operating in
'trunk mode', the Cp is capable of carrying traffic for
several VLANs. A cardinality of 0 implies that trunkMode
is not configured for the Cp i.e. It is equivalent to
Boolean value 'false'.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
}
grouping security-group-rule {
list security-group-rule {
key "id";
leaf id {
type string;
description
"Identifier of this SecurityGroupRule information
element.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf description {
type string;
description
"Human readable description of the security group rule.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf direction {
type enumeration {
enum ingress;
enum egress;
}
default "ingress";
description
"The direction in which the security group rule is applied.
Values:
• INGRESS
• EGRESS
Defaults to INGRESS.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf ether-type {
type enumeration {
enum ipv4;
enum ipv6;
}
default "ipv4";
description
"Indicates the protocol carried over the Ethernet layer.
Values:
• IPV4
• IPV6
Defaults to IPV4.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf protocol {
type enumeration {
enum tcp;
enum udp;
enum icmp;
}
default "tcp";
description
"Indicates the protocol carried over the IP layer.
Permitted values: any protocol defined in the IANA
protocol registry.
Values:
• TCP
• UDP
• ICMP
• etc.
Defaults to TCP.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf port-range-min {
must ". <= ../port-range-max";
type uint16;
default "0";
description
"Indicates minimum port number in the range that is
matched by the security group rule. Defaults to 0.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
leaf port-range-max {
must ". >= ../port-range-min";
type uint16;
default "65535";
description
"Indicates maximum port number in the range that is
matched by the security group rule. Defaults to 65535.";
reference
"GS NFV IFA011: Section 7.1.6.9, SecurityGroupRule
information element.";
}
description
"Defines security group rules to be used by the VNF.";
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element.";
}
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-descriptors.yang 0000664 0000000 0000000 00000004263 14031320541 0026156 0 ustar 00root root 0000000 0000000 module etsi-nfv-descriptors {
yang-version 1.1;
namespace "urn:etsi:nfv:yang:etsi-nfv-descriptors";
prefix nfv;
include etsi-nfv-common;
include etsi-nfv-ns;
include etsi-nfv-vnf;
include etsi-nfv-pnf;
organization
"European Telecommunications Standards Institute (ETSI)";
description
"Network Function Virtualization Descriptors";
revision 2020-06-10 {
description
"Version 3.3.1.
NSD and PNFD according to ETSI GS NFV-IFA 014 Release 3
VNFD according to ETSI GS NFV-IFA 011 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
NSD and PNFD according to ETSI GS NFV-IFA 014 271
VNFD according to ETSI GS NFV-IFA 011 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
NSD and PNFD according to ETSI GS NFV-IFA 014 Ed271v264
VNFD according to ETSI GS NFV-IFA 011 Ed271v264.";
}
revision 2019-04-25 {
description
"Initial revision.
NSD and PNFD according to ETSI GS NFV-IFA 014 Ed261v252
VNFD according to ETSI GS NFV-IFA 011 Ed261v254";
}
container nfv {
list vnfd {
key "id";
description
"A VNF Descriptor (VNFD) is a deployment template which
describes a VNF in terms of deployment and operational
behaviour requirements. It also contains connectivity,
interface and virtualised resource requirements";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
uses vnfd;
}
list nsd {
key "id";
description
"The NSD information element is a deployment template whose
instances are used by the NFVO for the lifecycle
management of NSs.";
reference
"GS NFV-IFA014: Section 6.2.2, Network Service Descriptor
information element.";
uses nsd;
}
list pnfd {
key "id";
description
"The Pnfd information element is a deployment template
enabling on-boarding PNFs and referencing them from an
NSD. It focuses on connectivity aspects only.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element.";
uses pnfd;
}
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-ns.yang 0000664 0000000 0000000 00000162542 14031320541 0024242 0 ustar 00root root 0000000 0000000 submodule etsi-nfv-ns {
yang-version 1.1;
belongs-to etsi-nfv-descriptors {
prefix nfv;
}
include etsi-nfv-common;
include etsi-nfv-vnf;
include etsi-nfv-pnf;
description
"Models for NS according to ETSI GS NFV-IFA 014.";
revision 2020-06-10 {
description
"Version 3.3.1.
NSD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
NSD according to ETSI GS NFV-IFA 014 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
Common data structures to support NSD according to:
ETSI GS NFV-IFA 014 Ed271v264.";
}
revision 2019-04-25 {
description
"Initial revision
NSD according to ETSI GS NFV-IFA 014 Ed261v252.";
reference
"ETSI GS NFV-IFA 014 Ed261v252";
}
grouping resource-handle {
leaf vim-id {
type string;
}
leaf resource-provider-id {
type string;
}
leaf resource-id {
type string;
}
}
grouping ns-local-affinity-or-anti-affinity-rule {
list local-affinity-or-anti-affinity-rule {
key "type scope";
leaf type {
type affinity-type;
description
"Specifies the rule.
Values:
• AFFINITY
• ANTI_AFFINITY.";
reference
"GS NFV IFA014: Section 6.3.8.2,
LocalAffinityOrAntiAffinityRule information element.";
}
leaf scope {
type affinity-scope;
description
"Specifies the scope of the rule.
Values:
• NFVI_POP
• ZONE
• ZONE_GROUP
• NFVI_NODE
• etc.";
reference
"GS NFV IFA014: Section 6.3.8.2,
LocalAffinityOrAntiAffinityRule information element.";
}
}
}
grouping nsd {
leaf id {
type string;
description
"Identifier of this NSD information element. It Globally
uniquely identifies an instance of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf designer {
type string;
description
"Identifies the designer of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf version {
type string;
description
"Identifies the version of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf name {
type string;
description
"Provides the human readable name of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf invariant-id {
type string;
description
"Identifies an NSD in a version independent manner. This
attribute is invariant across versions of the network
service descriptor.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list nested-nsd-id {
must ". != ../id";
type leafref {
path "../../nsd/id";
}
description
"References the NSD of a constituent nested NS.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list vnfd-id {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
description
"References the VNFD of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list pnfd-id {
type leafref {
path "/nfv:nfv/nfv:pnfd/nfv:id";
}
description
"References the PNFD of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
list sapd {
key "id";
description
"Provides the descriptor of a service access point of the
network service.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
choice cpd-or-virtual-link {
leaf virtual-link-desc {
type leafref {
path "../../virtual-link-desc/id";
}
description
"References the descriptor of the NS VL instance to
which the SAP instantiated from this SAPD connects to.";
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element";
}
choice associated-cpd-id {
container vnf {
leaf vnfd-id {
mandatory true;
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
must "boolean(../../../vnfd-id[.=current()])";
}
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
}
container pnf {
leaf pnfd-id {
mandatory true;
type leafref {
path "/nfv:nfv/nfv:pnfd/nfv:id";
}
must "boolean(../pnfd-id[.=current()])";
}
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
}
container ns {
leaf nsd-id {
mandatory true;
type leafref {
path "../../../../nsd/id";
}
must "boolean(../nsd-id[.=current()])";
}
leaf ext-cpd-id {
mandatory true;
type leafref {
path "deref(../nsd-id)/../sapd/id";
}
}
}
}
}
uses cpd;
leaf security-group-rule-id {
type leafref {
path "../../security-group-rule/id";
}
description
"Reference of the security group rules bound to this
CPD.";
reference
"GS NFV IFA014: Section 6.6.3 Cpd information element";
}
}
uses security-group-rule;
list virtual-link-desc {
key "id";
description
"Provides the constituent VLDs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifier of the NsVirtualLinkDesc information element.
It uniquely identifies a VLD.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
}
uses connectivity-type;
list df {
key "id";
description
"The VirtualLinkDf information element specifies
properties for instantiating a VL according to a
specific flavour.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
leaf id {
type string;
description
"Identifies this VirtualLinkDf information element
within a VLD.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
}
container qos {
presence "VL QoS parameters";
description
"The QoS information element specifies quality of
service parameters applicable to a VL.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
leaf latency {
mandatory true;
type uint32;
units "ms";
description
"Specifies the maximum latency in ms.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf packet-delay-variation {
mandatory true;
type uint32;
units "ms";
description
"Specifies the maximum jitter in ms.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf packet-loss-ratio {
type decimal64 {
fraction-digits "2";
range "0..1.00";
}
description
"Specifies the maximum packet loss ratio.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf priority {
type uint32;
description
"Specifies the priority level in case of
congestion on the underlying physical links.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
}
leaf service-availability-level {
type uint32;
description
"If present, specifies the service availability level
for the VL instance created from this DF.
THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE:
Either the serviceAvailabilityLevel attribute of NS DF
or the serviceAvailabilityLevel attribute of the VL DF
may be provided, but not both.";
reference
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
information element";
}
}
leaf test-access {
type enumeration {
enum none;
enum passive-monitoring;
enum active;
}
description
"Specifies test access facilities expected on the VL.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
}
leaf description {
type string;
description
"Provides human-readable information on the purpose of
the virtual link (e.g. VL for control plane traffic).";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
}
}
list vnffgd {
key "id";
description
"Provides the descriptors of the applicable forwarding
graphs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifier of this Vnffgd information element. It
uniquely identifies a VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list vnf-profile-id {
type leafref {
path "../../df/vnf-profile/id";
}
description
"References the VnfProfile of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list pnf-profile-id {
type leafref {
path "../../df/pnf-profile/id";
}
description
"References the PnfProfile of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list nested-ns-profile-id {
type leafref {
path "../../df/ns-profile/id";
}
description
"References the NsProfile of a nestedNS.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf virtual-link-profile-id {
type leafref {
path "../../df/virtual-link-profile/id";
}
description
"References the Virtual Link Profile of a constituent
VL.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
list nfp-position-element {
key "id";
min-elements 1;
leaf id {
type string;
description
"Identifier of this NfpPositionElemen information
element. It uniquely identifies an
NfpPositionElemen.";
reference
"GS NFV IFA014: Section 6.4.6.2 NfpPositionElement
information element";
}
container desc {
choice constituent-base-element-id {
mandatory "true";
container vnf-profile {
leaf vnf-profile-id {
must ". = deref(../../vnfd-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/vnf-profile/id";
}
}
}
container pnf-profile {
leaf pnf-profile-id {
must ". = deref(../../pnfd-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/pnf-profile/id";
}
}
}
container ns-profile {
leaf ns-profile-id {
must ". = deref(../../ns-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/ns-profile/id";
}
}
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
choice constituent-cpd-id {
container vnf {
leaf vnfd-id {
must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
}
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
}
leaf cpd-id {
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
}
container pnf {
leaf pnfd-id {
must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
}
type leafref {
path "/nfv:nfv/nfv:pnfd/nfv:id";
}
}
leaf pnf-cpd-id {
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
}
container ns {
leaf nsd-id {
must ". = deref(../../nested-ns-profile-id)/" +
"../nsd-id" {
}
type leafref {
path "../../../../../../nsd/id";
}
}
leaf sap-cpd-id {
type leafref {
path "deref(../nsd-id)/../sapd/id";
}
}
}
description
"References the VNF external CPD for a given
VnfProfile, or the PNF external CPD for a given
PnfProfile, or a NS SAPD for a given NsProfile
identified by the constituentBaseElementId.";
reference
"GS NFV IFA014: Section 6.4.8.2
CpdInConstituentElement information element";
}
description
"Specifies a CPD or SAPD in the context of a profile
of an NS constituent element.";
reference
"GS NFV IFA014: Section 6.4.6.2 NfpPositionElement
information element";
}
description
"One or a pair of CPDs or SAPDs. These descriptors
shall be members of the CpdPool associated to the
parent VNFFG.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
list nfpd {
key "id";
leaf id {
type string;
description
"Identifies this nfpd information element within a
VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
leaf rule {
type string;
description
"Provides an NFP classification and selection rule.
The rule may be expressed as a criteria constructed out
of atomic assertions linked by Boolean operators AND,
OR and NOT.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
list position-desc {
key "id";
min-elements 1;
leaf id {
type string;
description
"Identifier of this NfpPositionDesc element.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
leaf-list nfp-position-element-id {
type leafref {
path "../../../nfp-position-element/id";
}
description
"References one or a pair of CPDs or SAPDs.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
leaf forwarding-behaviour {
type identityref {
base forwarding-behaviour;
}
description
"Specifies a rule to apply to forward traffic to CP or
SAP instances corresponding to the referenced CP
profiles(s). The minimum list of rules to be supported
shall include:
• ALL = Traffic flows shall be forwarded simultaneously
to all CP or SAP instances created from the
referenced CP profile(s).
• LB = Traffic flows shall be forwarded to one CP or SAP
instance created from the referenced CP profile(s)
selected based on a load-balancing algorithm
Values:
• ALL
• LB
• etc.";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
leaf forwarding-behavior-input-parameters {
type string;
description
"Provides input parameters to configure the forwarding
behaviour (e.g. identifies a load balancing
algorithm).";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
description
"Describes a position in the NFP in terms of one or more
CPDs and SAPDs and rules for distributing the traffic
among CP and SAP instances created from these CPDs
and SAPDs.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
description
"The network forwarding path associated to the VNFFG.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
}
leaf-list autoscale-rule {
type string;
}
list lifecycle-management-script {
key "event";
leaf event {
type string;
}
leaf script {
type string;
}
}
list df {
min-elements 1;
must "default-instantiation-level or " +
"count(ns-instantiation-level) = 1" {
error-message
"default-instantiation-level must be present if there " +
"multiple instantion-level";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
key "id";
description
"Identifies a DF within the scope of an NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifies this NsDf information element. It identifies
a NS DF within the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
leaf flavour-key {
type leafref {
path "../monitored-info/id";
}
description
"Assurance parameter against which this flavour is being
described.
The key can be a combination of multiple assurance
parameters with a logical relationship between them.
The parameters should be present as a monitoredInfo
attribute in the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
list vnf-profile {
must "min-number-of-instances <= max-number-of-instances";
must "boolean(../../vnfd-id[.=current()/vnfd-id])" {
error-message "VNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
key "id";
description
"VNF profile to be used for the NS flavour.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifier of this VnfProfile information element. It
uniquely identifies a VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf vnfd-id {
mandatory true;
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
description
"References a VNFD.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf flavour-id {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:df/nfv:id";
}
description
"References a flavour within the VNFD.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf instantiation-level {
mandatory true;
type leafref {
path "deref(../flavour-id)/../nfv:instantiation-level/" +
"nfv:id";
}
description
"Identifier of the instantiation level of the VNF DF
to be used for instantiation. If not present, the
default instantiation level as declared in the VNFD
shall be used.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf min-number-of-instances {
default 1;
type uint16;
description
"Minimum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf max-number-of-instances {
default 1;
type uint16;
description
"Maximum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
uses ns-local-affinity-or-anti-affinity-rule;
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
description
"Reference(s) the affinity or anti-affinity group(s)
the VnfProfile belongs to.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the VNF, it
contains connection relationship between a VNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
list constituent-cpd-id {
key "constituent-base-element-id";
description
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
reference
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
}
}
leaf service-availability-level {
must "not(../../service-availability-level)";
type uint32;
description
"If present, specifies the service availability level for
the VNF instance created from this profile.
Either the serviceAvailabilityLevel attribute of NS DF
or the serviceAvailabilityLevel attribute of the
VnfProfile may be provided, but not both.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
}
list pnf-profile {
key "id";
must "boolean(../../pnfd-id[.=current()/pnfd-id])" {
error-message "PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
leaf id {
type string;
description
"Identifier of this PnfProfile information element.
It uniquely identifies a PnfProfile.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
}
leaf pnfd-id {
type leafref {
path "/nfv:nfv/nfv:pnfd/nfv:id";
}
description
"References a PNFD.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the PNF, it
contains connection relationship between a PNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
list constituent-cpd-id {
key "constituent-base-element-id";
description
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
reference
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
}
}
}
list virtual-link-profile {
key "id";
description
"VL profile to be used for the NS flavour.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Uniquely identifies this VirtualLinkProfile
information element.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
leaf virtual-link-desc-id {
mandatory true;
type leafref {
path "../../../virtual-link-desc/id";
}
description
"Uniquely references a VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
leaf flavour-id {
mandatory true;
type leafref {
path "deref(../virtual-link-desc-id)/../df/id";
}
description
"Refernces a flavour within the VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
uses ns-local-affinity-or-anti-affinity-rule;
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
description
"Reference(s) the affinity or anti-affinity group(s)
the VLs instantiated according to the VlProfile
belong to.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
container max-bitrate-requirements {
description
"Specifies the maximum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
uses link-bitrate-requirements;
}
container min-bitrate-requirements {
description
"Specifies the minimum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
uses link-bitrate-requirements;
}
container virtual-link-protocol-data {
leaf associated-layer-protocol {
type identityref {
base layer-protocol;
}
description
"One of the values of the attribute layerProtocol of
the ConnectivityType IE.
Values:
• Ethernet
• MPLS
• ODU2
• IPV4
• IPV6
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
container l2-protocol-data {
when "(../associated-layer-protocol = 'Ethernet') or " +
"(../associated-layer-protocol = 'MPLS') or " +
"(../associated-layer-protocol = 'ODU2') or " +
"(../associated-layer-protocol = 'Pseudo-Wire')";
leaf name {
type string;
description
"Network name associated with this L2 protocol.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf network-type {
type enumeration {
enum flat;
enum vlan;
enum vxlan;
enum gre;
}
description
"Specifies the network type for this L2 protocol.
Values:
• FLAT
• VLAN
• VXLAN
• GRE.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf vlan-transparent {
type boolean;
description
"Specifies whether to support VLAN transparency for
this L2 protocol or not.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf mtu {
type uint16;
description
"Specifies the maximum transmission unit (MTU) value
for this L2 protocol.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf segmentation-id {
type string;
description
"If present, specifies a specific virtualised network
segment, which depends on the network type. For e.g.,
VLAN ID for VLAN network type and tunnel ID for
GRE/VXLAN network types.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
description
"Specifies the L2 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L2 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
container l3-protocol-data {
when "(../associated-layer-protocol = 'IPv4') or " +
"(../associated-layer-protocol = 'IPv6')";
leaf name {
type string;
description
"Network name associated with this L3 protocol.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf ip-version {
type enumeration {
enum ipv4;
enum ipv6;
}
default "ipv4";
description
"Specifies IP version of this L3 protocol.
Values:
• IPV4.
• IPV6.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf cidr {
type string;
description
"Specifies the CIDR (Classless InterDomain Routing)
of this L3 protocol.
The network address and subnet mask in
cidr format.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf-list ip-allocation-pools {
type string;
description
"Specifies the allocation pools with start and end
IP addresses for this L3 protocol.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
description
"Specifies the L3 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L3 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
description
"Specifies the protocol data for a VL instantiated
according to this profile. Cardinality 0 is used when
no protocol data needs to be specified.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
}
list scaling-aspect {
key "id";
description
"The scaling aspects supported by this DF of the NS.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifier of this NsScalingAspect information element.
It uniquely identifies the NS scaling aspect in an
NSD.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
leaf name {
type string;
description
"Provides a human readable name of the NS scaling
aspect.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
leaf description {
type string;
description
"Provides a human readable description of the NS
scaling aspect.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
leaf scaling-level {
type leafref {
path "../../ns-instantiation-level/id";
}
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
}
list affinity-or-anti-affinity-group {
key "id";
description
"Specifies affinity or anti-affinity relationship
applicable between the VNF instances created using
different VNFDs, the Virtual Link instances created
using different NsVirtualLinkDescs or the nested NS
instances created using different NSDs in the same
affinity or anti-affinity group.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifier of this AffinityOrAntiAffinityGroup
information element.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf affinityorAntiaffinity {
mandatory true;
type affinity-type;
description
"Specifies the type of relationship that the members of
the group have.
Values:
• AFFINITY
• ANTI-AFFINITY";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf scope {
mandatory true;
type affinity-scope;
description
"Specifies the scope of the affinity or anti-affinity
relationship.
Values:
• NFVI_NODE
• NFVI_POP
• NETWORK_LINK_AND_NODE
• etc.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
}
list ns-instantiation-level {
min-elements 1;
key "id";
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element
GS NFV IFA014: Section 6.7.2.2 NsScaling information
element";
leaf id {
type string;
description
"Identifier of this NsLevel information element. It
uniquely identifies an NS level within the DF.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
leaf description {
type string;
description
"Human readable description of the NS level.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
list vnf-to-level-mapping {
key "vnf-profile-id";
description
"Specifies the profile of the VNFs involved in this NS
level and, for each of them, the required number of
instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf vnf-profile-id {
type leafref {
path "../../../vnf-profile/id";
}
description
"References the profile to be used for a VNF
involved in an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
}
leaf number-of-instances {
default 1;
type uint32;
description
"Specifies the number of VNF instances required for
an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
}
}
list virtual-link-to-level-mapping {
key "virtual-link-profile-id";
description
"Specifies the profile of the VLs involved in this NS
level and, for each of them, the needed bandwidth.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"References the profile to be used for a VL involved
in an NS level.";
reference
"GS NFV IFA014: Section 6.7.5.2
VirtualLinkToLevelMapping information element";
}
uses link-bitrate-requirements;
}
list ns-to-level-mapping {
key "ns-profile-id";
description
"Specifies the profile of the nested NSs involved in
this NS level and, for each of them, the required
number of instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf ns-profile-id {
type leafref {
path "../../../ns-profile/id";
}
description
"References the profile to be used for a nested NS
involved in the NS level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
}
leaf number-of-instances {
default 1;
type uint32;
description
"Specifies the number of nested NS instances required
for the NS scale level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
}
}
must "(count(vnf-to-level-mapping) + " +
"count(virtual-link-to-level-mapping) + " +
"count(ns-to-level-mapping)) > 0" {
error-message
"At least one attribute between " +
"vnf-to-level-mapping, " +
"virtual-link-to-level-mapping and " +
"ns-to-level-mapping shall be present.";
description
"At least one attribute between vnfToLevelMapping,
vlirtualLinkToLevelMapping and nsToLevelMapping shall
be present.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
}
leaf default-instantiation-level {
type leafref {
path "../ns-instantiation-level/id";
}
description
"References the NS level which represents the default NS
instantiation level for this DF. It shall be present if
there are multiple 'nsIinstantiationLevel' entries.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
container ns-lcm-additional-params {
container instantiate {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Instantiate Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.3
InstantiateNsAdditionalParams information element";
}
}
container scale {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Scale Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.4
ScaleNsAdditionalParams information element";
}
}
container heal {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Heal Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.5
HealNsAdditionalParams information element";
}
}
}
list ns-profile {
must "min-number-of-instances <= max-number-of-instances" {
error-message
"min-number-of-instances has to be less than or equal" +
"max-number-of-instances.";
}
must "boolean(../../nested-nsd-id[.=current()/nsd-id])" {
error-message
"PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
key "id";
description
"Specifies nested NS Profile to be used for this NS DF.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifies an NS profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf nsd-id {
mandatory true;
type leafref {
path "../../../../nsd/id";
}
description
"References the NSD applicable to NS instantiated
according to this profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf ns-df-id {
mandatory true;
type leafref {
path "deref(../nsd-id)/../df/id";
}
description
"References the applicable network service DF within
the scope of the NSD.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf instantiation-level-id {
mandatory true;
type leafref {
path "deref(../ns-df-id)/../ns-instantiation-level/id";
}
description
"References the NS level within the referenced NS DF to
be used in the context of the parent NS instantiation.
If not present, the default NS instantiation level as
declared in the referenced NSD shall be used.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf min-number-of-instances {
type uint16;
default 1;
description
"Minimum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf max-number-of-instances {
type uint16;
default 1;
description
"Maximum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
description
"Reference(s) the affinity or anti-affinity group(s) the
NSs created according to this NsProfile belongs to.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
list constituent-cpd-id {
key "constituent-base-element-id";
description
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
reference
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
type leafref {
path "../../../id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
}
leaf constituent-cpd-id {
type leafref {
path "deref(../../../nsd-id)/../sapd/id";
}
description
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
reference
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
}
}
}
}
list dependencies {
key "id";
description
"Specifies the order in which instances of the VNFs and/or
nested NSs have to be created.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
}
choice primary-id {
leaf primary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
}
leaf primary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
}
}
description
"References a VnfProfile or NsProfile for
describing dependencies between VNF and/or
nested NS instances in terms of primary
entities.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
}
choice secondary-id {
leaf secondary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
}
leaf secondary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
}
}
description
"References a VnfProfile or NsProfile for
describing dependencies between VNF and/or
nested NS instances in terms of secondary
entities.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
}
}
list monitored-info {
key "id";
leaf id {
type string;
}
container vnf-indicator-info {
leaf vnfd-id {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
description
"References a VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
leaf vnf-indicator {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:indicator/nfv:id";
}
description
"References a VNF indicator within the VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
description
"Uniquely identifies this VNF Indicator information
element.";
reference
"GS NFV IFA014: Section 6.2.6.2 MonitoredData
information element";
}
// monitoringParameter in IFA014 is defined by MonitoredData
// whereas monitoringParameter in IFA011 is defined by
// MonitoringParameter.
container monitoring-parameter {
leaf id {
type string;
description
"Unique identifier of this monitoring parameter
information element.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf name {
type string;
description
"Human readable name of the monitoring parameter.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf performance-metric {
mandatory true;
type string;
description
"Defines the virtualised resource-related performance
metric.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf collection-period {
type string;
description
"An attribute that describes the periodicity at
which to collect the performance information.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
}
}
leaf priority {
type uint32;
description
"Specifies the priority for the NS instance.
The allowed range will be reasonably high. The 'zero'
value will express the highest priority and the fact
that the NS instance based on this DF cannot be
pre-empted during resource allocation.
Examples for the usage of priority include conflict
resolution in case of resource shortage.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
leaf service-availability-level {
type uint32;
description
"If present, specifies the service availability level for
the NS instance created from this DF.
THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE:
Either the serviceAvailabilityLevel attribute of NS DF or
the serviceAvailabilityLevel attribute of the NS
constituents of the NS may be provided, but not both.
When a SAL information is assigned to an NS, this
information does not apply to any constituents of type
‘nested NS’.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
}
uses security-parameters;
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-nsd.yang 0000664 0000000 0000000 00000002351 14031320541 0024375 0 ustar 00root root 0000000 0000000 module etsi-nfv-nsd {
yang-version 1.1;
namespace "urn:etsi:nfv:yang:etsi-nfv-nsd";
prefix nsd;
import etsi-nfv-descriptors {
prefix nfv;
}
organization
"European Telecommunications Standards Institute (ETSI)";
description
"Network Services Descriptors";
revision 2020-06-10 {
description
"Version 3.3.1.
NSD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
NSD according to ETSI GS NFV-IFA 014 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
Common data structures to support NSD according to:
ETSI GS NFV-IFA 014 Ed271v264.";
}
revision 2019-04-25 {
description
"Initial revision.
Common data structures to support NSD according to:
ETSI GS NFV-IFA 014 Ed261v252.";
}
container nsd {
list nsd {
key "id";
max-elements 1;
uses nfv:nsd;
description
"The NSD information element is a deployment template whose
instances are used by the NFVO for the lifecycle management
of NSs.";
reference
"GS NFV-IFA014: Section 6.2.2, Network Service Descriptor
information element";
}
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-pnf.yang 0000664 0000000 0000000 00000006307 14031320541 0024401 0 ustar 00root root 0000000 0000000 submodule etsi-nfv-pnf {
yang-version 1.1;
belongs-to etsi-nfv-descriptors {
prefix nfv;
}
/*
* Import
*/
include etsi-nfv-common;
description
"Models for PNFD according to GS NFV-IFA 014.";
revision 2020-06-10 {
description
"Version 3.3.1.
PNFD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
PNFD according to ETSI GS NFV-IFA 014 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
Common data structures to support PNFD according to:
ETSI GS NFV-IFA 014 Ed271v264";
}
revision 2019-04-25 {
description
"Initial revision.
Common data structures to support PNFD according to:
ETSI GS NFV-IFA 014 Ed261v252";
reference
"ETSI GS NFV-IFA 014 Ed261v252";
}
grouping pnfd {
description
"The Pnfd information element is a deployment template
enabling on-boarding PNFs and referencing them from an NSD.
It focuses on connectivity aspects only";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
leaf id {
type string;
description
"Identifier of this Pnfd information element. It uniquely
identifies the PNFD.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf function-description {
type string;
description
"Describes the PNF function.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf provider {
type string;
description
"Identifies the provider of the PNFD.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf version {
type string;
mandatory true;
description
"Identifies the version of the PNFD.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf invariant-id {
type string;
description
"Identifies a PNFD in a version independent manner. This
attribute is invariant across versions of PNFD.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf name {
type string;
description
"Provides the human readable name of the PNFD.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
list ext-cpd {
key "id";
uses cpd;
description
"Specifies the characteristics of one or more connection
points where to connect the PNF to a VL.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
leaf geographical-location-info {
type string;
description
"It provides information about the geographical location
(e.g. geographic coordinates or address of the building,
etc.) of the PNF. The cardinality 0 is used when the
location is unknown.
Editor's Note: The type is TBD in SOL001. We need to make
a common SOL001/SOL006 decision.";
reference
"GS NFV-IFA014: Section 6.6.2, Pnfd information element";
}
uses security-group-rule;
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-pnfd.yang 0000664 0000000 0000000 00000001551 14031320541 0024541 0 ustar 00root root 0000000 0000000 module etsi-nfv-pnfd {
yang-version 1.1;
namespace "urn:etsi:nfv:yang:etsi-nfv-pnfd";
prefix pnfd;
import etsi-nfv-descriptors {
prefix vnf;
}
organization
"European Telecommunications Standards Institute (ETSI)";
description
"Physcial Network Function Descriptor.";
revision 2020-06-10 {
description
"Version 3.3.1.
PNFD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
PNFD according to ETSI GS NFV-IFA 014 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
PNFD according to ETSI GS NFV-IFA 014 Ed271v264.";
}
revision 2019-04-25 {
description
"Initial revision.
PNFD according to ETSI GS NFV-IFA 014 Ed261v252.";
}
container pnfd {
presence "PNFD container.";
uses vnf:pnfd;
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-vnf.yang 0000775 0000000 0000000 00000371766 14031320541 0024430 0 ustar 00root root 0000000 0000000 submodule etsi-nfv-vnf {
yang-version 1.1;
belongs-to etsi-nfv-descriptors {
prefix nfv;
}
include etsi-nfv-common;
import ietf-inet-types {
prefix inet;
}
import ietf-yang-types {
prefix yang;
}
description
"Models for VNFD according to GS NFV-IFA 011.";
revision 2020-06-10 {
description
"Version 3.3.1.
Data structures to support VNFD according to
ETSI GS NFV-IFA 011 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
VNFD according to ETSI GS NFV-IFA 011 271.";
}
revision 2019-10-01 {
description
"Version 2.7.1.
Data structures to support VNFD according to:
ETSI GS NFV-IFA 011 Ed271v264";
}
revision 2019-03-18 {
description
"Initial revision.
Data structure to support VNFD according to:
ETSI GS NFV-IFA 011 Ed261v254";
reference
"ETSI GS NFV-IFA 011 Ed261v254";
}
grouping virtual-network-interface-requirements {
list virtual-network-interface-requirement {
key "name";
description
"Specifies requirements on a virtual network interface
realising the CPs instantiated from this CPD.";
reference
"GS NFV-IFA011: Section 7.1.6.4, VduCpd information
element";
leaf name {
type string;
description
"Provides a human readable name for the requirement.";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
leaf description {
type string;
description
"Provides a human readable description of the requirement.";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
leaf support-mandatory {
status "deprecated";
default "false";
type boolean;
description
"Indicates whether fulfilling the constraint is
mandatory (true) for successful operation or desirable
(false).";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
list network-interface-requirements {
key "key";
min-elements "1";
max-elements "1";
leaf key {
type string;
}
leaf value {
type string;
}
description
"The network interface requirements. An element from an
array of key-value pairs that articulate the network
interface deployment requirements.";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
leaf nic-io-requirements {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:virtual-compute-desc/" +
"nfv:logical-node/nfv: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 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
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
}
}
grouping block-storage-data {
leaf size-of-storage {
type uint64;
units "GB";
default 0;
description
"Size of virtualized storage resource in GB.";
reference
"GS NFV IFA011: Section 7.1.9.4.3, BlockStorageData
Information element.";
}
list vdu-storage-requirements {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"An array of key-value pairs that articulate
the storage deployment requirements.";
reference
"GS NFV IFA011: Section 7.1.9.4.3, BlockStorageData
Information element.";
}
leaf rdma-enabled {
type boolean;
description
"Indicate if the storage support RDMA.";
reference
"GS NFV IFA011: Section 7.1.9.4.3, BlockStorageData
Information element.";
}
leaf sw-image-desc {
type leafref {
path "../../../sw-image-desc/id";
}
must "../size-of-storage >=" +
"../../../sw-image-desc[id=current()]/min-disk" {
}
description
"Software image to be loaded on the VirtualStorage
resource created based on this VirtualStorageDesc.
Shall be absent when used for virtual disks.";
reference
"GS NFV IFA011: Section 7.1.9.4.3, BlockStorageData
Information element.";
}
}
grouping vnf-local-affinity-or-anti-affinity-rule {
list local-affinity-or-anti-affinity-rule {
key "type scope";
leaf type {
type affinity-type;
description
"Specifies whether the rule is an affinity rule or an
anti-affinity rule
Values
• affinity
• anti-affinity.";
reference
"GS NFV IFA011: Section 7.1.8.11,
LocalAffinityOrAntiAffinityRule information element.";
}
leaf scope {
type affinity-scope;
description
"Specifies the scope of the rule.
Values:
• NFVI-PoP
• Zone
• ZoneGroup
• NFVI-node
• network-link-and-node.";
reference
"GS NFV IFA011: Section 7.1.8.11,
LocalAffinityOrAntiAffinityRule information element.";
}
uses nfvi-maintenance-info {
description
"When present, provides information on the impact tolerance
and rules to be observed when a group of instances based
on the same VDU is impacted during NFVI operation and
maintenance (e.g. NFVI resource upgrades).";
reference
"GS NFV IFA011: Section 7.1.8.11,
LocalAffinityOrAntiAffinityRule information element.";
}
}
}
grouping vnfd {
leaf id {
type string;
description
"Identifier of this VNFD information element. This attribute
shall be globally unique. The format will be defined in the
data model specification phase.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf provider {
type string;
mandatory true;
description
"Provider of the VNF and of the VNFD";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf product-name {
type string;
mandatory true;
description
"Name to identify the VNF Product. Invariant for the VNF
Product lifetime.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf software-version {
type string;
mandatory true;
description
"Software version of the VNF. This is changed when there is
any change to the software that is included in the VNF
Package";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf version {
type string;
mandatory true;
description
"Identifies the version of the VNFD";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf product-info-name {
type string;
description
"Human readable name of the VNFD. Can change
during the VNF Product lifetime.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf product-info-description {
type string;
description
"Human readable description of the VNFD. Can change during
the VNF Product lifetime.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf-list vnfm-info {
type string;
min-elements 1;
description
"Identifies VNFM(s) compatible with the VNF described in
this version of the VNFD.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf localization-language {
type string;
description
"Information about the language of the VNF.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
leaf default-localization-language {
when "../localization-language";
type string;
description
"Default localization language that is instantiated if no
information about selected localization language is
available. Shall be present if 'localization-language'
is present and shall be absent otherwise.";
reference
"GS NFV-IFA011: Section 7.1.2, VNFD information element";
}
list vdu {
key "id";
min-elements 1;
description
"The Virtualisation Deployment Unit (VDU) is a construct supporting
the description of the deployment and operational behaviour of a
VNF component, or the entire VNF if it was not componentized in
components.";
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element";
leaf id {
type string;
description
"Unique identifier of this VDU in VNFD.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information element";
}
leaf name {
type string;
mandatory true;
description
"Human readable name of the VDU.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information element";
}
leaf description {
type string;
description
"Human readable description of the VDU.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information element";
}
list int-cpd {
key "id";
min-elements 1;
description
"A internal-connection-point element is a type of
connection point and describes network connectivity
between a VDU instance and an internal Virtual Link or
an external connection point.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information element";
leaf int-virtual-link-desc {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id";
}
description
"Reference of the internal VLD which this internal CPD
connects to.";
reference
"GS NFV IFA011: Section 7.1.6.4, VduCpd information
element";
}
leaf bitrate-requirement {
type uint64;
units "Mbps";
description
"Bitrate requirement on this CP.";
reference
"GS NFV IFA011: Section 7.1.6.4, VduCpd information
element.";
}
uses virtual-network-interface-requirements;
leaf nicio-requirements {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:virtual-compute-desc/nfv: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
logical node level can be associated with the network
interface requirements associated with the CPD.";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
leaf order {
type uint32;
description
"The order of the NIC to be assigned on the compute
instance (e.g. 2 for eth2).
Note: when binding more than one port to a single
compute (aka multi vNICs) and ordering is desired, it
is mandatory that all ports will be set with an order
value. The order values shall represent a positive,
arithmetic progression that starts with 0 (i.e. 0, 1,
2,..., n).
If the property is not present, it shall be left to the
VIM to assign a value when creating the instance.";
reference
"GS NFV IFA011: Section 7.1.6.4, VduCpd information
element.";
}
leaf vnic-type {
type identityref {
base vnic-type;
}
description
"Describes the type of the virtual network interface
realizing the CPs instantiated from this CPD. This is
used to determine which mechanism driver(s) to be used
to bind the port.
Values:
• NORMAL
• VIRTIO
• DIRECT
• BAREMETAL
• VIRTIO-FORWARDER
• DIRECT-PHYSICAL
• SMART-NIC";
reference
"GS NFV IFA011: Section 7.1.6.4, VduCpd information
element.";
}
uses cpd;
leaf security-group-rule-id {
type leafref {
path "../../../security-group-rule/id";
}
description
"Reference of the security group rules bound to this
CPD.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
}
leaf virtual-compute-desc {
type leafref {
path "../../virtual-compute-desc/id";
}
must "../../virtual-compute-desc[id=current()]/" +
"virtual-memory/size >=" +
"../../sw-image-desc[id=current()/" +
"../sw-image-desc]/min-ram" {
}
description
"Describes CPU, Memory and acceleration requirements of
the Virtualisation Container realizing this VDU.";
reference
"GS NFV IFA011: Section 7.1.6.2, VDU information
element, and Section 7.1.9.2.2, VirtualComputeDesc
information element.";
}
leaf-list virtual-storage-desc {
type leafref {
path "../../virtual-storage-desc/id";
}
description
"Describes storage requirements for a VirtualStorage
instance attached to the virtualisation container
created from virtualComputeDesc defined for this VDU.";
reference
"GS NFV IFA011: Section 7.1.6.2, VDU information
element, and Section 7.1.9.4, Information elements
related to Virtual Storage.";
}
list boot-order {
ordered-by user;
key "key";
leaf key {
type uint32;
}
leaf value {
type leafref {
path "../../virtual-storage-desc";
}
}
description
"The key indicates the boot index (lowest index defines
highest boot priority). The Value references a descriptor
from which a valid boot device is created e.g.
VirtualStorageDesc from which a VirtualStorage instance
is created.
Editor's note: The boot-order node requires further
study.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information
element.";
}
leaf sw-image-desc {
type leafref {
path "../../sw-image-desc/id";
}
description
"Describes the software image which is directly loaded on
the virtualisation container realising this Vdu.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information
element.";
}
leaf-list nfvi-constraint {
type string;
description
"Describes constraints on the NFVI for the VNFC
instance(s) created from this Vdu. For example, aspects
of a secure hosting environment for the VNFC instance
that involve additional entities or processes.";
reference
"GS NFV IFA011: Section 7.1.6.2, VDU Information
element.";
}
list monitoring-parameter {
key "id";
leaf id {
type string;
description
"Unique identifier of the monitoring parameter.";
reference
"GS NFV IFA011: Section 7.1.11.3, MonitoringParameter
information element.";
}
uses monitoring-parameter;
}
list configurable-properties {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"It provides VNFC configurable properties that can be
modified using the ModifyVnfInfo operation.";
reference
"GS NFV IFA011: Section 7.1.6.7,
VnfcConfigurableProperties Information element.";
}
leaf boot-data {
type string;
description
"Contains a string or a URL to a file contained in the
VNF package used to customize a virtualised compute
resource at boot time. The bootData may contain variable
parts that are replaced by deployment specific values
before being sent to the VIM.";
reference
"GS NFV IFA011: Section 7.1.6.7,
VnfcConfigurableProperties Information element.";
}
list trunk-port {
key "parent-port-cpd";
description
"Specifies the logical topology between an intCpd in
trunk mode, used to describe a trunk port, and other
intCpds used to describe subports of the same trunk.
Cardinality 0 is used when there is no intCpd with
trunkmode = True, or when no individual intCpds to
describe the subports are included in the Vdu.";
reference
"GS NFV IFA011: Section 7.1.6.2, Vdu information element";
leaf parent-port-cpd {
type leafref {
path "../../int-cpd/id";
}
description
"Reference of the internal VDU CPD which is used to
instantiate the parent port in a logical trunk model.";
reference
"GS NFV IFA011: Section 7.1.6.11, Information elements
related to TrunkPort Topology.";
}
list sub-port-list {
key "sub-port-cpd";
description
"Provides information used for the subport.";
reference
"GS NFV IFA011: Section 7.1.6.11, Information elements
related to subport of a trunk parent port.";
leaf sub-port-cpd{
type leafref {
path "../../../int-cpd/id";
}
description
"Reference of the internal VDU CPD which is used
to instantiate the subport in a logical trunk model.";
reference
"GS NFV IFA011: Section 7.1.6.12, Information elements
related to subport of a trunk parent port.";
}
leaf segmentation-type {
default "vlan";
type enumeration {
enum "vlan";
enum "inherit";
}
description
"Specifies the encapsulation type for the traffics
coming in and out of the trunk subport.
Values:
• VLAN: the subport uses VLAN as encapsulation type.
• INHERIT: the subport gets its segmentation type
from the network it’s connected to.
Cardinality 0 means default value VLAN is used.";
reference
"GS NFV IFA011: Section 7.1.6.12, Information elements
related to to subport of a trunk parent port.";
}
leaf segmentation-id {
type uint32;
description
"Specifies the segmentation ID for the subport, which is
used to differentiate the traffics on different networks
coming in and out of the trunk port. If a value is provided
here it may be overridden by a value provided at run time
when the infrastructure doesn’t support mapping of
segmentation IDs.";
reference
"GS NFV IFA011: Section 7.1.6.12, Information elements
related to subport of a trunk parent port.";
}
}
}
}
list virtual-compute-desc {
key "id";
description
"Defines descriptors of virtual compute resources to be
used by the VNF.";
leaf id {
type string;
description
"Unique identifier of this VirtualComputeDesc in the
VNFD.";
reference
"GS NFV IFA011: Section 7.1.9.2, Information elements
related to Virtual CPU.";
}
list logical-node {
key "id";
leaf id {
type string;
description
"Identifies this set of logical node requirements.";
reference
"GS NFV IFA011: Section 7.1.9.6, LogicalNodeRequirements
Information elements.";
}
list requirement-detail {
key "key";
min-elements 1;
leaf key {
type string;
}
leaf value {
type string;
}
description
"The logical node-level compute, memory and I/O
requirements. An array of key-value pairs that
articulate the deployment requirements.
This could include the number of CPU cores on this
logical node, a memory configuration specific to a
logical node (e.g. such as available in the Linux
kernel via the libnuma library) or a requirement
related to the association of an I/O device with the
logical node.";
reference
"GS NFV IFA011: Section 7.1.9.6, LogicalNodeRequirements
information element.";
}
description
"The logical node requirements.";
reference
"GS NFV IFA011: Section 7.1.9.2, VirtualComputeDesc
information element.";
}
list request-additional-capability {
key "name";
leaf name {
type string;
description
"Identifies a requested additional capability for the
VDU. ETSI GS NFV-IFA 002 [i.1] describes acceleration
capabilities.";
reference
"GS NFV IFA011: Section 7.1.9.5,
RequestedAdditionalCapabilityData Information element.";
}
leaf support-mandatory {
type boolean;
description
"Indicates whether the requested additional capability
is mandatory for successful operation.";
reference
"GS NFV IFA011: Section 7.1.9.5,
RequestedAdditionalCapabilityData Information
element.";
}
leaf min-version {
type string;
description
"Identifies the minimum version of the requested
additional capability.";
reference
"GS NFV IFA011: Section 7.1.9.5,
RequestedAdditionalCapabilityData Information element.";
}
leaf preferred-version {
type string;
description
"Identifies the preferred version of the requested
additional capability.";
reference
"GS NFV IFA011: Section 7.1.9.5,
RequestedAdditionalCapabilityData Information element.";
}
list target-performance-parameters {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Identifies specific attributes, dependent on the
requested additional capability type.";
reference
"GS NFV IFA011: Section 7.1.9.5,
RequestedAdditionalCapabilityData Information element.";
}
}
leaf compute-requirements {
type string;
description
"Specifies compute requirements.";
reference
"GS NFV IFA011: Section 7.1.9.2.2, VirtualComputeDesc
Information element.";
}
container virtual-memory {
leaf size {
type decimal64 {
fraction-digits 1;
range "0..max";
}
units "GB";
default 1;
description
"Amount of virtual memory in GB.";
reference
"GS NFV IFA011: Section 7.1.9.3, Information elements
related to Virtual Memory.";
}
leaf over-subscription-policy {
type string;
description
"The memory core oversubscription policy in terms of
virtual memory to physical memory on the platform.
The cardinality can be 0 during the allocation
request, if no particular value is requested.";
reference
"GS NFV IFA011: Section 7.1.9.3, Information elements
related to Virtual Memory.";
}
list vdu-mem-requirements {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of key-value pair requirements on the memory for
the VDU.";
reference
"GS NFV IFA011: Section 7.1.9.3.2, VirtualMemoryData
information element.";
}
leaf numa-enabled {
type boolean;
description
"It specifies the memory allocation to be cognisant of
the relevant process/core allocation. The cardinality
can be 0 during the allocation request, if no
particular value is requested.";
reference
"GS NFV IFA011: Section 7.1.9.3, Information elements
related to Virtual Memory.";
}
description
"The virtual memory of the virtualised compute.";
reference
"GS NFV IFA011: Section 7.1.9.2.2, VirtualComputeDesc
Information element.";
}
container virtual-cpu {
description
"The virtual CPU(s)of the virtualised compute.";
reference
"GS NFV IFA011: Section 7.1.9.2.2, VirtualComputeDesc
Information element.";
leaf cpu-architecture {
type string;
description
"CPU architecture type. Examples are x86, ARM. The
cardinality can be 0 during the allocation request,
if no particular CPU architecture type is requested.";
reference
"GS NFV IFA011: Section 7.1.9.2.3, VirtualCpuData
information elements.";
}
leaf num-virtual-cpu {
type uint16 {
range "1..max";
}
default 1;
description
"Number of virtual CPUs.";
reference
"GS NFV IFA011: Section 7.1.9.2.3, VirtualCpuData
information elements.";
}
leaf clock {
type uint32;
units "MHz";
description
"Minimum virtual CPU clock rate (e.g. in MHz). The
cardinality can be 0 during the allocation request,
if no particular value is requested.";
reference
"GS NFV IFA011: Section 7.1.9.2.3, VirtualCpuData
information elements.";
}
leaf oversubscription-policy {
type string;
description
"The CPU core oversubscription policy e.g. the relation
of virtual CPU cores to physical CPU cores/threads.
The cardinality can be 0 during the allocation request,
if no particular value is requested.";
reference
"GS NFV IFA011: Section 7.1.9.2.3, VirtualCpuData
information elements.";
}
list vdu-cpu-requirements {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of key-value pair requirements on the compute
(CPU) for the VDU.";
reference
"GS NFV IFA011: Section 7.1.9.3.2, VirtualCpuData
information element.";
}
container pinning {
presence "Set to specify CPU pinning.";
leaf policy {
default "dynamic";
type enumeration {
enum "static";
enum "dynamic";
}
description
"Indicates the policy for CPU pinning.
Values:
• static
• dynamic
In case of 'static' the virtual CPU cores are
requested to be allocated to logical CPU cores
according to the rules defined in
virtualCpuPinningRules. In case of 'dynamic' the
allocation of virtual CPU cores to logical CPU cores
is decided by the VIM. (e.g. SMT (Simultaneous
MultiThreading) requirements).";
reference
"GS NFV IFA011: Section 7.1.9.2.4,
VirtualCpuPinningData information element.";
}
list rule {
when "../policy = 'static'";
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"List of rules that should be considered during the
allocation of the virtual CPUs to logical CPUs in case
of 'static' virtualCpuPinningPolicy.";
reference
"GS NFV IFA011: Section 7.1.9.2.4,
VirtualCpuPinningData information element.";
}
description
"The virtual CPU pinning configuration for the
virtualised compute resource.";
reference
"GS NFV IFA011: Section 7.1.9.2.3,
VirtualCpuData information element.";
}
}
list virtual-disk {
key "id";
description
"The local or ephemeral disk(s) of the virtualised compute.";
reference
"GS NFV IFA011: Section 7.1.9.2.2, VirtualComputeDesc
Information element.";
leaf id {
type string;
description
"Unique identifier for the list of virtual disks.";
}
uses block-storage-data;
}
}
list virtual-storage-desc {
key "id";
description
"Storage requirements for a Virtual Storage instance
attached to the VNFC created from this VDU";
leaf id {
type string;
description
"Unique identifier of this VirtualStorageDesc in the
VNFD.";
reference
"GS NFV IFA011: Section 7.1.9.4, Information elements
related to Virtual Storage.";
}
leaf type-of-storage {
// Needed to be able to onboard images
type identityref {
base storage-type;
}
default "nfv:block";
description
"Type of virtualised storage resource
Values:
• BLOCK
• OBJECT
• FILE.";
reference
"GS NFV IFA011: Section 7.1.9.4, Information elements
related to Virtual Storage.";
}
choice storage {
container block-storage-data {
when '../type-of-storage = "nfv:block"';
description
"Specifies the details of block storage. It shall
be present when the 'typeOfStorage' attribute is set to
'BLOCK'. It shall be absent otherwise.";
reference
"GS NFV IFA011: Section 7.1.9.4, Information elements
related to Virtual Storage.";
uses block-storage-data;
}
container object-storage-data {
when '../type-of-storage = "nfv:object"';
description
"Specifies the details of object storage. It shall be
present when the 'typeOfStorage' attribute is set to
'OBJECT'. It shall be absent otherwise.";
reference
"GS NFV IFA011: Section 7.1.9.4, Information elements
related to Virtual Storage.";
leaf max-size-of-storage {
type uint64;
units "GB";
default 0;
description
"Max size of virtualised storage resource in GB.";
reference
"GS NFV IFA011: Section 7.1.9.4.4, ObjectStorage Information
element.";
}
}
container file-storage-data {
when '../type-of-storage = "nfv:file"';
description
"Specifies the details of file storage. It shall be present
when the 'typeOfStorage' attribute is set to 'FILE'. It
shall be absent otherwise.";
reference
"GS NFV IFA011: Section 7.1.9.4, Information elements
related to Virtual Storage.";
leaf size-of-storage {
type uint64;
units "GB";
default 0;
description
"Size of virtualised storage resource in GB.";
reference
"GS NFV IFA011: Section 7.1.9.4.5, FileStorageData
Information element.";
}
leaf file-system-protocol {
type string;
default "cifs";
description
"The shared file system protocol (e.g. NFS, CIFS).";
reference
"GS NFV IFA011: Section 7.1.9.4.5, FileStorageData
Information element.";
}
leaf int-virtual-link-desc {
type leafref {
path "../../../sw-image-desc/id";
}
mandatory true;
description
"Reference of the internal VLD which this file storage
connects to. The attached VDUs shall connect to the
same internal VLD.";
reference
"GS NFV IFA011: Section 7.1.9.4.5, FileStorageData
Information element.";
}
}
}
}
list sw-image-desc {
key "id";
description
"Defines descriptors of software images to be used by the
VNF.";
reference
"GS NFV IFA011: Section 7.1.2, VNFD Information element.";
leaf id {
type string;
description
"The identifier of this software image.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc information
element";
}
leaf name {
mandatory true;
type string;
description
"The name of this software image.";
reference
"GS NFV IFA011: Section 7.1.6.5 SwImageDesc
information element.";
}
leaf version {
mandatory true;
type string;
description
"The version of this software image.";
reference
"GS NFV IFA011: Section 7.1.6.5 SwImageDesc
information element.";
}
leaf provider {
type string;
description
"The provider of this software image. If not present the
provider of the software image is assumed to be same as
the VNF provider.";
reference
"GS NFV IFA011: Section 7.1.6.5 SwImageDesc
information element.";
}
container checksum {
leaf algorithm {
mandatory true;
type identityref {
base checksum-algorithm;
}
description
"Species the algorithm used to obtain the checksum
value.";
reference
"GS NFV IFA011: Section 7.1.6.10 ChecksumData
information element.";
}
leaf hash {
mandatory true;
type string;
description
"Contains the result of applying the algorithm
indicated by the algorithm attribute to the data to
which this ChecksumData refers.";
reference
"GS NFV IFA011: Section 7.1.6.10 ChecksumData
information element.";
}
description
"The checksum of the software image file.";
reference
"GS NFV IFA011: Section 7.1.6.5 SwImageDesc
information element.";
}
leaf container-format {
default "bare";
type enumeration {
enum "aki" {
description
"An Amazon kernel image.";
}
enum "ami" {
description
"An Amazon machine image.";
}
enum "ari" {
description
"An Amazon ramdisk image.";
}
enum "bare" {
description
"The image does not have a container or metadata
envelope.";
}
enum "docker" {
description
"A docker container format.";
}
enum "ova" {
description
"An OVF package in a tarfile.";
}
enum "ovf" {
description
"The OVF container format.";
}
}
description
"The container format describes the container file
format in which software image is provided.";
reference
"GS NFV IFA011: Section 7.1.6.5 SwImageDesc
information element.";
}
leaf disk-format {
default "qcow2";
type enumeration {
enum "aki" {
description
"An Amazon kernel image.";
}
enum "ami" {
description
"An Amazon machine image.";
}
enum "ari" {
description
"An Amazon ramdisk image.";
}
enum "iso" {
description
"An archive format for the data contents of an
disk, such as CD-ROM.";
}
enum "qcow2" {
description
"Supported by the QEMU emulator that can expand
dynamically and supports Copy on Write.";
}
enum "raw" {
description
"An unstructured disk image format; if you have a
file without an extension it is possibly a raw
format.";
}
enum "vdi" {
description
"Supported by VirtualBox virtual machine monitor
and the QEMU emulator.";
}
enum "vhd" {
description
"The VHD disk format, a common disk format used by
virtual machine monitors from VMware, Xen,
Microsoft, VirtualBox, and others.";
}
enum "vhdx" {
description
"The VHDX disk format, an enhanced version of the
VHD format, which supports larger disk sizes among
other features.";
}
enum "vmdk" {
description
"Common disk format supported by many common virtual
machine monitors.";
}
}
description
"The disk format of a software image is the format of
the underlying disk image.";
}
leaf min-disk {
type uint64;
units "GB";
mandatory true;
description
"The minimal disk size requirement for this software
image. The value of the 'size of storage' attribute
of the VirtualStorageDesc referencing this
SwImageDesc shall not be smaller than the value of
minDisk.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
leaf min-ram {
type decimal64 {
fraction-digits 1;
range "0..max";
}
units "GB";
default 0;
description
"The minimal RAM requirement for this software image.
The value of the 'size' attribute of
VirtualMemoryData of the Vdu referencing this
SwImageDesc shall not be smaller than the value of
minRam.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
leaf size {
mandatory true;
type uint64;
units "GB";
description
"The size of this software image.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
leaf image {
default ".";
type inet:uri;
description
"This is a reference to the actual software image.
The reference can be relative to the root of the VNF
Package or can be a URL";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
leaf operating-system {
type string;
description
"Identifies the operating system used in the software
image. This attribute may also identify if a 32 bit
or 64 bit software image is used.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
leaf-list supported-virtualization-environment {
type string;
description
"Identifies the virtualisation environments
(e.g. hypervisor) compatible with this software
image.";
reference
"GS NFV IFA011: Section 7.1.6.5, SwImageDesc
information element.";
}
}
list int-virtual-link-desc {
key "id";
description
"Represents the type of network connectivity mandated by the
VNF provider between two or more CPs which includes at
least one internal CP.";
reference
"GS NFV IFA011: Section 7.1.2, Vnfd information element.";
leaf id {
type string;
description
"Unique identifier of this internal VLD in VNFD.";
reference
"GS NFV IFA011: Section 7.1.7.2, VnfVirtualLinkDesc
Information elements.";
}
list flavour {
key "id";
description
"Describes a specific flavour of the VL with specific
bitrate requirements.";
reference
"GS NFV IFA011: Section 7.1.7.2, VnfVirtualLinkDesc
Information elements.";
leaf id {
type string;
description
"Identifies a flavour within a VnfVirtualLinkDesc.";
reference
"GS NFV IFA011: Section 7.1.8.5, VirtualLinkDescFlavour
information element.";
}
container qos {
presence "VL QoS parameters";
description
"QoS of the VL.";
reference
"GS NFV IFA011: Section 7.1.8.5, VirtualLinkDescFlavour
information element.";
leaf latency {
type uint32;
units "ms";
mandatory true;
description
"Specifies the maximum latency in ms.";
reference
"GS NFV IFA011: Section 7.1.8.10, QoS information
element.";
}
leaf packet-delay-variation {
type uint32;
units "ms";
mandatory true;
description
"Specifies the maximum jitter in ms.";
reference
"GS NFV IFA011: Section 7.1.8.10, QoS information
element.";
}
leaf packet-loss-ratio {
type decimal64 {
fraction-digits "2";
range "0..1.00";
}
description
"Specifies the maximum packet loss ratio.";
reference
"GS NFV IFA011: Section 7.1.8.10, QoS information
element.";
}
}
}
uses connectivity-type;
leaf-list test-access {
type string;
description
"Specifies test access facilities expected on the VL
(e.g. none, passive monitoring, or active (intrusive)
loopbacks at endpoints.";
reference
"GS NFV IFA011: Section 7.1.7.2, VnfVirtualLinkDesc
information element.";
}
leaf description {
type string;
description
"Provides human-readable information on the purpose of
the VL (e.g. control plane traffic).";
reference
"GS NFV IFA011: Section 7.1.7.2, VnfVirtualLinkDesc
information element.";
}
list monitoring-parameters {
key "id";
leaf id {
type string;
description
"Unique identifier of the monitoring parameter.";
reference
"GS NFV IFA011: Section 7.1.11.3, MonitoringParameter
information element.";
}
uses monitoring-parameter;
}
uses nfvi-maintenance-info {
description
"When present, provides information on the rules to be
observed when an instance based on this
VnfVirtualLinkDesc is impacted during NFVI operation and
maintenance (e.g. NFVI resource upgrades).";
reference
"GS NFV IFA011: Section 7.1.7.2, VnfVirtualLinkDesc
information element.";
}
}
uses security-group-rule;
list ext-cpd {
key "id";
min-elements 1;
description
"Describes an external interface exposed by this VNF enabling
connection with a Virual Link";
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element.";
choice cp-connection {
leaf int-virtual-link-desc {
description
"Reference to the internal Virtual Link Descriptor (VLD)
to which CPs instantiated from this external CP
Descriptor (CPD) connect. Either intVirtualLinkDesc or
intCpd shall be present.";
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id";
}
}
container int-cpd {
leaf vdu-id {
type leafref {
path "../../../vdu/id";
}
}
leaf cpd {
type leafref {
path "deref(../vdu-id)/../int-cpd/id";
}
}
}
leaf vip-cpd {
type leafref {
path "../../vip-cpd/id";
}
description
"Reference to the VIP CPD which is used to instantiate CPs
to hold virtual IP addresses. These CPs are, in turn,
exposed as external CPs defined by this external CPD.
One and only one of the following attributes shall be
present: intVirtualLinkDesc or intCpd or vipCpd .";
reference
"GS NFV-IFA011: Section 7.1.3.2, VnfExtCpd information
element";
}
}
uses virtual-network-interface-requirements;
leaf nicio-requirements {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:virtual-compute-desc/nfv: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
logical node level can be associated with the network
interface requirements associated with the CPD.";
reference
"GS NFV-IFA011: Section 7.1.6.6,
VirtualNetworkInterfaceRequirements information element";
}
uses cpd;
leaf security-group-rule-id {
type leafref {
path "../../security-group-rule/id";
}
description
"Reference of the security group rules bound to this
CPD.";
reference
"GS NFV IFA011: Section 7.1.6.3 Cpd information element";
}
}
list vip-cpd {
key "id";
leaf-list int-cpd {
min-elements 1;
type leafref {
path "../../vdu/int-cpd/id";
}
description
"Reference to the internal VDU CPD which is used to
instantiate internal CPs. These internal CPs share the
virtual IP addresses allocated when a VipCp instance
is created from the VipCpd.";
reference
"GS NFV IFA011: Section 7.1.17.2, VipCpd information element.";
}
leaf int-virtual-link-desc {
type leafref {
path "../../int-virtual-link-desc/id";
}
description
"Reference of the internal VLD which this VipCpd
connects to";
reference
"GS NFV IFA011: Section 7.1.17.2 VipCpd information element.";
}
leaf dedicated-ip-address {
type boolean;
description
"If set to true, it indicates that the VIP address
shall be different from the addresses allocated to
all of the VduCp instances associated to it.
If set to false, the VIP address shall be the same
as one of the VduCp instances associated to it.";
reference
"GS NFV IFA011: Section 7.1.17.2 VipCpd information element.";
}
leaf vip-function {
type identityref {
base vip-function;
}
description
"It indicates the function the virtual IP address is used
for.
Values:
• high availability
• load balancing.";
reference
"GS NFV IFA011: Section 7.1.17.2, VipCpd information element.";
}
uses cpd;
description
"Describes virtual IP addresses to be shared among instances
of connection points. See clause 7.1.17.";
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element.";
}
list df {
must "default-instantiation-level or " +
"count(instantiation-level) = 1";
key "id";
min-elements 1;
description
"Describes a specific Deployment Flavour (DF) of a VNF with
specific requirements for capacity and performance.";
reference
"GS NFV IFA011: Section 7.1.2, VNFD information element.";
leaf id {
type string;
description
"Identifier of this DF within the VNFD.";
reference
"GS NFV IFA011: Section 7.1.8, Information elements
to the DeploymentFlavour.";
}
leaf description {
type string;
description
"Human readable description of the deployment flavour";
reference
"GS NFV IFA011: Section 7.1.8, Information elements
to the DeploymentFlavour.";
}
list vdu-profile {
key "id";
min-elements 1;
description
"The Vduprofile describes additional instantiation data for
a given VDU used in a deployment flavour.";
reference
"GS NFV IFA011: Section 7.1.8, Information elements
to the DeploymentFlavour.";
leaf id {
type leafref {
path "../../../vdu/id";
}
reference
"GS NFV IFA011: Section 7.1.8.3, VduProfile information
element.";
}
leaf min-number-of-instances {
type uint16;
default 1;
description
"Minimum number of instances of the VNFC based on this
VDU that is permitted to exist for this flavour.";
reference
"GS NFV IFA011: Section 7.1.8.3, VduProfile information
element.";
}
leaf max-number-of-instances {
type uint16;
default 1;
must ". >= ../min-number-of-instances";
reference
"GS NFV IFA011: Section 7.1.8.3, VduProfile information
element.";
}
uses vnf-local-affinity-or-anti-affinity-rule;
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
description
"References of the affinity or anti-affinity
group(s) the VDU belongs to.";
reference
"GS NFV IFA011: Section 7.1.8.3, VduProfile information
element.";
}
uses nfvi-maintenance-info {
description
"When present, provides information on the impact
tolerance and rules to be observed when instance(s) of
the VDU are impacted during NFVI operation and
maintenance (e.g. NFVI resource upgrades).";
reference
"GS NFV IFA011: Section 7.1.8.3, VduProfile information
element.";
}
}
list virtual-link-profile {
key "id flavour";
description
"Defines the internal VLD along with additional data which
is used in this DF.";
reference
"GS NFV IFA011: Section 7.1.8.2, VnfDf information
element.";
leaf id {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id";
}
description
"Uniquely identifies a Vnf VLD.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
leaf flavour {
type leafref {
path "deref(../../../ext-cpd/int-virtual-link-desc)" +
"/../nfv:flavour/nfv:id";
}
description
"Identifies a flavour within the VnfVirtualLinkDesc.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
uses vnf-local-affinity-or-anti-affinity-rule;
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
description
"References of the affinity or anti-affinity
group(s) the VnfVirtualLinkDesc belongs to.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
container max-bit-rate-requirements {
leaf root {
mandatory "true";
type uint32;
description
"Throughput requirement of the link (e.g. bitrate of
E-Line, root bitrate of E-Tree, aggregate capacity
of E-LAN).";
reference
"GS NFV IFA011: Section 7.1.8.6,
LinkBitrateRequirements information element.";
}
leaf leaf {
type uint32;
description
"Throughput requirement of leaf connections to the
link when applicable to the connectivity type
(e.g. for E-Tree and E-LAN branches).";
reference
"GS NFV IFA011: Section 7.1.8.6,
LinkBitrateRequirements information element.";
}
description
"Specifies the maximum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
container min-bit-rate-requirements {
leaf root {
mandatory "true";
type uint32;
description
"Throughput requirement of the link (e.g. bitrate of
E-Line, root bitrate of E-Tree, aggregate capacity
of E-LAN).";
reference
"GS NFV IFA011: Section 7.1.8.6,
LinkBitrateRequirements information element.";
}
leaf leaf {
type uint32;
description
"Throughput requirement of leaf connections to the
link when applicable to the connectivity type
(e.g. for E-Tree and E-LAN branches).";
reference
"GS NFV IFA011: Section 7.1.8.6,
LinkBitrateRequirements information element.";
}
description
"Specifies the minimum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
container virtual-link-protocol-data {
leaf associated-layer-protocol {
type identityref {
base layer-protocol;
}
description
"One of the values of the attribute layerProtocol of
the ConnectivityType IE
Values:
• Ethernet
• MPLS
• ODU2
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA011: Section 7.1.8.13,
VirtualLinkProtocolData information element.";
}
container l2-protocol-data {
when "(../associated-layer-protocol = 'Ethernet') or " +
"(../associated-layer-protocol = 'MPLS') or " +
"(../associated-layer-protocol = 'ODU2') or " +
"(../associated-layer-protocol = 'Pseudo-Wire')";
leaf name {
type string;
description
"Network name associated with this L2 protocol.";
reference
"GS NFV IFA011: Section 7.1.8.14,
L2ProtocolData information element.";
}
leaf network-type {
type enumeration {
enum flat;
enum vlan;
enum vxlan;
enum gre;
}
description
"Specifies the network type for this L2 protocol.
Values:
• FLAT
• VLAN
• VXLAN
• GRE.";
reference
"GS NFV IFA011: Section 7.1.8.14,
L2ProtocolData information element.";
}
leaf vlan-transparent {
type boolean;
description
"Specifies whether to support VLAN transparency for
this L2 protocol or not.";
reference
"GS NFV IFA011: Section 7.1.8.14,
L2ProtocolData information element.";
}
leaf mtu {
type uint16;
description
"Specifies the maximum transmission unit (MTU) value
for this L2 protocol.";
reference
"GS NFV IFA011: Section 7.1.8.14,
L2ProtocolData information element.";
}
leaf segmentation-id {
type string;
description
"If present, specifies a specific virtualised network
segment, which depends on the network type. For e.g.,
VLAN ID for VLAN network type and tunnel ID for
GRE/VXLAN network types.";
reference
"GS NFV IFA011: Section 7.1.8.14,
L2ProtocolData information element.";
}
description
"Specifies the L2 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L2 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA011: Section 7.1.8.13,
VirtualLinkProtocolData information element.";
}
container l3-protocol-data {
when "(../associated-layer-protocol = 'IPv4') or " +
"(../associated-layer-protocol = 'IPv6')";
leaf name {
type string;
description
"Network name associated with this L3 protocol.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf ip-version {
type enumeration {
enum ipv4;
enum ipv6;
}
default "ipv4";
description
"Specifies IP version of this L3 protocol.
Values:
• IPV4
• IPV6.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf cidr {
type string;
description
"Specifies the CIDR (Classless InterDomain Routing)
of this L3 protocol.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf-list ip-allocation-pools {
type string;
description
"Specifies the allocation pools with start and end
IP addresses for this L3 protocol.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf gateway-ip {
type inet:ip-address;
description
"Specifies the gateway IP address for this L3
protocol.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf dhcp-enabled {
type boolean;
default "true";
description
"Indicates whether DHCP (Dynamic Host Configuration
Protocol) is enabled or disabled for this L3
protocol.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
leaf ipv6-address-mode {
when "../ip-version = 'ipv6'";
type enumeration {
enum slaac;
enum dhcpv6-stateful;
enum dhcpv6-stateless;
}
description
"Specifies IPv6 address mode.
Values:
• SLAAC
• DHCPV6-STATEFUL
• DHCPV6-STATELESS
May be present when the value of the ipVersion
attribute is 'IPV6' and shall be absent otherwise.";
reference
"GS NFV IFA011: Section 7.1.8.15,
L3ProtocolData information element.";
}
description
"Specifies the L3 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L3 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA011: Section 7.1.8.13,
VirtualLinkProtocolData information element.";
}
description
"Specifies the protocol data for a VL instantiated
according to this profile. Cardinality 0 is used when
no protocol data needs to be specified.";
reference
"GS NFV IFA011: Section 7.1.8.4, VirtualLinkProfile
information element.";
}
}
list vip-cp-profile {
key "id";
description
"Defines the minimum and maximum number of VIP CP instances
created from each of the VipCpds used in this flavour.
Shall be present if the deployment flavour can contain
VIP CP instances.";
reference
"GS NFV IFA011: Section 7.1.8.2, VnfDf information
element.";
leaf id {
type leafref {
path "../../../vip-cpd/id";
}
description
"Uniquely references a VIP CPD.";
reference
"GS NFV IFA011: Section 7.1.8.20, VipCpProfile information
element.";
}
leaf min-number-of-instances {
type uint16;
description
"Minimum number of instances of the VIP CP based on the
referenced VIP CPD that is permitted to exist for this
flavour. Shall be zero or greater.";
reference
"GS NFV IFA011: Section 7.1.8.20, VipCpProfile information
element.";
}
leaf max-number-of-instances {
type uint16;
description
"Maximum number of instances of the VIP CP based on the
referenced VIP CPD that is permitted to exist for this
flavour. Shall be greater than zero and not less than
the value of 'minNumberOfInstances'.";
reference
"GS NFV IFA011: Section 7.1.8.20, VipCpProfile information
element.";
}
}
list instantiation-level {
key "id";
min-elements 1;
description
"Describes the various levels of resources that can be
used to instantiate the VNF using this flavour.
Examples: Small, Medium, Large. If there is only one
'instantiationLevel' entry, it shall be treated as the
default instantiation level for this DF.
The InstantiationLevel information element describes a
given level of resources to be instantiated within a
deployment flavour in term of the number of VNFC instances
to be created from each VDU.
All the VDUs referenced in the level shall be part of the
corresponding deployment flavour and their number shall
be within the range (min/max) for this deployment flavour.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information element";
leaf id {
type string;
description
"Uniquely identifies a level with the DF.";
reference
"GS NFV IFA011: Section 7.1.8.7 InstantiationLevel
information element";
}
leaf description {
type string;
description
"Human readable description of the instantiation level";
reference
"GS NFV IFA011: Section 7.1.8.7 InstantiationLevel
information element";
}
list vdu-level {
key "vdu-id";
min-elements 1;
description
"Sets the number of instances for the VDU in this
instantiation level.";
reference
"GS NFV IFA011: Section 7.1.8.7 InstantiationLevel
information element";
leaf vdu-id {
type leafref {
path "../../../../vdu/id";
}
description
"Uniquely identifies a VDU.";
reference
"GS NFV IFA011: Section 7.1.8.9 VduLevel information
element";
}
leaf number-of-instances {
type uint16;
must ". <= ../../../../df/" +
"vdu-profile[id=current()/../vdu-id]/" +
"max-number-of-instances";
must ". >= ../../../../df/" +
"vdu-profile[id=current()/../vdu-id]/" +
"min-number-of-instances";
default 1;
description
"Number of instances of VNFC based on this VDU to
deploy for this level.";
reference
"GS NFV IFA011: Section 7.1.8.9 VduLevel information
element";
}
}
list vip-cp-level {
key "id";
description
"Indicates the number of VIP CP instances based on
a particular VipCpd to be part of this level.
If a particular VipCpd is defined with
minNumberOfInstances= maxNumberOfInstances=1 in the
vipCpProfile of the DF, that vipCpd may be omitted
from the 'vipCpLevel' attribute, which shall be
interpreted that one related VIP CP instance is
part of this level.";
reference
"GS NFV IFA011: Section 7.1.8.7, InstantiationLevel information
element.";
leaf id {
type leafref {
path "../../../../vip-cpd/id";
}
description
"Uniquely references a VIP CPD.";
reference
"GS NFV IFA011: Section 7.1.10.6, VipCpLevel information
element.";
}
leaf number-of-instances {
type uint16;
description
"Number of VIP CP instances based on the referenced
VipCpd to deploy for an instantiation level or for
a scaling delta. Shall be zero or greater.";
reference
"GS NFV IFA011: Section 7.1.10.6, VipCpLevel information
element.";
}
}
list scaling-info {
key "scaling-aspect-id";
description
"The InstantiationLevel information element describes a
given level of resources to be instantiated within a
DF in term of the number of VNFC instances to be
created from each VDU.";
reference
"GS NFV IFA011: Section 7.1.8.7 InstantiationLevel
information element";
leaf scaling-aspect-id {
type leafref {
path "../../../scaling-aspect/id";
}
description
"Identifier of the scaling aspect.";
reference
"GS NFV IFA011: Section 7.1.8.8 ScaleInfo information
element";
}
leaf scale-level {
type uint32;
description
"The scale level, greater than or equal to 0.";
reference
"GS NFV IFA011: Section 7.1.8.8 ScaleInfo information
element";
}
}
}
leaf default-instantiation-level {
type leafref {
path "../instantiation-level/id";
}
description
"References the 'instantiationLevel' entry which defines
the default instantiation level for this DF. It shall be
present if there are multiple 'instantiationLevel'
entries.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
}
leaf-list supported-operation {
type identityref {
base supported-operation;
}
description
"Indicates which operations are available for this DF via
the VNF LCM interface. Instantiate VNF, Query VNF and
Terminate VNF are supported in all DF and therefore
need not be included in this list.
Values:
• Scale VNF
• Scale VNF to level
• Heal VNF
• Operate VNF
• etc.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
}
container lcm-operations-configuration {
description
"This information element is a container for all
attributes that affect the invocation of the VNF
Lifecycle Management operations, structured by
operation.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
container instantiate-vnf-op-config {
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the InstantiateVnf
operation.";
reference
"GS NFV IFA011: Section 7.1.5.3
InstantiateVnfOpConfig information element";
}
description
"Configuration parameters for the InstantiateVnf
operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
}
container scale-vnf-op-config {
description
"Configuration parameters for the ScaleVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNFspecific parameters
to be passed when invoking the ScaleVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.4 ScaleVnfOpConfig
information element";
}
leaf scaling-by-more-than-one-step-supported {
type boolean;
default false;
description
"Signals whether passing a value larger than one in
the numScalingSteps parameter of the ScaleVnf
operation is supported by this VNF.
Default is FALSE, i.e. 'not supported'.";
reference
"GS NFV IFA011: Section 7.1.5.4
ScaleVnfOpConfig information element";
}
}
container scale-vnf-to-level-op-config {
description
"This information element defines attributes that
affect the invocation of the ScaleVnfToLevel
operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the ScaleVnfToLevel
operation.";
reference
"GS NFV IFA011: Section 7.1.5.5
ScaleVnfToLevelOpConfig information element";
}
leaf arbitrary-target-levels-supported {
type boolean;
default "false";
description
"Signals whether scaling according to the parameter
'scaleInfo' is supported by this VNF.";
reference
"GS NFV IFA011: Section 7.1.5.5
ScaleVnfToLevelOpConfig information element";
}
}
container heal-vnf-op-config {
description
"This information element defines attributes that
affect the invocation of the HealVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the HealVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.6 HealVnfOpConfig
information element";
}
leaf-list cause {
type string;
description
"Supported 'cause' parameter values.";
reference
"GS NFV IFA011: Section 7.1.5.6 HealVnfOpConfig
information element";
}
}
container terminate-vnf-op-config {
description
"This information element defines attributes that
affect the invocation of the TerminateVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
leaf min-graceful-termination {
type yang:timeticks;
default "1";
description
"Minimum timeout value for graceful termination of
a VNF instance.";
reference
"GS NFV IFA011: Section 7.1.5.7
TerminateVnfOpConfig information element";
}
leaf max-recommended-graceful-termination {
type yang:timeticks;
description
"Maximum recommended timeout value that can be needed
to gracefully terminate a VNF instance of a
particular type under certain conditions, such as
maximum load condition. This is provided by VNF
provider as information for the operator
facilitating the selection of optimal timeout value.
This value is not used as constraint.";
reference
"GS NFV IFA011: Section 7.1.5.7
TerminateVnfOpConfig information element";
}
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the TerminateVnf
operation.";
reference
"GS NFV IFA011: Section 7.1.5.7
TerminateVnfOpConfig information element";
}
}
container operate-vnf-op-config {
description
"This information element defines attributes that
affect the invocation of the OperateVnf operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
leaf min-graceful-stop-timeout {
type yang:timeticks;
default "1";
description
"Minimum timeout value for graceful stop of a VNF
instance.";
reference
"GS NFV IFA011: Section 7.1.5.8
OperateVnfOpConfig information element";
}
leaf max-recommended-graceful-stop-timeout {
type yang:timeticks;
description
"Maximum recommended timeout value that can be
needed to gracefully stop a VNF instance of a
particular type under certain conditions, such as
maximum load condition. This is provided by VNF
provider as information for the operator facilitating
the selection of optimal timeout value. This value
is not used as constraint.";
reference
"GS NFV IFA011: Section 7.1.5.8
OperateVnfOpConfig information element";
}
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the OperateVnf
operation.";
reference
"GS NFV IFA011: Section 7.1.5.8
OperateVnfOpConfig information element";
}
}
container change-vnf-flavour-op-config {
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the OperateVnf
operation.";
reference
"GS NFV IFA011: Section 7.1.5.9
ChangeVnfFlavour information element";
}
description
"Configuration parameters for the ChangeVnfFlavour
operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
}
container change-ext-vnf-connectivity-op-config {
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the
ChangeExtVnfConnectivity operation.";
reference
"GS NFV IFA011: Section 7.1.5.10
ChangeExtVnfConnectivityOpConfig information
element";
}
description
"Configuration parameters for the
ChangeExtVnfConnectivity operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
}
container create-snapshot-vnf-op-config {
description
"Configuration parameters for the Create VNF Snapshot
operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
list parameter {
key "key";
min-elements 1;
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the
CreateSnapshotVnfOpConfig operation.";
reference
"GS NFV IFA011: Section 7.1.5.11
CreateSnapshotVnfOpConfig information
element";
}
}
container revert-to-snapshot-vnf-op-config {
description
"Configuration parameters for the Revert-To VNF Snapshot
operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
list parameter {
key "key";
min-elements 1;
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the
RevertToSnapshotVnfOpConfig operation.";
reference
"GS NFV IFA011: Section 7.1.5.12
RevertToSnapshotVnfOpConfig information
element";
}
}
list change-current-vnf-package-op-config {
key "id";
description
"Configuration parameters for the
ChangeCurrentVnfPackageOpConfig operation.";
reference
"GS NFV IFA011: Section 7.1.5.2
VnfLcmOperationsConfiguration information element";
leaf id {
type string;
description
"Identifier of this parameter set for later referencing.";
reference
"GS NFV IFA011: Section 7.1.5.13
ChangeCurrentVnfPackageOpConfig information
element";
}
list parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Array of KVP requirements for VNF-specific parameters
to be passed when invoking the change current VNF
Package operation.";
reference
"GS NFV IFA011: Section 7.1.5.13
ChangeCurrentVnfPackageOpConfig information
element";
}
}
}
list affinity-or-anti-affinity-group {
key "id";
description
"The AffinityOrAntiAffinityGroup describes the affinity
or anti-affinity relationship applicable between the
virtualization containers to be created based on
different VDUs, or between internal VLs to be created
based on different VnfVirtualLinkDesc(s).
Per VNF, the affinity/anti-affinity rules defined using
this information element, using the
LocalAffinityOrAntiAffinityRule information element, and
using the placement constraints in the
GrantLifecycleOperation as defined in ETSI GS NFV-IFA
007 [i.3] should be conflict-free. In case of conflicts,
the placement constraints in the
GrantLifecycleOperation shall take precedence.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
leaf id {
type string;
description
"Identifier of this AffinityOrAntiAffinityGroup
information element.";
reference
"GS NFV IFA011: Section 7.1.8.12
AffinityOrAntiAffinityGroup information element";
}
leaf affinityorAntiaffinity {
mandatory true;
type affinity-type;
description
"Specifies the type of relationship that the members of
the group have.
Values:
• AFFINITY
• ANTI-AFFINITY";
reference
"GS NFV IFA011: Section 7.1.8.12
AffinityOrAntiAffinityGroup information element";
}
leaf scope {
mandatory true;
type affinity-scope;
description
"Specifies the scope of the affinity or anti-affinity
relationship.
Values:
• NFVI-PoP
• Zone
• ZoneGroup
• NFVI-node
• network-link-and-node";
reference
"GS NFV IFA011: Section 7.1.8.12
AffinityOrAntiAffinityGroup information element";
}
}
list indicator {
key "id";
leaf id {
type string;
description
"Unique identifier.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfIndicator
information element";
}
leaf name {
type string;
description
"The human readable name of the VnfIndicator.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfIndicator
information element";
}
leaf indicator-value {
type string;
description
"Defines the allowed values or value ranges of this
indicator.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfIndicator
information element";
}
leaf source {
type enumeration {
enum vnf;
enum em;
enum both;
}
description
"Describe the source of the indicator.
Values:
• VNF
• EM
• Both
This tells the consumer where to send the subscription
request.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfIndicator
information element";
}
description
"Declares the VNF indicators that are supported by this
VNF (specific to this DF).";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
}
list supported-vnf-interfaces {
key "name";
leaf name {
type enumeration {
enum vnf-configuration;
enum vnf-indicator;
enum vnf-lcm-coordination;
}
description
"Identifies an interface produced by the VNF.
Values:
• VNF_CONFIGURATION
• VNF_INDICATOR
• VNF_LCM_COORDINATION";
reference
"GS NFV IFA011: Section 7.1.8.16 VnfInterfaceDetails
information element";
}
leaf-list cpd-id {
type leafref {
path "../../../ext-cpd/id";
}
description
"References one or more CPDs from which to instantiate
external CPs through which interface endpoints on the
VNF side can be reached by the VNFM.";
reference
"GS NFV IFA011: Section 7.1.8.16 VnfInterfaceDetails
information element";
}
list interface-details {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
}
description
"Indicates which interfaces the VNF produces and provides
additional details on how to access the interface
endpoints.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
}
list supported-coordination-actions {
key "vnf-lcm-operation";
description
"References applicable LCM coordination actions
that can be invoked during each of the listed
VNF LCM operations.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
leaf vnf-lcm-operation {
type enumeration {
enum "instantiate";
enum "scale";
enum "scale_to_level";
enum "change_flavour";
enum "terminate";
enum "heal";
enum "operate";
enum "change_ext_conn";
enum "modify_info";
enum "create_snapshot";
enum "revert_to_snapshot";
}
description
"Identifies the specific VNF LCM operation.
Values:
• INSTANTIATE
• SCALE
• SCALE_TO_LEVEL
• CHANGE_FLAVOUR
• TERMINATE
• HEAL
• OPERATE
• CHANGE_EXT_CONN
• MODIFY_INFO
• CREATE_SNAPSHOT
• REVERT_TO_SNAPSHOT.";
reference
"GS NFV IFA011: Section 7.1.16.3 LcmCoordinationActionMapping
information element";
}
leaf coordination-action-name {
type leafref {
path "../../../lcm-operations-coordination/coordination-action-name";
}
description
"References to the names of coordination actions that can be
invoked during the LCM operation indicated by the
'vnfLcmOperation' attribute.
The related coordination actions shall either be declared
in the VnfLcmOperationCoordination information element
in the same VNFD, or shall be well-known standardized
coordination action name identifiers.";
reference
"GS NFV IFA011: Section 7.1.16.3 LcmCoordinationActionMapping
information element";
}
}
list monitoring-parameter {
key "id";
description
"Defines the virtualised resources monitoring parameters
on VNF level.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
leaf id {
type string;
description
"Unique identifier of the monitoring parameter.";
reference
"GS NFV IFA011: Section 7.1.11.3 MonitoringParameter
information element";
}
uses monitoring-parameter;
}
list scaling-aspect {
key "id";
description
"The scaling aspects supported by this DF of the VNF.
scalingAspect shall be present if the VNF supports
scaling.";
reference
"GS NFV IFA011: Section 7.1.8.2 VnfDf information
element";
leaf id {
type string;
description
"Unique identifier of this aspect in the VNFD.";
reference
"GS NFV IFA011: Section 7.1.10.2 ScalingAspect
information element";
}
leaf name {
type string;
description
"Human readable name of the aspect.";
reference
"GS NFV IFA011: Section 7.1.10.2 ScalingAspect
information element";
}
leaf description {
type string;
description
"Human readable description of the aspect.";
reference
"GS NFV IFA011: Section 7.1.10.2 ScalingAspect
information element";
}
leaf max-scale-level {
type uint32 {
range "1..max";
}
description
"The maximum scaleLevel for total number of scaling
steps that can be applied w.r.t. this aspect. The
value of this attribute corresponds to the number of
scaling steps can be applied to this aspect when
scaling it from the minimum scale level (i.e. 0) to the
maximum scale level defined by this attribute.";
reference
"GS NFV IFA011: Section 7.1.10.2 ScalingAspect
information element";
}
container aspect-delta-details {
list deltas {
key "id";
min-elements 1;
leaf id {
type string;
description
"Identifier of this scaling delta.";
reference
"GS NFV IFA011: Section 7.1.10.4 ScalingDelta
information element";
}
list vdu-delta {
key "id";
leaf id {
type leafref {
path "../../../../../../vdu/id";
}
description
"Uniquely identifies a VDU.";
reference
"GS NFV IFA011: Section 7.1.8.9 VduLevel
information element";
}
leaf number-of-instances {
type uint32 {
range "0..max";
}
description
"Number of instances of VNFC based on this VDU to
deploy for an instantiation level or for a
scaling delta. Shall be zero or greater.";
reference
"GS NFV IFA011: Section 7.1.8.9 VduLevel
information element";
}
description
"The number of VNFC instances based on particular
VDUs to be created or removed.";
reference
"GS NFV IFA011: Section 7.1.10.4 ScalingDelta
information element";
}
list virtual-link-bit-rate-delta {
key "id";
leaf id {
type string;
description
"Uniquely identifies a VnfVirtualLinkDesc.";
reference
"GS NFV IFA011: Section 7.1.10.5
VirtualLinkBitRateLevel information element";
}
container bit-rate-requirements {
leaf root {
type uint32;
units bits/sec;
mandatory true;
description
"Throughput requirement of the link (e.g.
bitrate of E-Line, root bitrate of E-Tree,
aggregate capacity of E-LAN).";
reference
"GS NFV IFA011: Section 7.1.8.6
LinkBitrateRequirements information element";
}
leaf leaf {
type uint32;
units bits/sec;
description
"Throughput requirement of leaf connections to
the link when applicable to the connectivity
type (e.g. for E-Tree and E-LAN branches).";
reference
"GS NFV IFA011: Section 7.1.8.6
LinkBitrateRequirements information element";
}
description
"Bitrate requirements for an instantiation level
or bitrate delta for a scaling step.";
reference
"GS NFV IFA011: Section 7.1.10.5
VirtualLinkBitRateLevel information element";
}
description
"The bitrate to be added or removed to virtual links
created from particular virtual link descriptors.";
reference
"GS NFV IFA011: Section 7.1.10.4 ScalingDelta
information element";
}
list vip-cp-delta {
key "id";
description
"Number of VIP CP instances based on a particular
VipCpd to be created or removed.";
reference
"GS NFV IFA011: Section 7.1.10.4, ScalingDelta information
element.";
leaf id {
type leafref {
path "../../../../../../vip-cpd/id";
}
description
"Uniquely references a VIP CPD.";
reference
"GS NFV IFA011: Section 7.1.10.6, VipCpLevel information
element.";
}
leaf number-of-instances {
type uint16;
description
"Number of VIP CP instances based on the referenced
VipCpd to deploy for an instantiation level or for
a scaling delta. Shall be zero or greater.";
reference
"GS NFV IFA011: Section 7.1.10.6, VipCpLevel information
element.";
}
}
description
"Declares different scaling deltas, each of which is
applied for one or more scaling steps of this
aspect.";
reference
"GS NFV IFA011: Section 7.1.10.3 AspectDeltaDetails
information element";
}
leaf step-deltas {
type leafref {
path "../deltas/id";
}
description
"Identifiers of the individual scaling deltas to be
applied for the subsequent scaling steps of this
aspect. The first entry in the array shall correspond
to the first scaling step (between scale levels 0 to
1) and the last entry in the array shall correspond
to the last scaling step (between maxScaleLevel-1
and maxScaleLevel).
Each referenced scaling delta shall be declared in
the 'deltas' attribute.";
reference
"GS NFV IFA011: Section 7.1.10.3 AspectDeltaDetails
information element";
}
description
"A specification of the deltas in terms of number of
instances of VNFCs and virtual link bit rates that
correspond to the scaling steps of this aspect. A
cardinality of zero indicates that this mapping has to
be specified in a lifecycle management script or be
otherwise known to the VNFM. The information in this
attribute, if provided, shall be consistent with the
information provided in the 'InstantiationLevel'
information element. If this attribute is provided, it
shall be provided for all scaling aspects.";
reference
"GS NFV IFA011: Section 7.1.10.2 ScalingAspect
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 {
description
"Describes the configurable properties of the VNF
(e.g. related to auto scaling and auto healing).";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
leaf is-auto-scalable-enabled {
type boolean;
description
"It permits to enable (TRUE) / disable (FALSE) the
auto-scaling functionality.";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
leaf is-auto-heal-enabled {
type boolean;
description
"It permits to enable (TRUE) / disable (FALSE) the
auto-healing functionality.";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
container vnfm-interface-info {
leaf interface-name {
type string {
pattern 'vnf-[lcm|pm|fm]';
}
description
"Identifies an interface produced by the VNFM.";
}
container details {
container uri-components {
leaf scheme {
type inet:uri;
description
"Corresponds to the scheme component of a URI, as
per IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
container authority {
leaf userinfo {
type string;
description
"Corresponds to the userinfo field of the authority
component of a URI, as per IETF RFC 3986.
For HTTP and HTTPS URIs, the provisions in
sections 2.7.1 and 2.7.2 of IETF RFC 7230 apply,
respectively.";
reference
"RFC 3986: URI Generic Syntax.";
}
leaf host {
type inet:host;
description
"Corresponds to the host field of the authority
component of a URI, as per IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
leaf port {
type inet:port-number;
description
"Corresponds to the port field of the authority
component of a URI, as per IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
description
"Corresponds to the authority component of a URI,
as per IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
leaf path {
type string;
description
"Corresponds to the path component of a URI, as per
IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
leaf query {
type string;
description
"Corresponds to the query component of a URI, as per
IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
leaf fragment {
type string;
description
"Corresponds to the fragment component of a URI, as per
IETF RFC 3986.";
reference
"RFC 3986: URI Generic Syntax.";
}
description
"Provides components to build a Uniform Resource
Identifier (URI) where to access the interface end
point.";
}
leaf-list interface-specific-data {
type string;
description
"Provides additional details that are specific to the
type of interface considered.";
}
description
"Provide additional data to access the interface
endpoint (e.g. API URI prefix).";
}
leaf credentials {
type string;
description
"Provides credential enabling access to the interface.";
}
description
"Contains information enabling access to the NFV-MANO
interfaces produced by the VNFM (e.g. URIs and
credentials).";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
container vnfm-oauth-server-info {
description
"Contains information to enable discovery of the
authorization server protecting access to
VNFM interfaces.";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
container vnf-oauth-server-info {
description
"Contains information to enable discovery of the
authorization server to validate the access tokens
provided by the VNFM when the VNFM accesses the VNF
interfaces, if that functionality (token introspection) is
supported by the authorization server.";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
list additional-configurable-property {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"It provides VNF specific configurable properties that can
be modified using the ModifyVnfConfiguration operation.";
reference
"GS NFV IFA011: Section 7.1.12 VnfConfigurableProperties
information element";
}
}
container modifiable-attributes {
description
"Describes the modifiable attributes of the VNF.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
leaf-list extension {
type string;
description
"Additional VNF-specific attributes of VnfInfo that
affect the lifecycle management of a VNF instance and
that are writeable.
For each VNF instance, these attributes are stored
persistently by the VNFM and can be queried and
modified through the VNFM.
These attributes are intended to be consumed by the
VNFM or by the lifecycle management scripts during the
execution of VNF lifecycle management operations.
Modifying these values has no direct effect on the VNF
instance; however, modified values can be considered
during subsequent VNF lifecycle management operations,
which means that the modified values can indirectly
affect the configuration of the VNF instance.";
reference
"GS NFV IFA011: Section 7.1.14 VnfInfoModifiableAttributes
information element";
}
leaf-list metadata {
type string;
description
"Additional VNF-specific attributes of VnfInfo that are
writeable and that provide metadata describing the VNF
instance.
For each VNF instance, these attributes are stored
persistently by the VNFM and can be queried and modified
through the VNFM.
These attributes are intended to provide information to
functional blocks external to the VNFM and will not be
used by the VNFM or the VNF lifecycle management
scripts when executing lifecycle management operations.
Modifying these attributes has no effect on the VNF
instance. It only affects the attribute values stored by
the VNFM.";
reference
"GS NFV IFA011: Section 7.1.14 VnfInfoModifiableAttributes
information element";
}
}
list lifecycle-management-script {
key "id";
description
"Includes a list of events and corresponding management
scripts performed for the VNF.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
leaf id {
type string;
description
"A unique string that identfies the script in question.";
}
leaf-list event {
type union {
type internal-lifecycle-management-script-event;
type external-lifecycle-management-script-event;
}
description
"Describes VNF lifecycle event(s) or an external stimulus
detected on a VNFM reference point.
If the event is of type
internal-lifecycle-management-script-event, then depending
on whether the event is of type start-* or end-*, the
script associated with the VNF LCM operation needs to be
executed before the event, or after the event,
respectively.
On the other hand, if the event is of type
external-lifecycle-management-script-event, then the
script associated with the event needs to be executed
for the given VNF LCM operation.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
leaf-list lcm-transition-event {
type string;
description
"Describes the transition VNF lifecycle event(s) that
cannot be mapped to any of the enumerated values
defined for the event attribute.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
leaf script {
type string;
description
"Includes a VNF LCM script (e.g. written in a DSL as
specified in requirement VNF_PACK.LCM.001) triggered to
react to one of the events listed in the event
attribute.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
leaf script-dsl {
type string;
description
"Defines the domain specific language (i.e. the type) of
script that is provided. Types of scripts could include
bash, python, etc.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
list script-input {
key "key";
leaf key {
type string;
description
"Includes a VNF LCM script (e.g. written in a DSL as
specified in requirement VNF_PACK.LCM.001) triggered to
react to one of the events listed in the event
attribute.
The string value specified here is a path to a file in
the VNF package.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
leaf value {
type string;
}
description
"Array of KVP requirements with the key as the parameter
name and the value as the parameter that need to be
passed as an input to the script.";
reference
"GS NFV IFA011: Section 7.1.13 LifeCycleManagementScript
information element";
}
}
list element-group {
status deprecated;
key "id";
description
"Describes the associated elements of a VNFD for a certain
purpose during VNF lifecycle management.
Reason for deprecating this node - Information about which
VDU and VLD are involved in scaling is better defined by
ScalingDelta.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
leaf id {
type string;
description
"Unique identifier of this group in the VNFD.";
reference
"GS NFV IFA011: Section 7.1.4 VnfdElementGroup
information element";
}
leaf description {
type string;
description
"Human readable description of the group.";
reference
"GS NFV IFA011: Section 7.1.4 VnfdElementGroup
information element";
}
leaf-list vdu {
type leafref {
path "../../vdu/id";
}
description
"References to Vdus that are part of this group.";
reference
"GS NFV IFA011: Section 7.1.4 VnfdElementGroup
information element";
}
leaf-list virtual-link-desc {
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:int-virtual-link-desc/nfv:id";
}
description
"References to VnfVirtualLinkDesc that are part of this
group.";
reference
"GS NFV IFA011: Section 7.1.4 VnfdElementGroup
information element";
}
}
list indicator {
key "id";
description
"Declares the VNF indicators that are supported by this
VNF.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
leaf id {
type string;
description
"Unique identifier";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
information element";
}
leaf name {
type string;
description
"The human readable name of the VnfIndicator.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
information element";
}
leaf-list indicator-value {
type string;
description
"Defines the allowed values or value ranges of this
indicator.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
information element";
}
leaf source {
type enumeration {
enum "vnf";
enum "em";
enum "both";
}
description
"Describe the source of the indicator. The possible values
are:
• VNF.
• EM.
• Both.
This tells the consumer where to send the subscription
request.";
reference
"GS NFV IFA011: Section 7.1.11.2 VnfdIndicator
information element";
}
}
leaf-list auto-scale {
type string;
description
"Rule that determines when a scaling action needs to be
triggered on a VNF instance e.g. based on certain VNF
indicator values or VNF indicator value changes or a
combination of VNF indicator value(s) and monitoring
parameter(s).";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
}
list vnf-package-change-info {
// IFA011ed332 defines the key as VersionSelector, which is
// nothing but a combination of src-vnfd-id, dst-vnfd-id and
// src-flavour-id. YANG cannot use a composite as a key, and
// therefore the model breaks it out as three elements that
// form the key.
key "src-vnfd-id dst-vnfd-id src-flavour-id";
leaf src-vnfd-id {
type string;
description
"Identifier of the source VNFD and the source VNF
package. Either the srcVnfdId or the dstVnfdId shall be
equal to the vnfdId of the VNFD containing this version
selector.";
reference
"GS NFV IFA011: Section 7.1.15.3 VersionSelector
information element";
}
leaf dst-vnfd-id {
type string;
description
"Identifier of the destination VNFD and the destination
VNF package. Either the srcVnfdId or the dstVnfdId shall
be equal to the vnfdId of the VNFD containing this version
selector.";
reference
"GS NFV IFA011: Section 7.1.15.3 VersionSelector
information element";
}
leaf src-flavour-id {
type string;
description
"Identifier of the deployment flavour in the source VNF
package for which this modification applies. It is up to
protocol design stage to decide whether there is further
optimization potential to apply one modification for
multiple srcFlavourIds.";
reference
"GS NFV IFA011: Section 7.1.15.3 VersionSelector
information element";
}
leaf additional-params-id {
type leafref {
path "../../df/lcm-operations-configuration/" +
"change-current-vnf-package-op-config/id";
}
description
"References the ChangeCurrentVnfPackageOpConfig information
element that defines the valid additional parameters for
the change.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
leaf-list modification-qualifier {
type enumeration {
enum "up";
enum "down";
enum "vnf-upgrade";
enum "vnf-update";
enum "vnf-downgrade";
}
description
"When present, it specifies the type of modification
resulting from transitioning from srcVnfdId to dstVnfdId.
Values:
• UP:indicating that the destination VNF version is newer
than the source version,
• DOWN:indicating that the destination VNF version is
older than the source version.
When provided, UP and DOWN values shall always be
supported as the first value. In addition, a vendor may
specify additional values and provide such values to
qualify further the change between the two versions such
as VNF_UPGRADE, VNF_UPDATE, VNF_DOWNGRADE, etc.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
leaf-list additional-modification-description {
type string;
description
"A VNF provider may define additional information to
qualify further the change between the two versions,
such as 'VNF upgrade', 'VNF update', 'VNF downgrade',
etc.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
list component-mapping {
key "type";
leaf type {
type string;
description
"The type of component or property. Possible values
differentiate whether changes concern to some VNF
component (e.g., VDU, internal VLD, etc.) or property
(e.g., a Scaling Aspect, etc.).";
reference
"GS NFV IFA011: Section 7.1.15.4 ComponentMapping
information element";
}
leaf source-desc-id {
type string;
description
"Identifier of the component or property in the source
VNFD.";
reference
"GS NFV IFA011: Section 7.1.15.4 ComponentMapping
information element";
}
leaf dst-desc-id {
type string;
description
"Identifier of the component or property in the
destination VNFD.";
reference
"GS NFV IFA011: Section 7.1.15.4 ComponentMapping
information element";
}
leaf description {
type string;
description
"Human readable description of the component changes.";
reference
"GS NFV IFA011: Section 7.1.15.4 ComponentMapping
information element";
}
description
"Mapping information related to identifiers of components in
source VNFD and destination VNFD that concern to the change
process.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
leaf lcm-script-id {
type leafref {
path "../../lifecycle-management-script/id";
}
description
"Reference to a lifecycle management script that is executed
as part of this 'change current VNF Package' process.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
leaf coordination-action-name {
type leafref {
path "../../lcm-operations-coordination/coordination-action-name";
}
description
"Reference to applicable VNF LCM operation coordination actions
that can be invoked during a VNF package change as defined by
the 'selector' attribute.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
leaf dst-flavour-id {
type leafref {
path "../../df/id";
}
description
"Identifies the deployment flavour in the destination VNF
package for which this change applies. The flavour ID is
defined in the destination VNF package.";
reference
"GS NFV IFA011: Section 7.1.15.2 VnfPackageChangeInfo
information element";
}
description
"Information used for performing the change of the current
VNF Package. More than one VNF Package Change Info construct
is possible to cater the possibility that changes of the
current VNF Package can be performed for different source
VNFDs.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
}
list lcm-operations-coordination {
key "coordination-action-name";
leaf coordination-action-name {
type string;
description
"Identifies the specific VNF LCM operation coordination
action.Shall be unique within the scope of VNFD";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
leaf description {
type string;
description
"Human readable description of the coordination action.";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
leaf endpoint-type {
type enumeration {
enum "mgmt";
enum "vnf";
}
description
"Specifies the type of the endpoint exposing the LCM
operation coordination such as other operations supporting
or management systems (e.g. an EM) or the VNF instance.
Values:
• MGMT: coordination with other operation supporting
management systems
• VNF: coordination with the VNF instance.";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
leaf coordination-stage {
type enumeration {
enum "start";
enum "end";
}
description
"Indicates whether the coordination action is invoked before
or after all other changes performed by the VNF LCM
operation.
Values:
• START:the coordination action is invoked after receiving
the grant and before the LCM operation performs any
other changes.
• END:the coordination action is invoked after the LCM
operation has performed all other changes.
This attribute shall be omitted if the coordination action
is intended to be invoked at an intermediate stage of the
LCM operation, i.e. neither at the start nor at the end.
In this case, the actual instant during the LCM operation
when invoking the coordination is determined by means outside
the scope of the present document such as VNFM-internal logic
or LCM script.";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
list input-parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Input parameter needed by the external coordinating
entity.";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
list output-parameter {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
description
"Output parameter provided by the external coordinating
entity.";
reference
"GS NFV IFA011: Section 7.1.16.2 VnfLcmOperationCoordination
information element";
}
description
"Provides information used for the coordination in VNF LCM
operations.";
reference
"GS NFV IFA011: Section 7.1.2 VNFD information element";
}
}
}
SOL006-ec1d9a71b036c0f4c86b470fdf57baf10247896d/src/yang/etsi-nfv-vnfd.yang 0000664 0000000 0000000 00000001562 14031320541 0024551 0 ustar 00root root 0000000 0000000 module etsi-nfv-vnfd {
yang-version 1.1;
namespace "urn:etsi:nfv:yang:etsi-nfv-vnfd";
prefix vnfd;
import etsi-nfv-descriptors {
prefix vnf;
}
organization
"European Telecommunications Standards Institute (ETSI)";
description
"Virtual Network Function Descriptor.";
revision 2020-06-10 {
description
"Version 3.3.1.
VNFD according to ETSI GS NFV-IFA 011 Release 3.";
}
revision 2020-06-01 {
description
"Version 2.8.1.
VNFD according to ETSI GS NFV-IFA 011 271.";
}
revision 2019-10-01 {
description
"Revision 2.7.1.
VNFD according to ETSI GS NFV-IFA 011 Ed271v264.";
}
revision 2019-03-18 {
description
"Initial revision.
VNFD according to ETSI GS NFV-IFA 011 Ed261v254.";
}
container vnfd {
presence "VNFD container.";
uses vnf:vnfd;
}
}