7b246dc0e8
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. |
||
---|---|---|
actions | ||
lib | ||
src | ||
unit_tests | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
.zuul.yaml | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
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