os-vif/vif_plug_ovs
Rodolfo Alonso Hernandez e8d102b500 Add support for Windows network commands
Added a network library dependant on the operating system. Windows
and Linux OS are supported. The library is choosen automatically
depending on Python ``os.name``.

Linux library is based on ``ip`` commands and still relying on
``processutils`` library. Linux implementation can't use ``netifaces``
because this library doesn't provide the needed functionality. [1] will
migrate all ``ip`` commands to ``pyroute2`` library.

Windows library relies on Python's ``netifaces`` library because is
enough for the reduced set of commands used. The only functionality
implemented, to cover the bug resolution, is the device existence
check. New functionalities could be added following, for example,
the Neutron implementation.

[1] https://review.openstack.org/#/c/484386/

Closes-Bug: #1672812

Change-Id: I84e3582135ed02137366c8f55f1dd1e4c115f0b5
2018-09-26 14:40:21 +01:00
..
tests Add support for Windows network commands 2018-09-26 14:40:21 +01:00
__init__.py import openvswitch plugin implementation 2016-02-16 11:06:59 +00:00
constants.py Add plugin names as constants. 2017-09-05 11:38:12 +00:00
exception.py hardware offload support for openvswitch 2017-06-25 09:21:16 +03:00
i18n.py Update the documentation link for doc migration 2017-07-24 17:20:28 +08:00
linux_net.py Add support for Windows network commands 2018-09-26 14:40:21 +01:00
ovs.py Add support for Windows network commands 2018-09-26 14:40:21 +01:00
privsep.py ovs: convert over to use privsep module 2016-04-04 12:42:51 +01:00