Loading example-data/nfv-nsd.xml +3 −2 Original line number Diff line number Diff line <nsd xmlns="urn:etsi:nfv:yang:etsi-nfv-nsd"> <?xml version="1.0" encoding="UTF-8"?> <nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors"> <vnfd> <id>ASA</id> <provider>My Company</provider> Loading Loading @@ -133,4 +134,4 @@ </ns-instantiation-level> </df> </nsd> </config> </nfv> src/yang/etsi-nfv-nsd.yang +16 −0 Original line number Diff line number Diff line Loading @@ -28,10 +28,26 @@ module etsi-nfv-nsd { } container nsd { 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 nfv:vnfd; } 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 Loading src/yang/etsi-nfv-vnf.yang +17 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,23 @@ submodule etsi-nfv-vnf { "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"; } } } Loading Loading
example-data/nfv-nsd.xml +3 −2 Original line number Diff line number Diff line <nsd xmlns="urn:etsi:nfv:yang:etsi-nfv-nsd"> <?xml version="1.0" encoding="UTF-8"?> <nfv xmlns="urn:etsi:nfv:yang:etsi-nfv-descriptors"> <vnfd> <id>ASA</id> <provider>My Company</provider> Loading Loading @@ -133,4 +134,4 @@ </ns-instantiation-level> </df> </nsd> </config> </nfv>
src/yang/etsi-nfv-nsd.yang +16 −0 Original line number Diff line number Diff line Loading @@ -28,10 +28,26 @@ module etsi-nfv-nsd { } container nsd { 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 nfv:vnfd; } 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 Loading
src/yang/etsi-nfv-vnf.yang +17 −0 Original line number Diff line number Diff line Loading @@ -95,6 +95,23 @@ submodule etsi-nfv-vnf { "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"; } } } Loading