Loading example-data/nfv.xml +14 −0 Original line number Diff line number Diff line Loading @@ -41,9 +41,16 @@ </virtual-storage-descriptor> <sw-image-desc> <id>asa-image</id> <name>ASA image</name> <version>1.1</version> <checksum> <algorithm>sha-224</algorithm> <hash>deadbeef</hash> </checksum> <container-format>bare</container-format> <disk-format>qcow2</disk-format> <min-ram>2.0</min-ram> <size>1</size> <image>http://www.cisco.com/asa.qcow2</image> </sw-image-desc> <ext-cpd> Loading Loading @@ -136,9 +143,16 @@ </virtual-storage-descriptor> <sw-image-desc> <id>csr-image</id> <name>CSR image</name> <version>1.1</version> <checksum> <algorithm>sha-224</algorithm> <hash>deadbeef</hash> </checksum> <container-format>bare</container-format> <disk-format>qcow2</disk-format> <min-ram>2.0</min-ram> <size>1</size> <image>http://www.cisco.com/csr.qcow2</image> </sw-image-desc> <ext-cpd> Loading src/yang/etsi-nfv-vnf.yang +17 −0 Original line number Diff line number Diff line Loading @@ -812,6 +812,7 @@ submodule etsi-nfv-vnf { information element"; } leaf name { mandatory true; type string; description "The name of this software image."; Loading @@ -819,7 +820,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf version { mandatory true; type string; description "The version of this software image."; Loading @@ -827,8 +830,11 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } container checksum { leaf algorithm { mandatory true; type identityref { base checksum-algorithm; } Loading @@ -839,7 +845,9 @@ submodule etsi-nfv-vnf { "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 Loading @@ -855,6 +863,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf container-format { default "bare"; type enumeration { Loading Loading @@ -895,6 +904,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf disk-format { default "qcow2"; type enumeration { Loading Loading @@ -953,6 +963,7 @@ submodule etsi-nfv-vnf { "The disk format of a software image is the format of the underlying disk image."; } leaf min-disk { type uint64; units "GB"; Loading @@ -967,6 +978,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf min-ram { type decimal64 { fraction-digits 1; Loading @@ -984,7 +996,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf size { mandatory true; type uint64; units "GB"; description Loading @@ -993,6 +1007,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf image { default "."; type inet:uri; Loading @@ -1004,6 +1019,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf operating-system { type string; description Loading @@ -1014,6 +1030,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf-list supported-virtualization-environment { type string; description Loading Loading
example-data/nfv.xml +14 −0 Original line number Diff line number Diff line Loading @@ -41,9 +41,16 @@ </virtual-storage-descriptor> <sw-image-desc> <id>asa-image</id> <name>ASA image</name> <version>1.1</version> <checksum> <algorithm>sha-224</algorithm> <hash>deadbeef</hash> </checksum> <container-format>bare</container-format> <disk-format>qcow2</disk-format> <min-ram>2.0</min-ram> <size>1</size> <image>http://www.cisco.com/asa.qcow2</image> </sw-image-desc> <ext-cpd> Loading Loading @@ -136,9 +143,16 @@ </virtual-storage-descriptor> <sw-image-desc> <id>csr-image</id> <name>CSR image</name> <version>1.1</version> <checksum> <algorithm>sha-224</algorithm> <hash>deadbeef</hash> </checksum> <container-format>bare</container-format> <disk-format>qcow2</disk-format> <min-ram>2.0</min-ram> <size>1</size> <image>http://www.cisco.com/csr.qcow2</image> </sw-image-desc> <ext-cpd> Loading
src/yang/etsi-nfv-vnf.yang +17 −0 Original line number Diff line number Diff line Loading @@ -812,6 +812,7 @@ submodule etsi-nfv-vnf { information element"; } leaf name { mandatory true; type string; description "The name of this software image."; Loading @@ -819,7 +820,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf version { mandatory true; type string; description "The version of this software image."; Loading @@ -827,8 +830,11 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } container checksum { leaf algorithm { mandatory true; type identityref { base checksum-algorithm; } Loading @@ -839,7 +845,9 @@ submodule etsi-nfv-vnf { "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 Loading @@ -855,6 +863,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf container-format { default "bare"; type enumeration { Loading Loading @@ -895,6 +904,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5 SwImageDesc information element."; } leaf disk-format { default "qcow2"; type enumeration { Loading Loading @@ -953,6 +963,7 @@ submodule etsi-nfv-vnf { "The disk format of a software image is the format of the underlying disk image."; } leaf min-disk { type uint64; units "GB"; Loading @@ -967,6 +978,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf min-ram { type decimal64 { fraction-digits 1; Loading @@ -984,7 +996,9 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf size { mandatory true; type uint64; units "GB"; description Loading @@ -993,6 +1007,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf image { default "."; type inet:uri; Loading @@ -1004,6 +1019,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf operating-system { type string; description Loading @@ -1014,6 +1030,7 @@ submodule etsi-nfv-vnf { "GS NFV IFA011: Section 7.1.6.5, SwImageDesc information element."; } leaf-list supported-virtualization-environment { type string; description Loading