RETIRED, Juju Charm - Neutron API - Networking Generic Switch
Go to file
Mathieu Mitchell 07c16aa8a9 Improve project readme 2018-01-07 10:40:02 -05: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 Remove unused imports 2017-12-04 23:47:09 -05:00
unit_tests Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05:00
.gitignore First draft genericswitch 2017-11-13 08:15:20 -05:00
.testr.conf Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05: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 Initial copy from charm-neutron-api-odl 2017-11-11 14:30:03 -05: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