Commit Graph

14 Commits

Author SHA1 Message Date
huang.zhiping 57b9ebb14e 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: Ie5b0294a912f1bcd8015197eacd9ac0f48e2cd14
2018-09-27 07:40:02 +00:00
Huang Rui 2e3d781d86 Move nova zvm virt driver to separate namespace
Currently, nova zvm virt driver is in nova namespace. This result
in some troubles when generating config file, generating docs and
packaging.

All changes in this commit are trying to move nova zvm virt driver
code into new namespace - nova_zvm .

Change-Id: I5251069dfd24ff4e337e9308439415482eb2234c
2017-03-23 12:51:13 +08:00
jichenjc 1a75fe1126 add support matrix of zvm driver
after this document, people is able to view what's supported and
what's not support.

part of blueprint: zvm_doc_update

Change-Id: Id1d57dd501e44c6e7c2a253378f269eebc1b507b
2017-03-21 16:31:08 +08:00
jichenjc 47040b2601 Add configuration file
after this ,user is able to explore the configurations of
nova zvm driver supported.

part of blueprint:zvm_doc_update

Change-Id: Id58b5a5d9ebb7a9304e150e4c0471046ff6b1620
2017-03-21 15:19:03 +08:00
Huang Rui 1913552221 fix pep8 failure of N354 and N342
Replace "%" with "," to fix N354.
Ignore N342.

Change-Id: Ie051a23bb01c599f990275713c494ad7b40c7684
2016-10-14 15:03:30 +08:00
Jenkins 8579b15af4 Merge "Fix the image_meta problem when create_userid" 2016-06-06 09:10:10 +00:00
nafei yang 4ed05b6a87 Fix the image_meta problem when create_userid
Now the image_meta passed from spawn is changed to a dict, but in
resize it still an object. So update to handle these two cases in
create_userid.

Change-Id: I26c9db1c2e607583eaa5574023d6195024ff3a3f
2016-06-03 18:57:33 +08:00
jichenjc bb4ea55ffe remove bandit.yaml
according to suggestions and test , the bandit.yaml is not
required anymore.

Change-Id: Ib948688ed00ddd49afe68cce2494294309ab4815
2016-04-28 08:45:56 +08:00
jichenjc 112249eab0 Support genconfig file
Currently the configuration are in driver.py, but not automatically
generated during build phase.

This patch enables 'tox -egenconfig' to build a sample conf file
and put into etc/nova-zvm.conf.sample, so if we need, we can paste
those info into nova.conf.sample when we do further build.

Follow up patches need to adjust the words in driver.py so
the auto generated conf.sample will be more helpful to user.

Change-Id: Ic35ecc8331c03bfe22e3077a8387ddfc1c8fb3d0
2016-05-10 05:42:17 +00:00
jichenjc 14e7689ba3 Add bandit test to tox
Change-Id: I85da6ae95d1cbf7614629c4aa14a21d8cc6f3c96
2015-12-19 19:18:34 +08:00
jichenjc 8b8a32d024 Add pip-missing-reqs for zvm virt driver
pip-missing-reqs will scan all missing pip, we can run it
time to time to know whether we need to include additional packages
or not.

Change-Id: Ia2a48677a3457293234a7808554caf75311db83a
2015-10-22 11:22:17 +08:00
jichenjc a8f055abb2 Fix pep8 error after add hacking
add hacking for pep8 check, then fix most of the
error case, the remaining will be based on previous
patch and fixed.

Change-Id: Ifa7a933270f3b4d9db79c8bfcd512f93c93d622b
2015-10-15 11:01:18 +08:00
Huang Rui 50b6816f88 Project restructure
Project restructure to make the project work as a StackForge
project.

By:
- Update .testr.conf and tox.ini for python-jobs
- Rename project top level dir
- Put unittest script to the folder that should be
- Updtae doc/ and README.rst
- Update setup.cfg

Change-Id: Ia00ac57630385e5dcca3020d67115b46894bd0a9
2015-04-07 11:22:05 +08:00
Huang Rui 588d68108a The init commit of stackforge/nova-zvm-virt-driver
Including all python modules that implements Nova virt driver for
zVM, and configuration files that make the project work with
OpenStack development infrastructure.

Change-Id: I7efe0d1b6ef42268438d4141860fb4c51c09d30c
2015-03-30 04:48:26 -04:00