modified templates and added variable to easlity understand the
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / spaces.yaml
1
2
3 {% if os.release == 'mitaka' %}
4     openstack-origin:    &openstack-origin    distro
5 {% else %}
6     openstack-origin:    &openstack-origin    cloud:{{ ubuntu.release }}-{{ os.release }}
7 {% endif %}
8
9     openstack-region:    &openstack-region    {{ os.region }}
10     worker-multiplier:   &worker-multiplier   {{ os.api.worker_multiplier }}
11     data-port:           &data-port           br-data:{{ opnfv.ext_port }}
12
13     # OAM - Operations, Administration and Maintenance
14 {% if opnfv.spaces_dict.pxe is defined %}
15     oam-space:           &oam-space           oam-space
16 {% else %}
17     oam-space:           &oam-space           internal-api
18 {% endif %}
19
20     # This is OpenStack Admin network; for adminURL endpoints
21     admin-space:         &admin-space         internal-api
22
23     # This is OpenStack Public network; for publicURL endpoints
24 {% if opnfv.spaces_dict.public is defined %}
25     public-space:        &public-space        public-api
26 {% else %}
27     public-space:        &public-space        internal-api
28 {% endif %}
29
30     # This is OpenStack Internal network; for internalURL endpoints
31     internal-space:      &internal-space      internal-api
32
33     # This is the overlay network
34 {% if opnfv.spaces_dict.data is defined %}
35     overlay-space:       &overlay-space       tenant-data
36 {% else %}
37     overlay-space:       &overlay-space       internal-api
38 {% endif %}
39
40     # CEPH configuration
41     # CEPH access network
42     ceph-public-space:   &ceph-public-space   internal-api
43
44     # CEPH replication network
45 {% if opnfv.spaces_dict.storage is defined %}
46     ceph-cluster-space:  &ceph-cluster-space  storage-cluster
47 {% else %}
48     ceph-cluster-space:  &ceph-cluster-space  internal-api
49 {% endif %}
50
51     # Workaround for 'only one default binding supported'
52     oam-space-constr:    &oam-space-constr    spaces=oam-space
53     ceph-access-constr:  &ceph-access-constr  spaces=ceph-access-space
54
55     # CEPH OSD and journal devices; temporary workaround for #1674148
56 {% if os.lxd %}
57     osd-devices:         &osd-devices         /srv/ceph-osd
58 {% else %}
59     osd-devices:         &osd-devices         {{ opnfv.storage_dict.ceph.disk }}
60 {% endif %}
61     osd-journal:         &osd-journal
62