Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 7. Creating an instance with a VDPA interface

download PDF

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 or live migrate 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
  2. Create a subnet for the network:

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

    $ openstack port create vdpa_direct_port \
     --network vdpa_network \
     --vnic-type vdpa \
  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

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

Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.