modified to add the opensack api on seperate network.
[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     oam-space:           &oam-space           internal-api
15
16     # This is OpenStack Internal network; for internalURL endpoints
17     # This is OpenStack Admin network; for adminURL endpoints
18 {% if opnfv.spaces_dict.osapi is defined %}
19     internal-space:      &internal-space      os-api
20     admin-space:         &admin-space         os-api
21 {% else %}
22     internal-space:      &internal-space      internal-api
23     admin-space:         &admin-space         internal-api
24 {% endif %}
25
26
27     # This is OpenStack Public network; for publicURL endpoints
28 {% if opnfv.spaces_dict.public is defined %}
29     public-space:        &public-space        public-api
30 {% else %}
31 {% if opnfv.spaces_dict.osapi is defined %}
32     public-space:        &public-space        os-api
33 {% else %}
34     public-space:        &public-space        internal-api
35 {% endif %}
36 {% endif %}
37
38     # This is the overlay network
39 {% if opnfv.spaces_dict.data is defined %}
40     overlay-space:       &overlay-space       tenant-data
41 {% else %}
42     overlay-space:       &overlay-space       internal-api
43 {% endif %}
44
45     # CEPH configuration
46     # CEPH access network
47     ceph-public-space:   &ceph-public-space   internal-api
48
49     # CEPH replication network
50 {% if opnfv.spaces_dict.storage is defined %}
51     ceph-cluster-space:  &ceph-cluster-space  storage-cluster
52 {% else %}
53     ceph-cluster-space:  &ceph-cluster-space  internal-api
54 {% endif %}
55
56     # Workaround for 'only one default binding supported'
57     oam-space-constr:    &oam-space-constr    spaces=oam-space
58     ceph-access-constr:  &ceph-access-constr  spaces=ceph-access-space
59
60     # CEPH OSD and journal devices; temporary workaround for #1674148
61 {% if os.lxd %}
62     osd-devices:         &osd-devices         /srv/ceph-osd
63 {% else %}
64     osd-devices:         &osd-devices         {{ opnfv.storage_dict.ceph.disk }}
65 {% endif %}
66     osd-journal:         &osd-journal
67