summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/spaces.yaml
blob: 73096ef5692369052a101d3e237ac8a900a29c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% if os.release == 'mitaka' %}
    openstack-origin:    &openstack-origin    distro
{% else %}
    openstack-origin:    &openstack-origin    cloud:{{ ubuntu.release }}-{{ os.release }}
{% endif %}

    openstack-region:    &openstack-region    {{ os.region }}
    worker-multiplier:   &worker-multiplier   {{ os.api.worker_multiplier }}
    data-port:           &data-port           br-data:{{ opnfv.ext_port }}

    # OAM - Operations, Administration and Maintenance
    oam-space:           &oam-space           internal-api

    # This is OpenStack Internal network; for internalURL endpoints
    # This is OpenStack Admin network; for adminURL endpoints
{% if opnfv.spaces_dict.osapi is defined %}
    internal-space:      &internal-space      os-api
    admin-space:         &admin-space         os-api
{% else %}
    internal-space:      &internal-space      internal-api
    admin-space:         &admin-space         internal-api
{% endif %}


    # This is OpenStack Public network; for publicURL endpoints
{% if opnfv.spaces_dict.public is defined %}
    public-space:        &public-space        public-api
{% else %}
{% if opnfv.spaces_dict.osapi is defined %}
    public-space:        &public-space        os-api
{% else %}
    public-space:        &public-space        internal-api
{% endif %}
{% endif %}

    # This is the overlay network
{% if opnfv.spaces_dict.data is defined %}
    overlay-space:       &overlay-space       tenant-data
{% else %}
    overlay-space:       &overlay-space       internal-api
{% endif %}

    # CEPH configuration
    # CEPH access network
    ceph-public-space:   &ceph-public-space   internal-api

    # CEPH replication network
{% if opnfv.spaces_dict.storage is defined %}
    ceph-cluster-space:  &ceph-cluster-space  storage-cluster
{% else %}
    ceph-cluster-space:  &ceph-cluster-space  internal-api
{% endif %}

    # Workaround for 'only one default binding supported'
    oam-space-constr:    &oam-space-constr    spaces=oam-space
    ceph-access-constr:  &ceph-access-constr  spaces=ceph-access-space

    # CEPH OSD and journal devices; temporary workaround for #1674148
{% if os.lxd %}
    osd-devices:         &osd-devices         /srv/ceph-osd
{% else %}
    osd-devices:         &osd-devices         {{ opnfv.storage_dict.ceph.disk }}
{% endif %}
    osd-journal:         &osd-journal