RETIRED, Windows / Hyper-V library for OpenStack projects.
Go to file
Hervé Beraud 33036bcc32 drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I54a2fde199c151eee0ca81c0db840609088803ac
2020-06-09 10:58:01 +02:00
doc/source Switch to newer openstackdocstheme and reno versions 2020-06-01 16:18:44 +02:00
etc Add config sample to os-win docs 2017-11-13 17:53:39 +00:00
os_win Fix case sensitive path comparisons 2020-05-14 13:23:25 +03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-01 16:18:44 +02:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:42:06 +00:00
.gitignore Replace testrepository with stestr 2019-02-27 19:46:29 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:33:09 +00:00
.mailmap Adds oslo cookiecutter template 2015-08-05 19:48:23 +03:00
.stestr.conf Replace testrepository with stestr 2019-02-27 19:46:29 +01:00
.zuul.yaml Add Python3 victoria unit tests 2020-04-11 18:47:27 +00:00
CONTRIBUTING.rst Ussuri contributor docs community goal 2020-03-27 11:41:04 +02:00
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 14:23:55 +08:00
LICENSE Initial commit 2015-08-05 19:34:43 +03:00
MANIFEST.in Adds oslo cookiecutter template 2015-08-05 19:48:23 +03:00
README.rst Update and replace http with https for doc links 2019-08-27 10:34:42 +08:00
lower-constraints.txt drop mock from lower-constraints 2020-06-09 10:58:01 +02:00
requirements.txt Updated from global requirements 2018-08-02 06:57:19 -07:00
setup.cfg Remove translation sections from setup.cfg 2020-05-14 18:04:14 +08:00
setup.py Cleanup py27 support 2020-04-13 10:12:53 +00:00
test-requirements.txt Switch to newer openstackdocstheme and reno versions 2020-06-01 16:18:44 +02:00
tox.ini Bump default tox env from py37 to py38 2020-04-24 10:25:53 -05:00

README.rst

Team and repository tags

image

os-win

Windows / Hyper-V library for OpenStack projects.

This library contains Windows / Hyper-V specific code commonly used in OpenStack projects. The library can be used in any other OpenStack projects where it is needed.

Release Notes

How to Install

os-win is released on Pypi, meaning that it can be installed and upgraded via pip. To install os-win, run the following command:

pip install os-win

To upgrade os-win, run the following command:

pip install -U os-win

Note that the first OpenStack release to use os-win is Mitaka. Previous releases do not benefit from this library.

Tests

You will have to install the test dependencies first to be able to run the tests.

C:\os_win> pip install -r requirements.txt
C:\os_win> pip install -r test-requirements.txt

You can run the unit tests with the following command.

C:\os_win> nosetests os_win\tests\unit

How to contribute

To contribute to this project, please go through the following steps.

  1. Clone the project and keep your working tree updated.
  2. Make modifications on your working tree.
  3. Run unit tests.
  4. If the tests pass, commit your code.
  5. Submit your code via git review.
  6. Check that Jenkins and the Microsoft Hyper-V CI pass on your patch.
  7. If there are issues with your commit, ammend, and submit it again via git review.
  8. Wait for the patch to be reviewed.

Features

os-win is currently used in the following OpenStack projects:

  • nova
  • cinder
  • compute-hyperv
  • networking-hyperv
  • ceilometer
  • os-brick