/etc/glance/metadefs/compute-randomgen.json is in glance-api 2:16.0.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"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 seconds.",
"type": "integer"
}
}
}
|