~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/opencontrail/juju-deployer/contrail-ha.yaml

  • Committer: Narinder Gupta
  • Date: 2015-08-29 19:36:03 UTC
  • Revision ID: git-v1:b5c5f74a35b7c2a3413bfac94811d8e6035aa3ae
restructure the directory structure so that we can have directories per
SDN and then we can have same structure for new distro by adding just
the yaml file. Deleted the old file structure.

Change-Id: Ibd544c340fdb53813bc34ee8ff6931ed4b4dee6c
JIRA:JOID-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
openstack:
 
2
  services:
 
3
    mysql:
 
4
      constraints: mem=1G
 
5
      options:
 
6
        dataset-size: 50%
 
7
    rabbitmq-server:
 
8
      constraints: mem=1G
 
9
    keystone:
 
10
      branch: lp:~openstack-charmers/charms/trusty/keystone/next
 
11
      constraints: mem=1G
 
12
      options:
 
13
        admin-password: password
 
14
    openstack-dashboard:
 
15
      branch: lp:~openstack-charmers/charms/trusty/openstack-dashboard/next
 
16
      constraints: mem=1G
 
17
    nova-compute:
 
18
      branch: lp:~openstack-charmers/charms/trusty/nova-compute/next
 
19
      constraints: mem=4G root-disk=20G
 
20
      options:
 
21
        manage-neutron-plugin-legacy-mode: false
 
22
    nova-cloud-controller:
 
23
      branch: lp:~openstack-charmers/charms/trusty/nova-cloud-controller/next
 
24
      constraints: mem=1G
 
25
      options:
 
26
        network-manager: Neutron
 
27
    neutron-gateway:
 
28
      branch: lp:~sdn-charmers/charms/trusty/quantum-gateway/contrail
 
29
      constraints: mem=1G
 
30
    glance:
 
31
      branch: lp:~openstack-charmers/charms/trusty/glance/next
 
32
      constraints: mem=1G
 
33
    neutron-api:
 
34
      branch: lp:~openstack-charmers/charms/trusty/neutron-api/vpp
 
35
      constraints: mem=1G
 
36
      options:
 
37
        manage-neutron-plugin-legacy-mode: false
 
38
  relations:
 
39
    - [ keystone, mysql ]
 
40
    - [ nova-cloud-controller, mysql ]
 
41
    - [ nova-cloud-controller, rabbitmq-server ]
 
42
    - [ nova-cloud-controller, glance ]
 
43
    - [ nova-cloud-controller, keystone ]
 
44
    - [ nova-compute, nova-cloud-controller ]
 
45
    - [ "nova-compute:shared-db", "mysql:shared-db" ]
 
46
    - [ "nova-compute:amqp", "rabbitmq-server:amqp" ]
 
47
    - [ nova-compute, glance ]
 
48
    - [ glance, mysql ]
 
49
    - [ glance, keystone ]
 
50
    - [ neutron-gateway, mysql ]
 
51
    - [ "neutron-gateway:amqp", "rabbitmq-server:amqp" ]
 
52
    - [ neutron-gateway, nova-cloud-controller ]
 
53
    - [ openstack-dashboard, keystone ]
 
54
    - [ neutron-api, mysql ]
 
55
    - [ neutron-api, rabbitmq-server ]
 
56
    - [ neutron-api, nova-cloud-controller ]
 
57
    - [ neutron-api, keystone ]
 
58
    - [ neutron-api, neutron-api-contrail ]
 
59
contrail:
 
60
  inherits: openstack
 
61
  services:
 
62
    cassandra:
 
63
      branch: lp:~sdn-charmers/charms/precise/cassandra/forced-install
 
64
      series: precise
 
65
      constraints: mem=8G root-disk=20G
 
66
      units: 3
 
67
    zookeeper:
 
68
      branch: lp:~sdn-charmers/charms/precise/zookeeper/fix-symlink
 
69
      series: precise
 
70
      constraints: mem=1G
 
71
      units: 3
 
72
    contrail-configuration:
 
