Questo contenuto non è disponibile nella lingua selezionata.

Chapter 7. Creating an instance with a VDPA interface


Important

This feature is available in this release as a Technology Preview, and therefore is not fully supported by Red Hat. It should only be used for testing, and should not be deployed in a production environment. For more information about Technology Preview features, see Scope of Coverage Details.

You can create an instance with a VDPA interface by requesting a port for your instance that has a vNIC type of VDPA.

Limitations

  • You cannot suspend, live migrate, shelve, or evacuate an instance that has a VDPA interface.
  • You cannot detach the VDPA interface from an instance and then reattach it to the instance.

Procedure

  1. Create a network that is mapped to the physical network:

    $ openstack network create vdpa_network \
     --provider-physical-network tenant \
     --provider-network-type vlan \
     --provider-segment 1337
    Copy to Clipboard Toggle word wrap
  2. Create a subnet for the network:

    $ openstack subnet create vdpa_subnet \
     --network vdpa_net1 \
     --subnet-range 192.0.2.0/24 \
     --dhcp
    Copy to Clipboard Toggle word wrap
  3. Create a port from a VDPA-enabled NIC:

    $ openstack port create vdpa_direct_port \
     --network vdpa_network \
     --vnic-type vdpa \
    Copy to Clipboard Toggle word wrap
  4. Create an instance, specifying the NIC port to use:

    $ openstack server create vdpa_instance \
     --flavor cirros256 --image cirros-0.3.5-x86_64-disk \
     --nic port-id=vdpa_direct_port --wait
    Copy to Clipboard Toggle word wrap

    An "ACTIVE" status in the output indicates that you have successfully created the instance on a host that can provide the requested VDPA interface.

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