07c16aa8a9 | ||
---|---|---|
actions | ||
lib | ||
src | ||
unit_tests | ||
.gitignore | ||
.testr.conf | ||
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