aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/k8s/templates/msb_esr_vim_registration.json.j2
blob: c96a4d02aa41566e2b1e488844748656cd37b1f0 (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
{
 "cloudOwner": "{{ cloud_owner }}",
 "cloudRegionId": "{{ cloud_region_id }}",
 "cloudType": "{{ cloud_type }}",
 "cloudRegionVersion": "{{ cloud_region_version }}"
 {%- if owner_defined_type %}
    , "ownerDefinedType": "{{ owner_defined_type }}"
 {%- endif %}
 {%- if cloud_zone %}
    , "cloudZone": "{{ cloud_zone }}"
 {%- endif %}
 {%- if complex_name %}
    , "physicalLocationId": "{{ physical_location_id }}"
 {%- endif %}
 {%- if cloud_extra_info %}
    , "cloudExtraInfo": "{{ cloud_extra_info }}"
 {%- endif %}
 , "vimAuthInfos": 
    [{
        "userName": "{{ auth_info_username }}",
        "password": "{{ auth_info_password }}",
        "authUrl": "{{ auth_info_url }}",
        "cloudDomain": "{{ auth_info_cloud_domain }}"
        {%- if auth_info_ssl_cacert %}
            , "sslCacert": "{{ auth_info_ssl_cacert }}"
        {%- endif %}
        {%- if auth_info_ssl_insecure is not none %}
            , "sslInsecure": {{ auth_info_ssl_insecure | tojson }}
        {%- endif %}
    }]
}