glance/etc/metadefs/compute-randomgen.json
zengjia c11ebf46e7 Fix unit of hw_rng:rate_period
Replace seconds with milliseconds
in the description of hw_rng:rate_period[1].

[1]https://libvirt.org/formatdomain.html#elementsRng

Change-Id: I53848359704d68dd84c5be8106f4e259937b8092
Related-Bug:#1843542
2019-09-20 02:35:56 +00:00

30 lines
1.0 KiB
JSON

{
"namespace": "OS::Compute::RandomNumberGenerator",
"display_name": "Random Number Generator",
"description": "If a random-number generator device has been added to the instance through its image properties, the device can be enabled and configured.",
"visibility": "public",
"protected": true,
"resource_type_associations": [
{
"name": "OS::Nova::Flavor"
}
],
"properties": {
"hw_rng:allowed": {
"title": "Random Number Generator Allowed",
"description": "",
"type": "boolean"
},
"hw_rng:rate_bytes": {
"title": "Random number generator limits.",
"description": "Allowed amount of bytes that the guest can read from the host's entropy per period.",
"type": "integer"
},
"hw_rng:rate_period": {
"title": "Random number generator read period.",
"description": "Duration of the read period in milliseconds.",
"type": "integer"
}
}
}