73
      branch: lp:~sdn-charmers/charms/trusty/contrail-configuration/trunk
 
74
      constraints: mem=4G
 
75
      options:
 
76
        vip: x.x.x.x
 
77
      units: 2
 
78
    contrail-control:
 
79
      branch: lp:~sdn-charmers/charms/trusty/contrail-control/trunk
 
80
      constraints: mem=2G
 
81
      units: 2
 
82
    contrail-analytics:
 
83
      branch: lp:~sdn-charmers/charms/trusty/contrail-analytics/trunk
 
84
      constraints: mem=4G
 
85
      units: 2
 
86
    contrail-webui:
 
87
      branch: lp:~sdn-charmers/charms/trusty/contrail-webui/trunk
 
88
      units: 2
 
89
    neutron-api-contrail:
 
90
      branch: lp:~sdn-charmers/charms/trusty/neutron-api-contrail/trunk
 
91
    neutron-contrail:
 
92
      branch: lp:~sdn-charmers/charms/trusty/neutron-contrail/trunk
 
93
    haproxy:
 
94
      options:
 
95
        peering_mode: active-active
 
96
      units: 2
 
97
    keepalived:
 
98
      branch: lp:~sdn-charmers/charms/trusty/keepalived/trunk
 
99
      options:
 
100
        virtual-ip: x.x.x.x
 
101
  overrides:
 
102
    admin-role: admin
 
103
  relations:
 
104
    - [ "contrail-configuration:cassandra", "cassandra:database" ]
 
105
    - [ contrail-configuration, zookeeper ]
 
106
    - [ contrail-configuration, rabbitmq-server ]
 
107
    - [ contrail-configuration, keystone ]
 
108
    - [ contrail-configuration, neutron-gateway ]
 
109
    - [ neutron-api-contrail, contrail-configuration ]
 
110
    - [ neutron-api-contrail, keystone ]
 
111
    - [ "contrail-control:contrail-discovery", "contrail-configuration:contrail-discovery" ]
 
112
    - [ "contrail-control:contrail-ifmap", "contrail-configuration:contrail-ifmap" ]
 
113
    - [ "contrail-analytics:cassandra", "cassandra:database" ]
 
114
    - [ contrail-analytics, contrail-configuration ]
 
115
    - [ contrail-webui, keystone ]
 
116
    - [ "contrail-webui:contrail_api", "contrail-configuration:contrail-api" ]
 
117
    - [ "contrail-webui:contrail_discovery", "contrail-configuration:contrail-discovery" ]
 
118
    - [ "contrail-webui:cassandra", "cassandra:database" ]
 
119
    - [ nova-compute, neutron-contrail ]
 
120
    - [ "neutron-contrail:contrail-discovery", "contrail-configuration:contrail-discovery" ]
 
121
    - [ neutron-contrail, neutron-gateway ]
 
122
    - [ "neutron-contrail:contrail-api", "contrail-configuration:contrail-api" ]
 
123
    - [ neutron-contrail, keystone ]
 
124
    - [ contrail-configuration, haproxy ]
 
125
    - [ contrail-analytics, haproxy ]
 
126
    - [ contrail-webui, haproxy ]
 
127
    - [ haproxy, keepalived ]
 
128
trusty-icehouse-contrail:
 
129
  inherits: contrail
 
130
  series: trusty
 
131
  services:
 
132
    haproxy:
 
133
      charm: cs:trusty/haproxy
 
134
    mysql:
 
135
      charm: cs:trusty/mysql
 
136
    rabbitmq-server:
 
137
      charm: cs:trusty/rabbitmq-server
 
138
trusty-juno-contrail:
 
139
  inherits: contrail
 
140
  series: trusty
 
141
  services:
 
142
    haproxy:
 
143
      charm: cs:trusty/haproxy
 
144
    mysql:
 
145
      charm: cs:trusty/mysql
 
146
    rabbitmq-server:
 
147
      charm: cs:trusty/rabbitmq-server
 
148
  overrides:
 
149
    openstack-origin: cloud:trusty-juno