os-vif/os_vif/tests/functional
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
..
internal Add support for Windows network commands 2018-09-26 14:40:21 +01:00
__init__.py Migrate from 'ip' commands to 'pyroute2' 2018-01-08 10:17:42 +00:00
base.py Configure privsep binary 2018-01-17 22:33:14 +00:00
privsep.py Migrate from 'ip' commands to 'pyroute2' 2018-01-08 10:17:42 +00:00