4 * Copyright 2016-2017 RIFT.IO Inc
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
23 namespace "urn:etsi:osm:yang:mano-types";
26 import ietf-inet-types {
36 "Update model to support projects.";
41 "Initial revision. This YANG file defines
42 the reusable base types for VNF Management
43 and Orchestration (MANO).";
45 "Derived from earlier versions of base YANG files";
48 typedef meta-data-type {
54 typedef package-type {
55 description "Type of descriptor being on-boarded";
62 typedef parameter-data-type {
70 grouping primitive-parameter-value {
73 "List of parameters to the configuration primitive.";
77 "Name of the parameter.";
83 "Data type associated with the value.";
84 type manotypes:parameter-data-type;
89 "Value associated with the name.";
95 grouping primitive-parameter {
98 "Name of the parameter.";
104 "Data type associated with the name.";
105 type manotypes:parameter-data-type;
109 description "Is this field mandatory";
115 description "The default value for this field";
119 leaf parameter-pool {
120 description "NSD parameter pool name to use for this parameter";
126 "The value should be dimmed by the UI.
127 Only applies to parameters with default values.";
134 "The value should be hidden by the UI.
135 Only applies to parameters with default values.";
141 grouping ui-primitive-group {
142 list parameter-group {
144 "Grouping of parameters which are logically grouped in UI";
149 "Name of the parameter group";
155 "List of parameters for the service primitive.";
157 uses manotypes:primitive-parameter;
161 description "Is this parameter group mandatory";
168 grouping event-config {
171 "Sequence number for the configuration primitive.";
177 "Name of the configuration primitive.";
182 leaf user-defined-script {
184 "A user defined script.";
195 description "Value of the configuration primitive.";
201 grouping image-properties {
204 "Image name for the software image.
205 If the image name is found within the VNF package it will
206 be uploaded to all VIM accounts during onboarding process.
207 Otherwise, the image must be added to the VIM account with
208 the same name as entered here.
213 leaf image-checksum {
215 "Image md5sum for the software image.
216 The md5sum, if provided, along with the image name uniquely
217 identifies an image uploaded to the CAL.
224 grouping vca-relations {
226 description "List of relations between elements in this descriptor.";
231 "Name of the relation.";
238 "List of two elements to be related.
239 Elements to be related are identified by a pair (id, endpoint).
240 The relation will relate (id1, endpoint1) to (id2, endpoint2).";
245 "A string, reference to the element id in the descriptor.
246 It could be a vnfd-id or a vdu-id in a VNFD,
247 or a nsd-id or member-vnf-index in a NSD.";
253 "Endpoint name defining the relation.";
260 grouping vca-metrics {
262 "Information about the VNF or VDU metrics";
264 description "List of VCA related metrics";
268 "Name of the metric, as defined in the Juju charm.";
272 } // END - grouping vca-metrics
274 grouping configuration-method {
275 choice config-method {
277 "Defines the configuration method for the VNF or VDU.";
280 "Use custom script for configuring the VNF or VDU.
281 This script is executed in the context of
282 Orchestrator (The same system and environment
287 "Script type - currently supported - Scripts confirming to Rift CA plugin";
297 "Configure the VNF or VDU through Juju.";
300 description "Juju charm to use with the VNF or VDU.";
304 description "Is this a proxy charm?";
313 grouping vca-config-access {
315 container config-access {
318 "Indicates the way to access to the xNF or xDU for VCA configuration.
319 For the moment there is a single way (ssh-access).";
321 container ssh-access {
324 "If the xNF requires ssh and this parameter is set, SSH keys
325 will be injected so that VCA can configure the xNF or xDU via ssh.";
328 description "whether ssh access is needed or not";
334 description "Default user for ssh";
339 } // END - grouping vca-config-access
341 grouping vca-configuration {
343 "Common information in the descriptors for NS, VNF or VDU configuration.
344 Note: If the NS contains multiple instances of the
345 same VNF or VDU, each instance could have a different
348 uses manotypes:configuration-method;
350 list config-primitive {
352 "List of config primitives supported by the
353 configuration agent for this VNF or VDU.";
358 "Name of the config primitive.";
364 "List of parameters to the config primitive.";
366 uses primitive-parameter;
369 leaf user-defined-script {
371 "A user defined script. If user defined script is defined,
372 the script will be executed using bash";
377 list initial-config-primitive {
379 "Initial set of configuration primitives.";
383 "Sequence number for the configuration primitive.";
387 choice primitive-type {
388 case primitive-definition {
391 "Name of the configuration primitive.";
395 uses primitive-parameter-value;
397 leaf user-defined-script {
399 "A user defined script.";
406 list terminate-config-primitive {
408 "Terminate set of configuration primitives.";
412 "Sequence number for the configuration primitive.";
417 "Name of the configuration primitive.";
421 uses primitive-parameter-value;
423 leaf user-defined-script {
425 "A user defined script.";
429 uses manotypes:vca-metrics;
431 } // END - grouping vca-configuration
433 typedef virtual-link-type {
435 "Type of virtual link
436 ELAN: A multipoint service connecting a set of VNFs
437 ELINE: For a simple point to point connection
438 // between a VNF and the existing network.
439 // ETREE: A multipoint service connecting one or
440 // more roots and a set of leaves, but
441 // preventing inter-leaf communication.";
449 grouping named-value {
459 typedef http-method {
461 "Type of HTTP operation";
475 "Type of API to fetch monitoring parameters";
484 typedef json-query-method {
486 "The method to extract a value from a JSON response
488 NAMEKEY - Use the name as the key for a non-nested value.
489 JSONPATH - Use jsonpath-rw implementation to extract a value.
490 OBJECTPATH - Use objectpath implementation to extract a value.";
498 typedef param-value-type {
500 "The type of the parameter value";
508 typedef connection-point-type {
510 "Type of connection point
512 // VNIC_ADDR: Virtual NIC Address
513 // PNIC_ADDR: Physical NIC Address
514 // PPORT: Physical Port.";
521 typedef widget-type {
523 "Type of the widget, typically used by the UI.";
534 typedef cpu-feature-type {
536 "Enumeration for CPU features.
538 AES: CPU supports advanced instruction set for
539 AES (Advanced Encryption Standard).
541 CAT: Cache Allocation Technology (CAT) allows
542 an Operating System, Hypervisor, or similar
543 system management agent to specify the amount
544 of L3 cache (currently the last-level cache
545 in most server and client platforms) space an
546 application can fill (as a hint to hardware
547 functionality, certain features such as power
548 management may override CAT settings).
550 CMT: Cache Monitoring Technology (CMT) allows
551 an Operating System, Hypervisor, or similar
552 system management agent to determine the
553 usage of cache based on applications running
554 on the platform. The implementation is
555 directed at L3 cache monitoring (currently
556 the last-level cache in most server and
559 DDIO: Intel Data Direct I/O (DDIO) enables
560 Ethernet server NICs and controllers talk
561 directly to the processor cache without a
562 detour via system memory. This enumeration
563 specifies if the VM requires a DDIO
607 enum REQUIRE_CLFLUSH;
635 enum REQUIRE_PCLMULQDQ;
636 enum PREFER_PCLMULQDQ;
639 enum REQUIRE_MONITOR;
677 enum REQUIRE_TSC_DEADLINE_TIMER;
678 enum PREFER_TSC_DEADLINE_TIMER;
687 enum REQUIRE_FSGSBASE;
688 enum PREFER_FSGSBASE;
701 enum REQUIRE_INVPCID;
716 typedef nfvi-metric-type {
717 description "Type of NFVI metric to be monitored";
719 enum cpu_utilization;
720 enum average_memory_utilization;
723 enum disk_read_bytes;
724 enum disk_write_bytes;
726 enum packets_received;
727 enum packets_in_dropped;
728 enum packets_out_dropped;
732 typedef scaling-trigger {
743 enum post-scale-out {
749 typedef scaling-policy-type {
760 typedef scaling-criteria-operation {
772 container vm-flavor {
775 "Number of VCPUs for the VM.";
781 "Amount of memory in MB.";
787 "Amount of disk space in GB.";
791 } //grouping vm-flavor
793 grouping vm-flavor-name {
794 leaf vm-flavor-name {
795 description "flavor name to be used while creating vm using cloud account";
800 grouping vswitch-epa {
801 container vswitch-epa {
802 leaf ovs-acceleration {
804 "Specifies Open vSwitch acceleration mode.
805 MANDATORY: OVS acceleration is required
806 PREFERRED: OVS acceleration is preferred";
816 "Specifies Open vSwitch hardware offload mode.
817 MANDATORY: OVS offload is required
818 PREFERRED: OVS offload is preferred";
828 grouping hypervisor-epa {
829 container hypervisor-epa {
832 "Specifies the type of hypervisor.
848 description "Specifies the host level EPA attributes.";
851 "Host CPU model. Examples include: SandyBridge,
854 enum PREFER_WESTMERE;
855 enum REQUIRE_WESTMERE;
856 enum PREFER_SANDYBRIDGE;
857 enum REQUIRE_SANDYBRIDGE;
858 enum PREFER_IVYBRIDGE;
859 enum REQUIRE_IVYBRIDGE;
861 enum REQUIRE_HASWELL;
862 enum PREFER_BROADWELL;
863 enum REQUIRE_BROADWELL;
865 enum REQUIRE_NEHALEM;
870 enum PREFER_CORE2DUO;
871 enum REQUIRE_CORE2DUO;
876 description "Host CPU architecture.";
894 description "Host CPU Vendor.";
903 leaf cpu-socket-count {
904 description "Number of sockets on the host.";
908 leaf cpu-core-count {
909 description "Number of cores on the host.";
913 leaf cpu-core-thread-count {
914 description "Number of threads per cores on the host.";
920 description "List of CPU features.";
922 description "CPU feature.";
923 type cpu-feature-type;
927 leaf om-cpu-model-string {
928 description "OpenMANO CPU model string";
932 list om-cpu-feature {
934 description "List of OpenMANO CPU features";
936 description "CPU feature";
945 description "EPA attributes for the guest";
946 container guest-epa {
947 leaf trusted-execution {
948 description "This VM should be allocated from trusted pool";
954 "Memory page allocation size. If a VM requires
955 hugepages, it should choose LARGE or SIZE_2MB
956 or SIZE_1GB. If the VM prefers hugepages it
957 should choose PREFER_LARGE.
958 LARGE : Require hugepages (either 2MB or 1GB)
959 SMALL : Doesn't require hugepages
960 SIZE_2MB : Requires 2MB hugepages
961 SIZE_1GB : Requires 1GB hugepages
962 PREFER_LARGE : Application prefers hugepages";
974 leaf cpu-pinning-policy {
976 "CPU pinning policy describes association
977 between virtual CPUs in guest and the
978 physical CPUs in the host.
979 DEDICATED : Virtual CPUs are pinned to
981 SHARED : Multiple VMs may share the
983 ANY : Any policy is acceptable for the VM";
991 leaf cpu-thread-pinning-policy {
993 "CPU thread pinning policy describes how to
994 place the guest CPUs when the host supports
996 AVOID : Avoids placing a guest on a host
998 SEPARATE: Places vCPUs on separate cores,
999 and avoids placing two vCPUs on
1000 two threads of same core.
1001 ISOLATE : Places each vCPU on a different core,
1002 and places no vCPUs from a different
1003 guest on the same core.
1004 PREFER : Attempts to place vCPUs on threads
1016 container cpu-quota {
1017 description "CPU quota describes the CPU resource allocation policy.
1018 Limit and Reserve values are defined in MHz";
1019 uses allocation-properties;
1024 container mem-quota {
1025 description "Memory quota describes the memory resource allocation policy.
1026 Limit and Reserve values are defined in MB";
1027 uses allocation-properties;
1030 container disk-io-quota {
1031 description "Disk IO quota describes the disk IO operations resource allocation policy.
1032 Limit and Reserve values are defined in IOPS";
1033 uses allocation-properties;
1036 container vif-quota {
1037 description "Virtual interfaces quota describes the virtual interface bandwidth resource allocation policy.
1038 Limit and Reserve values are defined in Mbps";
1039 uses allocation-properties;
1044 "List of pcie passthrough devices.";
1048 "Device identifier.";
1053 "Number of devices to attach to the VM.";
1058 choice numa-policy {
1066 container numa-node-policy {
1068 "This policy defines NUMA topology of the
1069 guest. Specifically identifies if the guest
1070 should be run on a host with one NUMA
1071 node or multiple NUMA nodes. As an example
1072 a guest might need 8 VCPUs and 4 GB of
1073 memory. However, it might need the VCPUs
1074 and memory distributed across multiple
1075 NUMA nodes. In this scenario, NUMA node
1076 1 could run with 6 VCPUs and 3GB, and
1077 NUMA node 2 could run with 2 VCPUs and
1082 "The number of NUMA nodes to expose to the VM.";
1088 "This policy specifies how the memory should
1089 be allocated in a multi-node scenario.
1090 STRICT : The memory must be allocated
1091 strictly from the memory attached
1093 PREFERRED : The memory should be allocated
1094 preferentially from the memory
1095 attached to the NUMA node";
1106 "NUMA node identification. Typically
1114 "List of VCPUs to allocate on
1118 description "List of VCPUs ids to allocate on
1125 "Memory size expressed in MB
1126 for this NUMA node.";
1130 choice om-numa-type {
1132 "OpenMANO Numa type selection";
1140 case paired-threads {
1141 container paired-threads {
1142 leaf num-paired-threads {
1146 list paired-thread-ids {
1148 "List of thread pairs to use in case of paired-thread NUMA";
1176 grouping allocation-properties {
1178 description "Defines the maximum allocation. The value 0 indicates that usage is not limited.
1179 This parameter ensures that the instance never uses more than the defined amount of resource.";
1184 description "Defines the guaranteed minimum reservation.
1185 If needed, the machine will definitely get allocated the reserved amount of resources.";
1190 description "Number of shares allocated.
1191 Specifies the proportional weighted share for the domain.
1192 If this element is omitted, the service defaults to the OS provided defaults";
1197 grouping provider-network {
1198 container provider-network {
1199 description "Container for the provider network.";
1200 leaf physical-network {
1202 "Name of the physical network on which the provider
1207 leaf segmentation_id {
1209 "ID of segregated virtual networks";
1215 grouping http-endpoints {
1216 list http-endpoint {
1218 "List of http endpoints to be used by monitoring params";
1222 description "The HTTP path on the management server";
1227 description "Pick HTTPS instead of HTTP , Default is false";
1233 description "The HTTP port to connect to";
1234 type inet:port-number;
1238 description "The HTTP basic auth username";
1243 description "The HTTP basic auth password";
1247 leaf polling-interval-secs {
1248 description "The HTTP polling interval in seconds";
1255 "Method that the URI should perform.
1256 Deafult action is GET.";
1258 type manotypes:http-method;
1263 description "Custom HTTP headers to put on HTTP request";
1266 description "HTTP header key";
1271 description "HTTP header value";
1278 grouping monitoring-param-aggregation {
1279 typedef aggregation-type {
1281 "aggregation-type, indicates the way to aggregate monitoring-params
1282 (e.g. how to aggregate CPU utilisation of all VNFs belonging to the
1283 same VNF group identified by member-vnf-index; or how to aggregate
1284 memory utilisation of all VDUs belonging to the same VDU group
1285 identified by vdu id)";
1295 leaf aggregation-type {
1296 type aggregation-type;
1300 grouping monitoring-param-ui-data {
1306 description "A tag to group monitoring parameters";
1312 description "Defines the UI Display variant of measured counters.";
1313 type manotypes:widget-type;
1318 description "Measured Counter Units (e.g., Packets, Kbps, Mbps, etc.)";
1323 grouping monitoring-param-value {
1325 type param-value-type;
1329 container numeric-constraints {
1332 "Minimum value for the parameter";
1337 "Maximum value for the parameter";
1342 container text-constraints {
1345 "Minimum string length for the parameter";
1350 "Maximum string length for the parameter";
1355 leaf value-integer {
1357 "Current value for an integer parameter";
1361 leaf value-decimal {
1363 "Current value for a decimal parameter";
1371 "Current value for a string parameter";
1376 grouping control-param {
1377 list control-param {
1379 "List of control parameters to manage and
1380 update the running configuration of the VNF";
1384 description "Identifier for control parameter";
1389 description "Name of a control parameter";
1394 description "A description of the control parameter";
1399 description "A tag to group control parameters";
1405 "Minimum value for the parameter";
1411 "Maximum value for the parameter";
1415 leaf current-value {
1417 "Current value for the parameter";
1423 "Step value for the parameter";
1432 type manotypes:widget-type;
1437 "This is the URL where the operation should be performed.";
1444 "Method that the URI should perform.
1445 Default Action is POST";
1447 type manotypes:http-method;
1453 "This is the operation payload or payload template as stringified
1454 JSON. This field provides the data to be sent for this operation
1462 grouping action-param {
1465 "List of action parameters to
1481 description "A tag to group monitoring parameter";
1487 "This is the URL where to perform the operation";
1493 "This is the method to be performed at the uri.
1494 POST by default for action";
1496 type manotypes:http-method;
1502 "This is the operation payload or payload template to be sent in
1503 the data for this operation call";
1510 grouping input-parameter {
1511 description "List of input parameters that can be specified when instantiating a network service.";
1513 list input-parameter {
1515 "List of input parameters";
1522 "An xpath that specfies which element in a descriptor is to be
1529 "The value that the element specified by the xpath should take when a
1530 record is created.";
1536 grouping input-parameter-xpath {
1537 list input-parameter-xpath {
1539 "List of xpaths to parameters inside the NSD
1540 the can be customized during the instantiation.";
1545 "An xpath that specifies the element in a descriptor.";
1550 description "A descriptive string";
1554 leaf default-value {
1555 description "Default Value for the Input Parameter";
1561 grouping nfvi-metrics {
1565 "Label to show in UI";
1572 "The total number of VCPUs available.";
1578 "The VCPU utilization (percentage).";
1589 "Label to show in UI";
1596 "The amount of memory (bytes) currently in use.";
1602 "The amount of memory (bytes) available.";
1608 "The memory utilization (percentage).";
1619 "Label to show in UI";
1626 "The amount of storage (bytes) currently in use.";
1632 "The amount of storage (bytes) available.";
1638 "The storage utilization (percentage).";
1646 container external-ports {
1649 "Label to show in UI";
1651 default "EXTERNAL PORTS";
1656 "The total number of external ports.";
1661 container internal-ports {
1664 "Label to show in UI";
1666 default "INTERNAL PORTS";
1671 "The total number of internal ports.";
1679 "Label to show in UI";
1681 default "NETWORK TRAFFIC";
1684 container incoming {
1687 "Label to show in UI";
1689 default "INCOMING NETWORK TRAFFIC";
1694 "The cumulative number of incoming bytes.";
1700 "The cumulative number of incoming packets.";
1706 "The current incoming byte-rate (bytes per second).";
1714 "The current incoming packet (packets per second).";
1721 container outgoing {
1724 "Label to show in UI";
1726 default "OUTGOING NETWORK TRAFFIC";
1731 "The cumulative number of outgoing bytes.";
1737 "The cumulative number of outgoing packets.";
1743 "The current outgoing byte-rate (bytes per second).";
1751 "The current outgoing packet (packets per second).";
1760 typedef alarm-severity-type {
1761 description "An indication of the importance or urgency of the alarm";
1769 typedef alarm-metric-type {
1770 description "The type of metrics to register the alarm for";
1772 enum CPU_UTILIZATION;
1773 enum MEMORY_UTILIZATION;
1774 enum STORAGE_UTILIZATION;
1778 typedef alarm-statistic-type {
1780 "Statistic type to use to determine threshold crossing
1791 typedef relational-operation-type {
1793 "The relational operator used to define whether an alarm,
1794 scaling event, etc. should be triggered in certain scenarios,
1795 such as if the metric statistic goes above or below a specified
1798 enum GE; // greater than or equal
1799 enum LE; // less than or equal
1800 enum GT; // greater than
1801 enum LT; // less than
1806 grouping alarm-properties {
1808 description "A human readable string to identify the alarm";
1813 description "A description of this alarm";
1819 "The identifier of the VDUR that the alarm is associated with";
1831 list insufficient-data {
1848 "This flag indicates whether the alarm should be repeatedly emitted
1849 while the associated threshold has been crossed.";
1857 "This flag indicates whether the alarm has been enabled or
1865 description "A measure of the importance or urgency of the alarm";
1866 type alarm-severity-type;
1870 description "The type of metric statistic that is tracked by this alarm";
1871 type alarm-statistic-type;
1876 "The relational operator used to define whether an alarm should be
1877 triggered in certain scenarios, such as if the metric statistic
1878 goes above or below a specified value.";
1879 type relational-operation-type;
1884 "This value defines the threshold that, if crossed, will trigger
1893 "The period defines the length of time (seconds) that the metric
1894 data are collected over in oreder to evaluate the chosen
1901 "Defines the length of time (seconds) in which metric data are
1902 collected in order to evaluate the chosen statistic.";
1907 typedef cloud-account-type {
1908 description "VIM account type";
1912 enum cloudsim_proxy;
1921 grouping host-aggregate {
1922 list host-aggregate {
1923 description "Name of the Host Aggregate";
1928 "Name of the additional information attached to the host-aggregate";
1931 leaf metadata-value {
1933 "Value of the corresponding metadata-key";
1939 grouping placement-group-input {
1941 type manotypes:cloud-account-type;
1943 choice cloud-provider {
1945 container availability-zone {
1946 description "Name of the Availability Zone";
1951 container server-group {
1952 description "Name of the Affinity/Anti-Affinity Server Group";
1957 uses host-aggregate;
1960 leaf aws-construct {
1965 leaf openmano-construct {
1970 leaf vsphere-construct {
1975 leaf mock-construct {
1980 leaf cloudsim-construct {
1987 grouping cloud-config {
1990 description "Used to configure the list of public keys to be injected as part
1991 of ns instantiation";
1994 description "Name of this key pair";
1999 description "Key associated with this key pair";
2006 description "List of users to be added through cloud-config";
2009 description "Name of the user ";
2014 description "The user name's real name";
2020 description "Used to configure the list of public keys to be injected as part
2021 of ns instantiation";
2024 description "Name of this key pair";
2029 description "Key associated with this key pair";
2036 grouping placement-group-info {
2041 "Place group construct to define the compute resource placement strategy
2042 in cloud environment";
2047 description "This is free text space used to describe the intent/rationale
2048 behind this placement group. This is for human consumption only";
2054 "Strategy associated with this placement group
2055 Following values are possible
2056 - COLOCATION: Colocation strategy imply intent to share the physical
2057 infrastructure (hypervisor/network) among all members
2059 - ISOLATION: Isolation strategy imply intent to not share the physical
2060 infrastructure (hypervisor/network) among the members
2067 default "COLOCATION";
2071 grouping ip-profile-info {
2072 description "Grouping for IP-Profile";
2073 container ip-profile-params {
2076 type inet:ip-version;
2080 leaf subnet-address {
2081 description "Subnet IP prefix associated with IP Profile";
2082 type inet:ip-prefix;
2085 leaf gateway-address {
2086 description "IP Address of the default gateway associated with IP Profile";
2087 type inet:ip-address;
2090 leaf security-group {
2091 description "Name of the security group";
2098 description "List of DNS Servers associated with IP Profile";
2099 type inet:ip-address;
2103 container dhcp-params {
2105 description "This flag indicates if DHCP is enabled or not";
2110 leaf start-address {
2111 description "Start IP address of the IP-Address range associated with DHCP domain";
2112 type inet:ip-address;
2116 description "Size of the DHCP pool associated with DHCP domain";
2121 leaf subnet-prefix-pool {
2122 description "VIM Specific reference to pre-created subnet prefix";
2128 grouping ip-profile-list {
2131 "List of IP Profiles.
2132 IP Profile describes the IP characteristics for the Virtual-Link";
2137 description "Name of the IP-Profile";
2142 description "Description for IP profile";
2146 uses ip-profile-info;
2150 grouping config-file {
2151 description "Grouping for files needed to be mounted into an additional drive";
2154 "List of configuration files to be written on an additional drive";
2157 description "Name of the configuration file";
2161 description "Full path of the destination in the guest";
2167 grouping supplemental-boot-data {
2168 description "Grouping for custom vim data";
2169 container supplemental-boot-data {
2170 // uses manotypes:config-file;
2171 leaf boot-data-drive {
2172 description "Some VIMs implement additional drives to host config-files or meta-data";
2179 grouping volume-info {
2180 description "Grouping for Volume-info";
2183 description "Description for Volume";
2188 description "Size of disk in GB";
2192 choice volume-source {
2194 "Defines the source of the volume. Possible options are
2195 1. Ephemeral -- Empty disk
2196 2. Image -- Refer to image to be used for volume
2197 3. Volume -- Reference of pre-existing volume to be used
2207 uses image-properties;
2212 description "Type of disk-bus on which this disk is exposed to guest";
2222 description "The type of device as exposed to guest";
2232 grouping rpc-project-name {
2236 "Project to which this belongs";
2238 path "/osm-project:project/osm-project:name";