diff options
author | Kang Xi <kang.xi@huawei.com> | 2018-05-10 14:50:39 -0400 |
---|---|---|
committer | Kang Xi <kang.xi@huawei.com> | 2018-05-10 14:59:18 -0400 |
commit | ee9f6a171e16ec1e1f60596a15db021dec4831ea (patch) | |
tree | 3a928585ff558841a7642b9746e7a32e623f0313 /test/vcpe/preload_templates/template.network.json | |
parent | 4db256fbea582a546c701c51c2148505adf2851a (diff) |
Add preload templates
Change-Id: Ic05e2282416920f30535621404866cf44271acc5
Issue-ID: INT-461
Signed-off-by: Kang Xi <kang.xi@huawei.com>
Diffstat (limited to 'test/vcpe/preload_templates/template.network.json')
-rw-r--r-- | test/vcpe/preload_templates/template.network.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/test/vcpe/preload_templates/template.network.json b/test/vcpe/preload_templates/template.network.json new file mode 100644 index 000000000..2acb9e363 --- /dev/null +++ b/test/vcpe/preload_templates/template.network.json @@ -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" + } + } +} |