diff options
author | 2019-07-01 16:16:02 -0400 | |
---|---|---|
committer | 2019-07-08 17:49:01 -0400 | |
commit | 8a61013d546bd56867f5fff8927fd7c0da585a81 (patch) | |
tree | 7b906b1aa1c8029f329d627e283baf1a869ca477 /robot/assets/templates/sdnc/template.network.jinja | |
parent | 37529943e361704b159d4802c04307239c87b204 (diff) |
move preload to the sdnc interface
Issue-ID: TEST-173
Change-Id: Ie5cf74ebb20af3b9994ff6dfbec3a51f49cddef8
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/sdnc/template.network.jinja')
-rw-r--r-- | robot/assets/templates/sdnc/template.network.jinja | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/robot/assets/templates/sdnc/template.network.jinja b/robot/assets/templates/sdnc/template.network.jinja new file mode 100644 index 00000000..02ea14fc --- /dev/null +++ b/robot/assets/templates/sdnc/template.network.jinja @@ -0,0 +1,42 @@ +{ + "VNF-API:input": { + "VNF-API:request-information": { + "VNF-API:request-id": "robot0012", + "VNF-API:notification-url": "http://so.onap.org", + "VNF-API:order-number": "robot0012", + "VNF-API:request-sub-action": "SUPP", + "VNF-API:request-action": "PreloadNetworkRequest", + "VNF-API:source": "robot", + "VNF-API:order-version": "1.0" + }, + "VNF-API:network-topology-information": { + "VNF-API:network-topology-identifier": { + "VNF-API:network-role": "{{network_role}}", + "VNF-API:network-technology": "neutron", + "VNF-API:service-type": "{{service_type}}", + "VNF-API:network-name": "{{network_name}}", + "VNF-API:network-type": "{{network_type}}" + }, + "VNF-API:provider-network-information": { + "VNF-API:is-external-network": "true", + "VNF-API:physical-network-name": "{{network_name}}", + "VNF-API:is-provider-network": "true", + "VNF-API:is-shared-network": "true" + }, + "VNF-API:subnets": [ + { + "VNF-API:start-address": "{{subnet_start_ip}}", + "VNF-API:cidr-mask": "24", + "VNF-API:ip-version": "4", + "VNF-API:dhcp-enabled": "N", + "VNF-API:gateway-address": "{{subnet_gateway}}" + } + ] + }, + "VNF-API:sdnc-request-header": { + "VNF-API:svc-action": "reserve", + "VNF-API:svc-notification-url": "http://so.onap.org", + "VNF-API:svc-request-id": "robot0012" + } + } +} |