Adding keep-volume key to the description of vdu-storage-requirements
Change-Id: I750e4b4b3979ad61220bf06310770c90108f2986
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
augment "/vnfd:vnfd/vnfd:virtual-storage-desc" {
uses common:description;
}
+
+ augment "/vnfd:vnfd/vnfd:virtual-storage-desc/vnfd:vdu-storage-requirements" {
+ uses common:vdu-storage-requirements;
+ }
}
}
}
+ grouping vdu-storage-requirements {
+ list vdu-storage-requirements {
+ description
+ "Array of key-value pairs that articulate the storage
+ deployment requirements. If the storage type is persistent-storage
+ following setting holds the persistent volume upon VM deletion:
+ key: keep-volume
+ value: true";
+
+ key "key";
+
+ leaf key {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
+ }
+ }
+
typedef scaling-trigger {
type enumeration {
enum pre-scale-in {