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