RETIRED, Juju Charm - Neutron API - Networking Generic Switch
Go to file
lijunjie f99af7502c Fix the misspelling of "openvswitch"
Change-Id: I890d60303da7fffc3d24ba790d1ae0cab35a431b
2018-12-27 16:45:38 +08: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 Fix tests and pep8 2018-06-26 22:43:56 -04: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