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
|
{
"input": {
"preload-network-topology-information": {
"network-policy": [],
"route-table-reference": [],
"vpn-bindings": [],
"network-topology-identifier-structure": {
"network-role": "integration_test_net",
"network-technology": "neutron",
"network-name": "{{ network_instance_name }}",
"network-type": "Generic NeutronNet"
},
"is-external-network": false,
"is-shared-network": false,
"is-provider-network": false,
"physical-network-name": "Not Aplicable",
"subnets": [
{% for subnet in subnets %}
{
"subnet-name": "{{ subnet.name }}",
"start-address": "{{ subnet.start_address }}",
"cidr-mask": "{{ subnet.cidr_mask }}",
"ip-version": "{{ subnet.ip_version }}",
{%- if subnet.dhcp_enabled %}
"dhcp-enabled": "Y",
"dhcp-start-address": "{{ subnet.dhcp_start_address }}",
"dhcp-end-address": "{{ subnet.dhcp_end_address }}",
{% else %}
"dhcp-enabled": "N",
{%- endif %}
"gateway-address": "{{ subnet.gateway_address }}"
}{%- if not loop.last %},{%- endif %}
{% endfor %}
]
},
"sdnc-request-header": {
"svc-request-id": "test",
"svc-notification-url": "http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
"svc-action": "reserve"
}
}
}
|