docs/doc/source/guest_integration/openstack/use-a-vif-model-when-creating-ports.rst
Ron Stone a891252ae5 Guest integration reorganization
Moved k8S Container and OpenStack VNF sections into respective subdirs following "kubernetes"
and "openstack" conventions under guest_integration and added shared index.
This follows pattern used for other docs.
Rebase merge conflicts, formatting corrections and removed 2x NA files

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Ic56322108cdb03ab1f9e4dadf5f50fe20cd7b2d6
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-05-14 13:11:14 -04:00

27 lines
767 B
ReStructuredText

.. pey1602790994826
.. _use-a-vif-model-when-creating-ports:
=====================================
Using a VIF Model when Creating Ports
=====================================
For any non Virtio |NIC|, you must create a port beforehand using the VIF
model.
You can use the command line. For example:
.. code-block:: none
~(keystone_admin)$ openstack port create --network ${NETWORKID} --binding-profile vif_model=${VIF_MODEL} ${NAME}
For more information about port related commands, see
`https://docs.openstack.org/python-openstackclient/train/cli/command-objects/
port.html
<https://docs.openstack.org/python-openstackclient/train/cli/command-objects/
port.html>`__.
.. only:: partner
.. include:: /_includes/use-a-vif-model-when-creating-ports.rest