Commit 99084012 authored by Mahesh Jethanandani's avatar Mahesh Jethanandani
Browse files

Fix for bug#225

parent 2f51627e
Pipeline #397 passed with stage
in 0 seconds
......@@ -36,7 +36,7 @@
</virtual-compute-descriptor>
<virtual-storage-descriptor>
<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>
</virtual-storage-descriptor>
<sw-image-desc>
......@@ -131,7 +131,7 @@
</virtual-compute-descriptor>
<virtual-storage-descriptor>
<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>
</virtual-storage-descriptor>
<sw-image-desc>
......
......@@ -216,7 +216,30 @@ submodule etsi-nfv-common {
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 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
*/
......
......@@ -733,12 +733,10 @@ submodule etsi-nfv-vnf {
leaf type-of-storage {
// Needed to be able to onboard images
type enumeration {
enum "root";
enum "swap";
enum "ephemeral";
}
default "root";
default "root-storage";
type identityref {
base storage-type;
}
description
"Type of virtualised storage resource (e.g. volume,
object).";
......
Supports Markdown
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