RETIRED, Juju Charm - Neutron API - Networking Generic Switch
Go to file
OpenDev Sysadmins 7b246dc0e8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:30:14 +00:00
actions Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
lib Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
src Fix the misspelling of "openvswitch" 2018-12-27 16:45:38 +08:00
unit_tests Fix tests and pep8 2018-06-26 22:43:56 -04:00
.gitignore First draft genericswitch 2017-11-13 08:15:20 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:14 +00:00
.testr.conf Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
.zuul.yaml import zuul job settings from project-config 2018-09-11 13:17:09 -04:00
LICENSE Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
README.md Improve project readme 2018-01-07 10:40:02 -05:00
requirements.txt Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
test-requirements.txt Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
tox.ini fix tox python3 overrides 2018-09-26 18:40:01 -04:00

README.md

Introduction

This is the Juju charm for openstack/networking-generic-switch.

Getting started

Generate a config ini file with switch configuration, similar to the one below:

[ml2]
mechanism_drivers = openvswitch,hyperv,genericswitch

[genericswitch:my_switch]
device_type = netmiko_cisco
ip = 192.168.1.12
port = 22
username = admin
password = admin

[genericswitch] blocks should follow the syntax described in networking-generic-switch documentation

Limitations

Since neutron-api-genericswitch is not part of Ubuntu Cloud Archive, the package has to be built manually. Build instructions exist in a manufacturer's specific extension of generic switch.

Deploying locally

cd src
charm build

juju deploy $PATH_TO_CHECKOUT/src/builds/neutron-api-genericswitch \
    --resource genericswitch-ml2-config=/full/path/to/switchconfig.ini \
    --resource package=/full/path/to/neutron-api-genericswitch.deb
    
juju add-relation neutron-api neutron-api-genericswitch