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

http://governance.openstack.org/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-5.0.0.tar.gz (65.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

networking_hyperv-5.0.0-py2-none-any.whl (77.6 kB view details)

Uploaded Python 2

File details

Details for the file networking-hyperv-5.0.0.tar.gz.

File metadata

File hashes

Hashes for networking-hyperv-5.0.0.tar.gz
Algorithm Hash digest
SHA256 966ba2ba88650074ba9f51d64149d551006de19024fddc6383c3b5ec37446078
MD5 838ae5cf2d09b09f93feaa62963d10cd
BLAKE2b-256 f047708e2fffcd3d2bf78c3770639b8d515386357e6776e214a3cea1b688fa31

See more details on using hashes here.

File details

Details for the file networking_hyperv-5.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for networking_hyperv-5.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 0b7f6f45b72b1c5bc2ee9327b06231d98385974f9f6e018dfdd47ceda1019001
MD5 c1ade22d53dc971fe613714a0000540e
BLAKE2b-256 621c95097b1b2e1b4457d1467e9a8b79b6cc4f096497bdc1ce270419c25b2084

See more details on using hashes here.

Supported by

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