}
}
- grouping custom-config-files {
+ grouping config-file {
description "Grouping for files needed to be mounted into an additional drive";
- list custom-config-files {
+ list config-file {
description
"List of configuration files to be written on an additional drive";
key "source";
}
}
- grouping custom-boot-data {
+ grouping supplemental-boot-data {
description "Grouping for custom vim data";
- container custom-boot-data {
- uses manotypes:custom-config-files;
+ container supplemental-boot-data {
+ uses manotypes:config-file;
uses manotypes:custom-meta-data;
- leaf custom-drive {
- description "Some VIMs implement custom drives to host custom-files or meta-data";
+ leaf boot-data-drive {
+ description "Some VIMs implement additional drives to host config-files or meta-data";
type boolean;
default false;
}
}
}
- container boot-params {
- leaf boot-volume {
- description "This flag indicates if this is boot volume or not";
- type boolean;
- }
- leaf boot-priority {
- description "Boot priority associated with volume";
- type int32;
- }
+ leaf boot-volume {
+ description "This flag indicates if this is boot volume or not";
+ type boolean;
}
- container guest-params {
- description "Guest virtualization parameter associated with volume";
+ leaf boot-priority {
+ description "Boot priority associated with volume";
+ type int32;
+ }
- leaf device_bus {
- description "Type of disk-bus on which this disk is exposed to guest";
- type enumeration {
- enum ide;
- enum usb;
- enum virtio;
- enum scsi;
- }
+
+ leaf device_bus {
+ description "Type of disk-bus on which this disk is exposed to guest";
+ type enumeration {
+ enum ide;
+ enum usb;
+ enum virtio;
+ enum scsi;
}
+ }
- leaf device_type {
- description "The type of device as exposed to guest";
- type enumeration {
+ leaf device_type {
+ description "The type of device as exposed to guest";
+ type enumeration {
enum disk;
enum cdrom;
enum floppy;
enum lun;
- }
}
-
- uses custom-meta-data;
}
+
+ uses custom-meta-data;
}
}