Skip to main content

This project tracks the work to integrate the Hyper-V networking with Neutron. This project contains the Hyper-V Neutron Agent Mixin, Security Groups Driver, ML2 Mechanism Driver and the utils modules they use in order to properly bind neutron ports on a Hyper-V host. This project resulted from the neutron core vendor decomposition.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

networking-hyperv-10.0.0.0rc1.tar.gz (75.4 kB view details)

Uploaded Source

Built Distribution

networking_hyperv-10.0.0.0rc1-py3-none-any.whl (82.5 kB view details)

Uploaded Python 3

File details

Details for the file networking-hyperv-10.0.0.0rc1.tar.gz.

File metadata

  • Download URL: networking-hyperv-10.0.0.0rc1.tar.gz
  • Upload date:
  • Size: 75.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for networking-hyperv-10.0.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 10be293e97be2bf4993d0da93b9618c050d22e3e0b77b20cd384fea3e3f29cb3
MD5 d50033f5a3927a1bbe6e158a0e057d9b
BLAKE2b-256 56a96f0717611a2c13573c02eb3b3da70c34e7c781c750f555085545cf3861a9

See more details on using hashes here.

Provenance

File details

Details for the file networking_hyperv-10.0.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: networking_hyperv-10.0.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 82.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for networking_hyperv-10.0.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 aea510294fbeb5deee515b5cf5cb838c435a4257fcbd6d32bc26bf1f7ac25220
MD5 c63a3f5f817af3ecc9333902aeed1705
BLAKE2b-256 cda7529ee01cf2fe46948666446dd35ec43b2b1a262073ea22c80e72b58f8c86

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page