os-vif/vif_plug_linux_bridge
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 linux bridge 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
iptables.py [py35] Switch filter to list comprehensions 2017-01-23 02:53:50 +00:00
linux_bridge.py Add Port Profile info to VIF objects Linux Bridge plugin 2017-10-04 15:12:12 +01:00
linux_net.py Add support for Windows network commands 2018-09-26 14:40:21 +01:00
privsep.py linux_bridge: convert over to use privsep module 2016-04-04 12:42:16 +01:00