diff options
Diffstat (limited to 'products/onap-dublin/features/sdnc/src/main/resources/open-cli-sample/vf-preload-schema-dublin-moco.json')
-rw-r--r-- | products/onap-dublin/features/sdnc/src/main/resources/open-cli-sample/vf-preload-schema-dublin-moco.json | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/products/onap-dublin/features/sdnc/src/main/resources/open-cli-sample/vf-preload-schema-dublin-moco.json b/products/onap-dublin/features/sdnc/src/main/resources/open-cli-sample/vf-preload-schema-dublin-moco.json new file mode 100644 index 00000000..466db8c5 --- /dev/null +++ b/products/onap-dublin/features/sdnc/src/main/resources/open-cli-sample/vf-preload-schema-dublin-moco.json @@ -0,0 +1,150 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/restconf/operations/VNF-API:preload-vnf-topology-operation", + "headers" : { + "Authorization" : "Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "X-TransactionId" : "req-940f9f93-8a71-4c54-820a-ee67ea4b7910", + "Content-Type" : "application/json" + }, + "json" : { + "input" : { + "request-information" : { + "notification-url" : "openecomp.org", + "order-number" : "1", + "order-version" : "1", + "request-action" : "PreloadVNFRequest", + "request-id" : "test" + }, + "sdnc-request-header" : { + "svc-action" : "reserve", + "svc-notification-url" : "http://openecomp.org:8080/adapters/rest/SDNCNotify", + "svc-request-id" : "test" + }, + "vnf-topology-information" : { + "vnf-assignments" : { + "availability-zones" : [ ], + "vnf-networks" : [ ], + "vnf-vms" : [ ] + }, + "vnf-parameters" : [ { + "vnf-parameter-name" : "vfw_image_name", + "vnf-parameter-value" : "ubuntu-16.04" + }, { + "vnf-parameter-name" : "firewall_flavor_name", + "vnf-parameter-value" : "m1.medium" + }, { + "vnf-parameter-name" : "sink_flavor_name", + "vnf-parameter-value" : "m1.medium" + }, { + "vnf-parameter-name" : "packetgen_flavor_name", + "vnf-parameter-value" : "m1.medium" + }, { + "vnf-parameter-name" : "public_net_id", + "vnf-parameter-value" : "external" + }, { + "vnf-parameter-name" : "unprotected_private_net_id", + "vnf-parameter-value" : "unprotected_private_net_00" + }, { + "vnf-parameter-name" : "protected_private_net_id", + "vnf-parameter-value" : "protected_private_net_00" + }, { + "vnf-parameter-name" : "onap_private_net_id", + "vnf-parameter-value" : "k8_network" + }, { + "vnf-parameter-name" : "onap_private_subnet_id", + "vnf-parameter-value" : "k8_network" + }, { + "vnf-parameter-name" : "unprotected_private_net_cidr", + "vnf-parameter-value" : "192.168.10.0/24" + }, { + "vnf-parameter-name" : "protected_private_net_cidr", + "vnf-parameter-value" : "192.168.20.0/24" + }, { + "vnf-parameter-name" : "onap_private_net_cidr", + "vnf-parameter-value" : "10.240.0.0/24" + }, { + "vnf-parameter-name" : "vfw_private_ip_0", + "vnf-parameter-value" : "192.168.10.100" + }, { + "vnf-parameter-name" : "vfw_private_ip_1", + "vnf-parameter-value" : "192.168.20.100" + }, { + "vnf-parameter-name" : "vfw_private_ip_2", + "vnf-parameter-value" : "10.240.0.10" + }, { + "vnf-parameter-name" : "vpg_private_ip_0", + "vnf-parameter-value" : "192.168.10.200" + }, { + "vnf-parameter-name" : "vpg_private_ip_1", + "vnf-parameter-value" : "10.240.0.12" + }, { + "vnf-parameter-name" : "vsn_private_ip_0", + "vnf-parameter-value" : "192.168.20.250" + }, { + "vnf-parameter-name" : "vsn_private_ip_1", + "vnf-parameter-value" : "10.240.0.8" + }, { + "vnf-parameter-name" : "vfw_name_0", + "vnf-parameter-value" : "vfw" + }, { + "vnf-parameter-name" : "vpg_name_0", + "vnf-parameter-value" : "vpktgen" + }, { + "vnf-parameter-name" : "vsn_name_0", + "vnf-parameter-value" : "vsink" + }, { + "vnf-parameter-name" : "vfw_private_0_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vfw_private_1_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vfw_private_2_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vpg_private_0_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vpg_private_1_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vsn_private_0_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vsn_private_1_port_vnic_type", + "vnf-parameter-value" : "normal" + }, { + "vnf-parameter-name" : "vf_module_id", + "vnf-parameter-value" : "VfwhpaTest1V2..base_vfw..module-0" + }, { + "vnf-parameter-name" : "sec_group", + "vnf-parameter-value" : "default" + }, { + "vnf-parameter-name" : "template_type", + "vnf-parameter-value" : "heat" + } ], + "vnf-topology-identifier" : { + "generic-vnf-name" : "cli_test1", + "generic-vnf-type" : "vfwhpa_test1_v2 0", + "service-type" : "7cc3eb0e-1c86-4fc7-9c5c-646a409e6752", + "vnf-name" : "cli_test1", + "vnf-type" : "VfwhpaTest1V2..base_vfw..module-0" + } + } + } + } + }, + "response" : { + "status" : 200, + "json" : { + "output" : { + "svc-request-id" : "test", + "response-code" : "200", + "ack-final-indicator" : "Y" + } + } + } +} ]
\ No newline at end of file |