File: vif-types.rst

package info (click to toggle)
python-os-vif 4.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 948 kB
  • sloc: python: 5,503; makefile: 25; sh: 2
file content (81 lines) | stat: -rw-r--r-- 2,164 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
=========
VIF Types
=========

In *os-vif*, a VIF type refers to a particular approach for configuring the
backend of a guest virtual network interface. There is a small, finite set of
ways that a VIF backend can be configured for any given hypervisor and a
limited amount of metadata is associated with each approach.

.. py:module:: os_vif.objects.vif

VIF objects
===========

Each distinct type of VIF configuration is represented by a versioned object,
subclassing :class:`VIFBase`.

.. autoclass:: VIFBase

.. autoclass:: VIFGeneric

.. autoclass:: VIFBridge

.. autoclass:: VIFOpenVSwitch

.. autoclass:: VIFDirect

.. autoclass:: VIFVHostUser

.. autoclass:: VIFNestedDPDK


VIF port profile objects
========================

Each VIF instance can optionally be associated with a port profile object. This
provides a set of metadata attributes that serve to identify the guest virtual
interface to the host. Different types of host connectivity will require
different port profile object metadata. Each port profile type is associated
with a versioned object, subclassing :class:`VIFPortProfileBase`.

.. autoclass:: VIFPortProfileBase

.. autoclass:: VIFPortProfileOpenVSwitch

.. autoclass:: VIFPortProfileFPOpenVSwitch

.. autoclass:: VIFPortProfileOVSRepresentor

.. autoclass:: VIFPortProfileFPBridge

.. autoclass:: VIFPortProfileFPTap

.. autoclass:: VIFPortProfile8021Qbg

.. autoclass:: VIFPortProfile8021Qbh

.. autoclass:: VIFPortProfileK8sDPDK


Datapath Offload type object
============================

Port profiles can be associated with a ``datapath_offload`` object. This
provides a set of metadata attributes that serve to identify the datapath
offload parameters of a VIF. Each different type of datapath offload is
associated with a versioned object, subclassing :class:`DatapathOffloadBase`.

.. autoclass:: DatapathOffloadBase

.. autoclass:: DatapathOffloadRepresentor


VIF network objects
===================

Each VIF instance is associated with a set of objects which describe the
logical network that the guest will be plugged into. This information is again
represented by a set of versioned objects

.. todo:: Populate this!