Commit 99084012 authored by Mahesh Jethanandani's avatar Mahesh Jethanandani

Fix for bug#225

parent 2f51627e
Pipeline #397 passed with stage
in 0 seconds
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</virtual-compute-descriptor> </virtual-compute-descriptor>
<virtual-storage-descriptor> <virtual-storage-descriptor>
<id>asa-vsd</id> <id>asa-vsd</id>
<type-of-storage>root</type-of-storage> <type-of-storage>root-storage</type-of-storage>
<size-of-storage>0</size-of-storage> <size-of-storage>0</size-of-storage>
</virtual-storage-descriptor> </virtual-storage-descriptor>
<sw-image-desc> <sw-image-desc>
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
</virtual-compute-descriptor> </virtual-compute-descriptor>
<virtual-storage-descriptor> <virtual-storage-descriptor>
<id>csr-vsd</id> <id>csr-vsd</id>
<type-of-storage>root</type-of-storage> <type-of-storage>root-storage</type-of-storage>
<size-of-storage>0</size-of-storage> <size-of-storage>0</size-of-storage>
</virtual-storage-descriptor> </virtual-storage-descriptor>
<sw-image-desc> <sw-image-desc>
......
...@@ -216,7 +216,30 @@ submodule etsi-nfv-common { ...@@ -216,7 +216,30 @@ submodule etsi-nfv-common {
reference reference
"GS NFV IFA011: Section 7.1.6.10 Checksum information element."; "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 root-storage {
base storage-type;
description
"Root type of storage.";
}
identity swap-storage {
base storage-type;
description
"Swap type of storage.";
}
identity ephemeral-storage {
base storage-type;
description
"Ephemeral type of storage.";
}
/* /*
* Typedefs * Typedefs
*/ */
......
...@@ -733,12 +733,10 @@ submodule etsi-nfv-vnf { ...@@ -733,12 +733,10 @@ submodule etsi-nfv-vnf {
leaf type-of-storage { leaf type-of-storage {
// Needed to be able to onboard images // Needed to be able to onboard images
type enumeration { default "root-storage";
enum "root"; type identityref {
enum "swap"; base storage-type;
enum "ephemeral"; }
}
default "root";
description description
"Type of virtualised storage resource (e.g. volume, "Type of virtualised storage resource (e.g. volume,
object)."; object).";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment