Improve readme
This commit is contained in:
parent
67e7e4fe5d
commit
1292e899b1
12
README
12
README
|
@ -1,12 +0,0 @@
|
|||
Basic instructions...
|
||||
|
||||
vim /home/ubuntu/switchconfig.ini
|
||||
|
||||
|
||||
cd src
|
||||
charm build
|
||||
|
||||
juju deploy /home/ubuntu/charm-neutron-api-genericswitch/src/builds/neutron-api-genericswitch --resource genericswitch-ml2-config=/home/ubuntu/switchconfig.ini
|
||||
//juju config neutron-api-genericswitch pip-requirement-line=alternative-package-name
|
||||
|
||||
juju add-relation neutron-api neutron-api-genericswitch
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
|
||||
|
||||
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
|
||||
juju add-relation neutron-api neutron-api-genericswitch
|
Loading…
Reference in New Issue