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