--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright © Intel Corporation 2019
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.onap.cli</groupId>
+ <artifactId>cli-products-onap-dublin-features</artifactId>
+ <version>2.0.6</version>
+ </parent>
+
+ <artifactId>cli-products-onap-dublin-features-sdnc</artifactId>
+ <name>cli/products/onap-dublin/features/sdnc</name>
+ <packaging>jar</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+</project>
--- /dev/null
+[ {
+ "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