Questo contenuto non è disponibile nella lingua selezionata.

2.2. Compute


This section outlines the top new features for the Compute service.
Guest Device Role Tagging and Metadata Injection
With this update, OpenStack Compute creates and injects an additional metadata file which allows the guest to identify the instance based on the tags - the type of device, the bus it is attached to, the device address, the MAC address or drive serial string, the network or disk device name.
The guest is allowed to interpret the data. When the device role tags are used, the data is available through the metadata server and the configuration drive. For example, an example metadata file is as follows:
{ "devices": [ {
        "type": "nic",
        "bus": "pci",
        "address": "0000:00:02.0",
        "mac": "01:22:22:42:22:21",
        "tags": ["nfvfunc1"]
    },    {
        "type": "disk",
        "bus": "scsi",
        "address": "1:0:2:0",
        "serial": "disk-vol-2352423",
        "tags": ["dbvolume"]
    }
}
Copy to Clipboard Toggle word wrap
Newly defined API policy defaults
The API policy defaults are now defined in code like configuration options. Because of this, the sample policy.json file that is shipped with the Compute service (nova) is empty and should only be necessary if you want to override the API policy from the defaults in the code.
To generate the policy file you can run:
# oslopolicy-sample-generator --config-file=/etc/nova/nova-policy-generator.conf
Copy to Clipboard Toggle word wrap
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat