This file is indexed.

/etc/glance/metadefs/compute-cpu-pinning.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
    "namespace": "OS::Compute::CPUPinning",
    "display_name": "CPU Pinning",
    "description": "This provides the preferred CPU pinning and CPU thread pinning policy to be used when pinning vCPU of the guest to pCPU of the host. See http://docs.openstack.org/admin-guide/compute-numa-cpu-pinning.html",
    "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_policy": {
            "title": "CPU Pinning policy",
            "description": "Type of CPU pinning policy.",
            "type": "string",
            "enum": [
              "shared",
              "dedicated"
            ]
        },
        "cpu_thread_policy": {
            "title": "CPU Thread Pinning Policy.",
            "description": "Type of CPU thread pinning policy.",
            "type": "string",
            "enum": [
                "isolate",
                "prefer",
                "require"
            ]
        }
    }
}