Commit Graph

6 Commits

Author SHA1 Message Date
Hervé Beraud 2812f9f664 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I491ca9f482a00b7ca3fa44aa8c26ef73559c178f
2021-12-14 13:06:13 +00:00
James Page f0a486c59d Drop flake8 upper version constraint
Clear up lint as a result of new pep8/flake8 version.

Change-Id: I3698766cb751b31ef1e6b806baa45c1cf6f7d899
2020-06-08 10:29:45 +01:00
Frode Nordahl 3e9f4096f9
Set appropriate permissons for certificate data
Change-Id: I8a4ba53a09f61a4f40555bd5892ba0ae2beb2de4
Closes-Bug: #1821314
2019-03-22 15:30:32 +01:00
Liam Young 759530dabe Added ovs, odl and pci modules
Added three new modules for managing OVS, ODL and PCI devices. They
exist in the new charms_openstack/{sdn,devices} directories.

The modules have come from the
git@github.com:openstack/charm-openvswitch-odl.git charm and are
largely unaltered apart from new Doc strings and unit tests.

Change-Id: I3e44afeb866a7551883da04a699af3807853a83e
2016-09-14 13:58:05 +00:00
Alex Kavanagh b08f224d38 Make the module work with python3
This makes the module work with Python 3 and adds a tox target to
perform python 3.5 tests.
2016-05-23 17:35:43 +00:00
Alex Kavanagh ffb9996696 Initial commit of OpenStackCharm for layer-openstack 2016-05-17 18:06:03 +00:00