Integration library between network (Neutron) and compute (Nova) providers
Go to file
Jan Gutter f4329ffe18 Improve OVS Representor VF Lookup
This patch set addresses some of the concerns outlined in:
https://bugs.launchpad.net/os-vif/+bug/1704485

* Determining the VF number from the netdev's phys_port_name:
  phys_port_name is read and then cast to an int.

  Currently there is no standard method to associate a representor with
  the VF number.
  phys_port_name has emerged as the "default" choice, but merely casting
  it as a single number has shortcomings:

  * A switchdev can potentially have VFs, PFs and physical ports as
    representors.
  * A switchdev can have multiple PFs.

  In this case, the recommendation is to use a parse tree that accepts
  naming conventions like:

  * 42
  * vf42
  * PF1VF42
  * vf42@PF1

* Test cases have been added for the above scenarios.

* An internal function for PF matching has been added for future use.
  This is important when PF representors are eventually exposed.

Change-Id: I051fcc6fd136b389a6200076bd6fc3b73b626d5e
Closes-Bug: #1704485
Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
2017-07-19 14:40:59 -04:00
doc/source Add support for VIFPortProfileOVSRepresentor 2017-07-18 20:56:55 +00:00
os_vif Add support for VIFPortProfileOVSRepresentor 2017-07-18 20:56:55 +00:00
releasenotes Add support for VIFPortProfileOVSRepresentor 2017-07-18 20:56:55 +00:00
vif_plug_linux_bridge set mtu on all code paths 2017-07-10 15:43:37 +00:00
vif_plug_ovs Improve OVS Representor VF Lookup 2017-07-19 14:40:59 -04:00
.coveragerc Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
.gitignore Start using reno for release notes 2016-05-03 13:53:29 +01:00
.gitreview Added .gitreview 2015-11-11 16:10:58 +00:00
.mailmap Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
.testr.conf Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
CONTRIBUTING.rst Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
HACKING.rst Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
LICENSE Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
README.rst Standardize README 2017-04-26 15:02:24 +01:00
babel.cfg Import of code from https://github.com/jaypipes/os_vif 2016-01-13 12:56:01 -05:00
requirements.txt Updated from global requirements 2017-06-27 12:19:44 +00:00
setup.cfg docs: Stop building anything but html output 2017-04-13 10:43:55 +01:00
setup.py Updated from global requirements 2017-03-10 19:12:21 +00:00
test-requirements.txt doc: Switch from oslosphinx to openstackdocstheme 2017-07-04 10:25:05 +01:00
tox.ini Enable some off-by-default checks 2017-07-11 10:53:10 +08:00

README.rst

Team and repository tags

image

os-vif

Latest Version

Downloads

A library for plugging and unplugging virtual interfaces in OpenStack.