Merge lp:~dweaver/orange-box-examples/orange-box-examples into lp:~kirkland/orange-box-examples/trunk

Proposed by Darryl Weaver
Status: Merged
Merged at revision: 21
Proposed branch: lp:~dweaver/orange-box-examples/orange-box-examples
Merge into: lp:~kirkland/orange-box-examples/trunk
Diff against target: 95 lines (+38/-4)
6 files modified
usr/lib/orange-box/examples/infrastructure/precise/infrastructure-bundle.yaml (+1/-1)
usr/lib/orange-box/examples/infrastructure/trusty/infrastructure-bundle.yaml (+1/-1)
usr/lib/orange-box/examples/openstack/icehouse/precise/icehouseOB.yaml (+1/-1)
usr/lib/orange-box/examples/openstack/icehouse/precise/integrate-infrastructure.sh (+17/-0)
usr/lib/orange-box/examples/openstack/icehouse/trusty/icehouseOB.yaml (+1/-1)
usr/lib/orange-box/examples/openstack/icehouse/trusty/integrate-infrastructure.sh (+17/-0)
To merge this branch: bzr merge lp:~dweaver/orange-box-examples/orange-box-examples
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+228571@code.launchpad.net

Description of the change

Adding integrate-infrastructure.sh to combine openstack with infrastructure services.
Changing tags to physical and virtual.

To post a comment you must log in.
21. By Dustin Kirkland 

* usr/lib/orange-box/examples/infrastructure/precise/infrastructure-
  bundle.yaml, usr/lib/orange-
  box/examples/infrastructure/trusty/infrastructure-bundle.yaml,
  usr/lib/orange-
  box/examples/openstack/icehouse/precise/icehouseOB.yaml,
  usr/lib/orange-box/examples/openstack/icehouse/precise/integrate-
  infrastructure.sh, usr/lib/orange-
  box/examples/openstack/icehouse/trusty/icehouseOB.yaml,
  usr/lib/orange-box/examples/openstack/icehouse/trusty/integrate-
  infrastructure.sh:
  - Adding integrate-infrastructure.sh to combine openstack with
    infrastructure services.
  - Changing tags to physical and virtual.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/lib/orange-box/examples/infrastructure/precise/infrastructure-bundle.yaml'
2--- usr/lib/orange-box/examples/infrastructure/precise/infrastructure-bundle.yaml 2014-07-24 01:20:29 +0000
3+++ usr/lib/orange-box/examples/infrastructure/precise/infrastructure-bundle.yaml 2014-07-28 20:32:55 +0000
4@@ -9,7 +9,7 @@
5 nagios:
6 branch: "lp:charms/nagios"
7 num_units: 1
8- constraints: tags=nagios
9+ constraints: tags=virtual
10 expose: true
11 annotations:
12 "gui-x": "-680"
13
14=== modified file 'usr/lib/orange-box/examples/infrastructure/trusty/infrastructure-bundle.yaml'
15--- usr/lib/orange-box/examples/infrastructure/trusty/infrastructure-bundle.yaml 2014-07-24 01:20:29 +0000
16+++ usr/lib/orange-box/examples/infrastructure/trusty/infrastructure-bundle.yaml 2014-07-28 20:32:55 +0000
17@@ -9,7 +9,7 @@
18 nagios:
19 branch: "lp:charms/nagios"
20 num_units: 1
21- constraints: tags=nagios
22+ constraints: tags=virtual
23 expose: true
24 annotations:
25 "gui-x": "-680"
26
27=== modified file 'usr/lib/orange-box/examples/openstack/icehouse/precise/icehouseOB.yaml'
28--- usr/lib/orange-box/examples/openstack/icehouse/precise/icehouseOB.yaml 2014-07-25 18:07:05 +0000
29+++ usr/lib/orange-box/examples/openstack/icehouse/precise/icehouseOB.yaml 2014-07-28 20:32:55 +0000
30@@ -38,7 +38,7 @@
31 "neutron-gateway":
32 charm: "cs:precise/quantum-gateway-21"
33 num_units: 1
34- constraints: tags=neutron
35+ constraints: tags=virtual
36 options:
37 ext-port: eth1
38 instance-mtu: 1400
39
40=== added file 'usr/lib/orange-box/examples/openstack/icehouse/precise/integrate-infrastructure.sh'
41--- usr/lib/orange-box/examples/openstack/icehouse/precise/integrate-infrastructure.sh 1970-01-01 00:00:00 +0000
42+++ usr/lib/orange-box/examples/openstack/icehouse/precise/integrate-infrastructure.sh 2014-07-28 20:32:55 +0000
43@@ -0,0 +1,17 @@
44+#!/bin/bash
45+
46+set -e
47+
48+echo "Adding relationships to infrastructure services"
49+
50+services="mysql rabbitmq nova-cloud-controller nova-compute cinder glance neutron-gateway openstack-dashboard ceph ceph-radosgw mongodb ceilometer heat keystone"
51+
52+for service in $services
53+do
54+ juju add-relation $service nagios
55+ juju add-relation $service nrpe
56+ juju add-relation $service landscape-client
57+ juju add-relation $service ganglia-node
58+
59+done
60+echo "Finished"
61
62=== modified file 'usr/lib/orange-box/examples/openstack/icehouse/trusty/icehouseOB.yaml'
63--- usr/lib/orange-box/examples/openstack/icehouse/trusty/icehouseOB.yaml 2014-07-25 18:07:05 +0000
64+++ usr/lib/orange-box/examples/openstack/icehouse/trusty/icehouseOB.yaml 2014-07-28 20:32:55 +0000
65@@ -38,7 +38,7 @@
66 "neutron-gateway":
67 charm: "cs:trusty/quantum-gateway-3"
68 num_units: 1
69- constraints: tags=neutron
70+ constraints: tags=virtual
71 options:
72 ext-port: eth1
73 instance-mtu: 1400
74
75=== added file 'usr/lib/orange-box/examples/openstack/icehouse/trusty/integrate-infrastructure.sh'
76--- usr/lib/orange-box/examples/openstack/icehouse/trusty/integrate-infrastructure.sh 1970-01-01 00:00:00 +0000
77+++ usr/lib/orange-box/examples/openstack/icehouse/trusty/integrate-infrastructure.sh 2014-07-28 20:32:55 +0000
78@@ -0,0 +1,17 @@
79+#!/bin/bash
80+
81+set -e
82+
83+echo "Adding relationships to infrastructure services"
84+
85+services="mysql rabbitmq nova-cloud-controller nova-compute cinder glance neutron-gateway openstack-dashboard ceph ceph-radosgw mongodb ceilometer heat keystone"
86+
87+for service in $services
88+do
89+ juju add-relation $service nagios
90+ juju add-relation $service nrpe
91+ juju add-relation $service landscape-client
92+ juju add-relation $service ganglia-node
93+
94+done
95+echo "Finished"

Subscribers

People subscribed via source and target branches