modified the odl bundle with the working one for non ha and tip
[joid.git] / ci / odl / juju-deployer / ovs-odl-tip.yaml
1 # vim: set ts=2 et:
2 openstack-phase1:
3   series: trusty
4   services:
5     nodes-api:
6       charm: "local:trusty/ubuntu-nodes-controller"
7       num_units: 1
8       constraints: tags=control
9     nodes-compute:
10       charm: "local:trusty/ubuntu-nodes-compute"
11       num_units: 1
12       constraints: tags=compute
13     "ntp":
14       charm: "cs:trusty/ntp"
15   relations:
16     - - "ntp:juju-info"
17       - "nodes-api:juju-info"
18     - - "ntp:juju-info"
19       - "nodes-compute:juju-info"
20 openstack-phase2:
21   inherits: openstack-phase1
22   services:
23     "mysql":
24       charm: "cs:trusty/mysql"
25       num_units: 1
26       options:
27         "dataset-size": 2G
28         "max-connections": 10000
29       to:
30         - "lxc:nodes-api=0"
31     "rabbitmq-server":
32       branch: lp:charms/trusty/rabbitmq-server
33       num_units: 1
34       to:
35         - "lxc:nodes-api=0"
36     "keystone":
37       branch: lp:charms/trusty/keystone
38       num_units: 1
39       options:
40         "admin-password": openstack
41         "admin-token": admin
42       to:
43         - "lxc:nodes-api=0"
44     "openstack-dashboard":
45       branch: lp:charms/trusty/openstack-dashboard
46       num_units: 1
47       options:
48         secret: admin
49       to:
50         - "lxc:nodes-api=0"
51     "nova-compute":
52       branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
53       num_units: 1
54       options:
55         "enable-live-migration": False
56         "manage-neutron-plugin-legacy-mode": False
57       to:
58         - "nodes-compute=0"
59 #        - "nodes-compute=1"
60     "nova-cloud-controller":
61       branch: lp:charms/trusty/nova-cloud-controller
62       num_units: 1
63       options:
64         "console-access-protocol": novnc
65         "network-manager": Neutron
66         "quantum-security-groups": "yes"
67       to:
68         - "lxc:nodes-api=0"
69     "neutron-api":
70       branch: lp:~openstack-charmers/charms/trusty/neutron-api/next
71       num_units: 1
72       options:
73         neutron-security-groups: True
74         manage-neutron-plugin-legacy-mode: False
75       to:
76         - "lxc:nodes-api=0"
77     neutron-gateway:
78       branch: lp:charms/trusty/neutron-gateway
79       options:
80 #        "ext-port": "eth1"
81         plugin: ovs-odl
82         instance-mtu: 1400
83       to:
84         - "nodes-api=0"
85     odl-controller:
86       branch: lp:~sdn-charmers/charms/trusty/odl-controller/trunk
87       options:
88         install-url: "https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.2.4-Helium-SR4/distribution-karaf-0.2.4-Helium-SR4.tar.gz"
89 #        install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.3.2-Lithium-SR2/distribution-karaf-0.3.2-Lithium-SR2.tar.gz"
90         http-proxy: "http://squid.internal:3128"
91         https-proxy: "http://squid.internal:3128"
92       to:
93         - "lxc:nodes-api=0"
94     "glance":
95       branch: lp:charms/trusty/glance
96       num_units: 1
97       to:
98         - "lxc:nodes-api=0"
99     neutron-api-odl:
100       branch: lp:~openstack-charmers/charms/trusty/neutron-api-odl/vpp
101       options:
102         overlay-network-type: 'vxlan gre'
103         security-groups: True
104     openvswitch-odl:
105       branch: lp:~openstack-charmers/charms/trusty/openvswitch-odl/trunk
106   relations:
107     - - "neutron-api:neutron-plugin-api-subordinate"
108       - "neutron-api-odl:neutron-plugin-api-subordinate"
109     - - "nova-compute:neutron-plugin"
110       - "openvswitch-odl:neutron-plugin"
111     - - "neutron-gateway"
112       - "openvswitch-odl"
113     - - "openvswitch-odl:ovsdb-manager"
114       - "odl-controller:ovsdb-manager"
115     - - "neutron-api-odl:odl-controller"
116       - "odl-controller:controller-api"
117     - - "keystone:shared-db"
118       - "mysql:shared-db"
119     - - "nova-cloud-controller:shared-db"
120       - "mysql:shared-db"
121     - - "nova-cloud-controller:amqp"
122       - "rabbitmq-server:amqp"
123     - - "nova-cloud-controller:image-service"
124       - "glance:image-service"
125     - - "nova-cloud-controller:identity-service"
126       - "keystone:identity-service"
127     - - "nova-cloud-controller:cloud-compute"
128       - "nova-compute:cloud-compute"
129     - - "nova-compute:amqp"
130       - "rabbitmq-server:amqp"
131     - - "nova-compute:image-service"
132       - "glance:image-service"
133     - - "glance:shared-db"
134       - "mysql:shared-db"
135     - - "glance:identity-service"
136       - "keystone:identity-service"
137     - - "glance:amqp"
138       - "rabbitmq-server:amqp"
139     - - "openstack-dashboard:identity-service"
140       - "keystone:identity-service"
141     - - "neutron-api:shared-db"
142       - "mysql:shared-db"
143     - - "neutron-api:amqp"
144       - "rabbitmq-server:amqp"
145     - - "nova-cloud-controller:neutron-api"
146       - "neutron-api:neutron-api"
147     - - "neutron-api:identity-service"
148       - "keystone:identity-service"
149     - - "neutron-gateway:amqp"
150       - "rabbitmq-server:amqp"
151     - - "neutron-gateway:neutron-plugin-api"
152       - "neutron-api:neutron-plugin-api"
153     - - "nova-cloud-controller:quantum-network-service"
154       - "neutron-gateway:quantum-network-service"
155 trusty-liberty-nodes:
156   inherits: openstack-phase1
157   overrides:
158     series: trusty
159
160 trusty-liberty:
161   inherits: openstack-phase2
162   overrides:
163     #os-data-network: 10.4.8.0/21
164     region: Canonical
165     source: "cloud:trusty-liberty"
166     "openstack-origin": "cloud:trusty-liberty"
167     series: trusty
168
169 trusty-kilo-nodes:
170   inherits: openstack-phase1
171   overrides:
172     series: trusty
173
174 # master
175 trusty-kilo:
176   inherits: openstack-phase2
177   series: trusty
178   services:
179     keystone:
180       options:
181         openstack-origin-git: include-file://keystone-master.yaml
182     glance:
183       options:
184         openstack-origin-git: include-file://glance-master.yaml
185 #    cinder:
186 #      options:
187 #        openstack-origin-git: include-file://cinder-master.yaml
188 #    neutron-api:
189 #      options:
190 #        openstack-origin-git: include-file://neutron-master.yaml
191     neutron-gateway:
192       options:
193         openstack-origin-git: include-file://neutron-master.yaml
194 #    neutron-openvswitch:
195 #      options:
196 #        openstack-origin-git: include-file://neutron-master.yaml
197     openstack-dashboard:
198       options:
199         openstack-origin-git: include-file://horizon-master.yaml
200     nova-compute:
201       options:
202         openstack-origin-git: include-file://nova-master.yaml
203     nova-cloud-controller:
204       options:
205         openstack-origin-git: include-file://nova-master.yaml
206   overrides:
207     region: Canonical
208     #os-data-network: 10.4.8.0/21
209     openstack-origin: cloud:trusty-kilo
210     source: cloud:trusty-kilo
211     series: trusty
212