os-win(1)
| OS-WIN(1) | os-win | OS-WIN(1) |
NAME
os-win - os-win 5.9.0
Contents:
TEAM AND REPOSITORY TAGS
.SH 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.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/os-win
- Source: https://opendev.org/openstack/os-win
- Bugs: https://bugs.launchpad.net/os-win
Release Notes
- •
- https://docs.openstack.org/releasenotes/os-win
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
INSTALLATION
At the command line:
$ pip install os-win
Or, if you have virtualenvwrapper installed:
$ mkvirtualenv os-win $ pip install os-win
USAGE
To use os-win in a project:
import os_win
CONTRIBUTING
For general information on contributing to OpenStack, please check out the contributor guide to get started. It covers all the basics that are common to all OpenStack projects: the accounts you need, the basics of interacting with our Gerrit review system, how we communicate as a community, etc.
Below will cover the more project specific information you need to get started with os-win.
Communication
We recommend using the standard communication channels, such as the OpenStack mailing list or IRC channels. The official IRC channel (#openstack-hyper-v) is not archived at the moment, so we recommend using #openstack-dev.
Please include one of the following tags when using the OpenStack mailing list:
- winstackers
- windows
- hyper-v
Feel free to reach out to the Winstackers PTL or other core members.
Contacting the Core Team
The Winstackers core team is composed of:
- Lucian Petrut <lpetrut@cloudbasesolutions.com> (lpetrut)
- Claudiu Belu <cbelu@cloudbasesolutions.com> (claudiub)
- Alessandro Pilotti <apilotti@cloudbasesolutions.com> (apilotti)
New Feature Planning
If you want to propose a new feature, we recommend filing a blueprint and then contacting the core team.
Once the feature is approved, please propose the patches on Gerrit, following the Openstack contributor guide.
Task Tracking
We track our tasks in Launchpad.
Reporting a Bug
You found an issue and want to make sure we are aware of it? You can do so on Launchpad. More info about Launchpad usage can be found on OpenStack docs page.
Getting Your Patch Merged
Changes proposed to os-win generally require two Code-Review +2 votes from os-win core reviewers before merging. In case of trivial patches and urgent bug fixes, this rule is sometimes ignored.
Project Team Lead Duties
All common PTL duties are enumerated in the PTL guide.
SAMPLE CONFIGURATION FILE
Os-win Configuration Options
The following is a sample os-win configuration for adaptation and use.
The sample configuration can also be viewed in file from.
IMPORTANT:
[DEFAULT] [os_win] # # From os_win # # Fibre Channel hbaapi library path. If no custom hbaapi library is requested, # the default one will be used. (string value) #hbaapi_lib_path = hbaapi.dll # Caches temporary WMI objects in order to increase performance. This only # affects networkutils, where almost all operations require a reference to a # switch port. The cached objects are no longer valid if the VM they are # associated with is destroyed. WARNING: use with caution, the cache may become # invalid when certain resources are recreated. (boolean value) #cache_temporary_wmi_objects = false # The default amount of seconds to wait when stopping pending WMI jobs. Setting # this value to 0 will disable the timeout. (integer value) #wmi_job_terminate_timeout = 120 # The amount of time to wait for the Failover Cluster service to be available. # (integer value) #connect_cluster_timeout = 0 # The amount of seconds to wait for in-use files when performing moves or # deletions. This can help mitigate issues occurring due to Hyper-V locks or # even 3rd party backup tools. (integer value) #file_in_use_timeout = 15
AUTHOR
unknown
COPYRIGHT
2023, Cloudbase Solutions Srl
| December 10, 2023 | 5.9.0 |
