Skip to main content

Team and repository tags

https://governance.openstack.org/tc/badges/networking-hyperv.svg

networking-hyperv

This project tracks the work to integrate the Hyper-V networking with Neutron. This project contains the Hyper-V Neutron Agent, Security Groups Driver, and ML2 Mechanism Driver, which are used to properly bind neutron ports on a Hyper-V host.

This project resulted from the neutron core vendor decomposition.

Supports Python 2.7, Python 3.3, Python 3.4, and Python 3.5.

How to Install

Run the following command to install the agent on the system:

C:\networking-hyperv> python setup.py install

To use the neutron-hyperv-agent, the Neutron Controller will have to be properly configured. For this, the config option core_plugin in the /etc/neutron/neutron.conf file must be set as follows:

core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin

Additionally, hyperv will have to be added as a mechanism driver in the /etc/neutron/plugins/ml2/ml2_conf.ini configuration file:

mechanism_drivers = openvswitch,hyperv

In order for these changes to take effect, the neutron-server service will have to be restarted.

Finally, make sure the tenant_network_types field contains network types supported by Hyper-V: local, flat, vlan, gre.

Tests

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

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

You can run the unit tests with the following command.

C:\networking-hyperv> nosetests networking_hyperv\tests

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 -v.

  6. Check that Jenkins and the Microsoft Hyper-V CI pass on your patch.

  7. If there are issues with your commit, amend, and submit it again via git review -v.

  8. Wait for the patch to be reviewed.

Features

  • Supports Flat, VLAN, GRE / NVGRE network types.

  • Supports Neutron Security Groups.

  • Contains ML2 Mechanism Driver.

  • Parallel port processing.

Metadata

Release files for networking-hyperv 14.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for networking-hyperv 14.0.0
File Size Uploaded
networking-hyperv-14.0.0.tar.gz 75.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for networking-hyperv 14.0.0
File Interpreter ABI Platform
networking_hyperv-14.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 158.1 kB

Release files / networking-hyperv-14.0.0.tar.gz

Download URL networking-hyperv-14.0.0.tar.gz
Size 75.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7718b0025affcc10ace81e6c49d203eaea1ece2773510d14be5ae41cc4497ff9
BLAKE2b-256 checksum
How to use checksums
02eef4f2c55b2cdb77938858b7c51401ed15854a8f5a8d0c0ee85d8f4e8be2b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / networking_hyperv-14.0.0-py3-none-any.whl

Download URL networking_hyperv-14.0.0-py3-none-any.whl
Size 82.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae4b5e5cfcf5cb01bfa2a5e7336bf248c16370e5b40a2e6770a9783e2e65cf1e
BLAKE2b-256 checksum
How to use checksums
86a027cd6b87a433545452c168ebdebbcb4b6db0fedfaf3bd7240ad60bee0a56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page