Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh 6b39be106b Migrate unit tests fully to stestr
Change-Id: Ifbeadf1df3aaa69197b77d422eda8fe36f79411f
2021-02-10 10:55:56 +00:00
Frode Nordahl bc908fb587
Implement generation of shared secret for metadata
The ``nova-compute`` charm gates enablement of the local Nova
metadata service on presence of the ``metadata-shared-secret``
key in the relation data in the subordinate relation with
``neutron-plugin`` interface.  This is implemented in the classic
``neutron-openvswitch`` charm today.

Add the bits necessary for a reactive charm to participate in this
part of the relation.

Also adds units tests to the interface.

Change-Id: I358e60c40a7f7c0cd33b31f2b7a8c58d6cb83326
2019-10-08 08:23:39 +02:00
Camille Rodriguez fa811c9e9a Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: Ie250e8d9cb5063955140cfc8275ff91865334053
2019-08-27 09:06:32 -04:00
Doug Hellmann 63508f8ee4 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I119d05aa0a9bc07fdd47e636802ca01f7d11e9fc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 12:46:09 +00:00
Andreas Jaeger 4942011978 Update tox to remove deprecated pip option
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.

Remove so that python installation works.

Change-Id: Id40017a62ee27ff0178dafddf9171738f8e95069
2018-10-04 12:08:25 +02:00
Alex Kavanagh 848327256f Add minimal requires.py
This is so that it can be used on a principal charm to allow, for
example, the neutron-openvswitch subordinate to be plugged into
principal charms.

Change-Id: I8760f2f9bec85ccc8b149b9560a6eed3e9ab418b
2016-11-18 09:28:01 +00:00