This file is indexed.

/etc/glance/metadefs/compute-vcputopology.json is in glance-api 2:12.0.0-0ubuntu2.

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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
    "namespace": "OS::Compute::VirtCPUTopology",
    "display_name": "Virtual CPU Topology",
    "description": "This provides the preferred socket/core/thread counts for the virtual CPU instance exposed to guests. This enables the ability to avoid hitting limitations on vCPU topologies that OS vendors place on their products. See also: http://git.openstack.org/cgit/openstack/nova-specs/tree/specs/juno/virt-driver-vcpu-topology.rst",
    "visibility": "public",
    "protected": true,
    "resource_type_associations": [
        {
            "name": "OS::Glance::Image",
            "prefix": "hw_"
        },
        {
            "name": "OS::Cinder::Volume",
            "prefix": "hw_",
            "properties_target": "image"
        },
        {
            "name": "OS::Nova::Flavor",
            "prefix": "hw:"
        }
    ],
    "properties": {
        "cpu_sockets": {
            "title": "vCPU Sockets",
            "description": "Preferred number of sockets to expose to the guest.",
            "type": "integer"
        },
        "cpu_cores": {
            "title": "vCPU Cores",
            "description": "Preferred number of cores to expose to the guest.",
            "type": "integer"
        },
        "cpu_threads": {
            "title": " vCPU Threads",
            "description": "Preferred number of threads to expose to the guest.",
            "type": "integer"
        },
        "cpu_maxsockets": {
            "title": "Max vCPU Sockets",
            "description": "Maximum number of sockets to expose to the guest.",
            "type": "integer"
        },
        "cpu_maxcores": {
            "title": "Max vCPU Cores",
            "description": "Maximum number of cores to expose to the guest.",
            "type": "integer"
        },
        "cpu_maxthreads": {
            "title": "Max vCPU Threads",
            "description": "Maximum number of threads to expose to the guest.",
            "type": "integer"
        }
    }
}