1
OpenDaylight Deployment with Juju
2
=================================
4
This readme contains instructions for checking out and deploying Juju charms for
7
The charms are targetted at Trusty.
13
Charms are hosted on Launchpad.
14
You need to 'sudo apt-get install bzr' first.
16
Follow these steps to checkout code:
21
This will checkout the relevant charms into 'src' and create any Juju symlinks
25
Deploy with cloud-sh-odl
26
------------------------
28
cloud-sh-odl is a collection of development shell scripts to deploy
29
and setup OpenStack with OpenDaylight using Juju's local provider. This will
30
create 3 KVMs as follows:
32
*KVM #1 - Keystone, Glance, Neutron Server, Nova Cloud Controller, Horizon,
33
MySQL, RabbitMQ, OpenDaylight Controller
35
*KVM #2 - Neutron agents
37
*KVM #3 - Nova Compute
39
You'll require approx. 13Gb RAM with 40Gb+ disk space.
40
Deployment can take anywhere between 20 mins to 1 hour.
42
You need to 'sudo apt-get install juju juju-local uvtool', and
43
logout/login in order to pick up libvirt group permissions before
44
proceeding. See https://bugs.launchpad.net/juju-core/+bug/1308088.
49
(if you don't already have a key at ~/.ssh/id_rsa).
51
cp cloud-sh-odl/environments.yaml ~/.juju
52
(or create your own default local environment in your existing
53
environments.yaml file)
59
This will log to 'out.log'.
61
This will deploy OpenStack and import Trusty's daily image into Glance.
63
Horizon will be located on the machine 'juju status openstack-dashboard' -
65
Admin credentials will be written to cloud/admin-openrc.
67
The deployment can be destroyed with:
69
juju destroy-environment local
72
Deploy with Juju Deployer
73
-------------------------
75
Juju Deployer can deploy a preset configuration of charms given a yaml
76
configuration file. There is a configuration file in
77
'juju-deployer/odl.yaml'.
79
You need to 'sudo apt-get install juju-deployer' first.
85
juju-deployer -c odl.yaml -d trusty-icehouse-odl
87
Juju Deployer will branch its own copy of the remote charms.