| 1 |
========= |
| 2 |
VIF Types |
| 3 |
========= |
| 4 |
|
| 5 |
In *os-vif*, a VIF type refers to a particular approach for configuring the |
| 6 |
backend of a guest virtual network interface. There is a small, finite set of |
| 7 |
ways that a VIF backend can be configured for any given hypervisor and a |
| 8 |
limited amount of metadata is associated with each approach. |
| 9 |
|
| 10 |
.. py:module:: os_vif.objects.vif |
| 11 |
|
| 12 |
VIF objects |
| 13 |
=========== |
| 14 |
|
| 15 |
Each distinct type of VIF configuration is represented by a versioned object, |
| 16 |
subclassing :class:`VIFBase`. |
| 17 |
|
| 18 |
.. autoclass:: VIFBase |
| 19 |
|
| 20 |
.. autoclass:: VIFGeneric |
| 21 |
|
| 22 |
.. autoclass:: VIFBridge |
| 23 |
|
| 24 |
.. autoclass:: VIFOpenVSwitch |
| 25 |
|
| 26 |
.. autoclass:: VIFDirect |
| 27 |
|
| 28 |
.. autoclass:: VIFVHostUser |
| 29 |
|
| 30 |
.. autoclass:: VIFNestedDPDK |
| 31 |
|
| 32 |
|
| 33 |
VIF port profile objects |
| 34 |
======================== |
| 35 |
|
| 36 |
Each VIF instance can optionally be associated with a port profile object. This |
| 37 |
provides a set of metadata attributes that serve to identify the guest virtual |
| 38 |
interface to the host. Different types of host connectivity will require |
| 39 |
different port profile object metadata. Each port profile type is associated |
| 40 |
with a versioned object, subclassing :class:`VIFPortProfileBase`. |
| 41 |
|
| 42 |
.. autoclass:: VIFPortProfileBase |
| 43 |
|
| 44 |
.. autoclass:: VIFPortProfileOpenVSwitch |
| 45 |
|
| 46 |
.. autoclass:: VIFPortProfileFPOpenVSwitch |
| 47 |
|
| 48 |
.. autoclass:: VIFPortProfileOVSRepresentor |
| 49 |
|
| 50 |
.. autoclass:: VIFPortProfileFPBridge |
| 51 |
|
| 52 |
.. autoclass:: VIFPortProfileFPTap |
| 53 |
|
| 54 |
.. autoclass:: VIFPortProfile8021Qbg |
| 55 |
|
| 56 |
.. autoclass:: VIFPortProfile8021Qbh |
| 57 |
|
| 58 |
.. autoclass:: VIFPortProfileK8sDPDK |
| 59 |
|
| 60 |
|
| 61 |
Datapath Offload type object |
| 62 |
============================ |
| 63 |
|
| 64 |
Port profiles can be associated with a ``datapath_offload`` object. This |
| 65 |
provides a set of metadata attributes that serve to identify the datapath |
| 66 |
offload parameters of a VIF. Each different type of datapath offload is |
| 67 |
associated with a versioned object, subclassing :class:`DatapathOffloadBase`. |
| 68 |
|
| 69 |
.. autoclass:: DatapathOffloadBase |
| 70 |
|
| 71 |
.. autoclass:: DatapathOffloadRepresentor |
| 72 |
|
| 73 |
|
| 74 |
VIF network objects |
| 75 |
=================== |
| 76 |
|
| 77 |
Each VIF instance is associated with a set of objects which describe the |
| 78 |
logical network that the guest will be plugged into. This information is again |
| 79 |
represented by a set of versioned objects |
| 80 |
|
| 81 |
.. todo:: Populate this! |