From 1b4700191e39fcd7b40e8bd20270451d39d0c225 Mon Sep 17 00:00:00 2001 From: Franklin Dsilva Date: Thu, 20 Feb 2020 05:14:28 +0000 Subject: Topology Discovery and optical-service DGs to support MDONS usecase Change-Id: I1c28e799cc83325e8913d17ee8b718b0a4160cb2 Issue-ID: SDNC-928 Signed-off-by: Franklin Dsilva Former-commit-id: 6a42d5eee5d71870527c8a302308f3e49829a496 --- installation/sdnc/pom.xml | 9 ++++- installation/sdnc/src/main/resources/sdnctl.dump | 40 ++++++++++++++++++++++ .../main/properties/optical-service-dg.properties | 18 ++++++++++ .../properties/rpc-message-sliapi-execute-async.vt | 10 ++++++ 4 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 installation/src/main/properties/optical-service-dg.properties create mode 100644 installation/src/main/properties/rpc-message-sliapi-execute-async.vt (limited to 'installation') diff --git a/installation/sdnc/pom.xml b/installation/sdnc/pom.xml index 3d8d14e4..0128aba9 100644 --- a/installation/sdnc/pom.xml +++ b/installation/sdnc/pom.xml @@ -47,8 +47,15 @@ ${sdnc.northbound.version} repo zip + + + org.onap.sdnc.northbound + optical-service-installer + ${sdnc.northbound.version} + repo + zip - + org.onap.sdnc.northbound vnftools-installer ${sdnc.northbound.version} diff --git a/installation/sdnc/src/main/resources/sdnctl.dump b/installation/sdnc/src/main/resources/sdnctl.dump index 47766661..2fc7bcff 100644 --- a/installation/sdnc/src/main/resources/sdnctl.dump +++ b/installation/sdnc/src/main/resources/sdnctl.dump @@ -1890,6 +1890,26 @@ CREATE TABLE `RANGE_RULE` ( ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `REQUEST_DETAILS` +-- + +DROP TABLE IF EXISTS `REQUEST_DETAILS`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `REQUEST_DETAILS` ( + `request_id` varchar(255) NOT NULL, + `controller_id` varchar(255) DEFAULT NULL, + `status` varchar(255) DEFAULT NULL, + `service_rate` varchar(255) DEFAULT NULL, + `service_instance_id` varchar(255) DEFAULT NULL, + `service_type` varchar(255) DEFAULT NULL, + `global_customer_id` varchar(255) DEFAULT NULL, + `notification_url` varchar(255) DEFAULT NULL, + PRIMARY KEY (`request_id`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `REQUEST_PROGRESS` -- @@ -2420,6 +2440,26 @@ CREATE TABLE `TOPOLOGY_PARAMETER_TO_ENTRIES` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE` +-- + +DROP TABLE IF EXISTS `TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE` ( + `interface_name` varchar(255) NOT NULL, + `interface_id` varchar(255) NOT NULL, + `pnf_name` varchar(255) NOT NULL, + `pnf_id` varchar(255) NOT NULL, + `controller_id` varchar(255) DEFAULT NULL, + `rate` varchar(255) DEFAULT NULL, + `clli` varchar(255) DEFAULT NULL, + `connection_point` varchar(255) DEFAULT NULL, + PRIMARY KEY (`interface_name`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `TRANSACTION_LOG` -- diff --git a/installation/src/main/properties/optical-service-dg.properties b/installation/src/main/properties/optical-service-dg.properties new file mode 100644 index 00000000..c4a5b174 --- /dev/null +++ b/installation/src/main/properties/optical-service-dg.properties @@ -0,0 +1,18 @@ +restapi.templateDir=/opt/onap/sdnc/restapi/templates +controller.url=http://sdnc.onap:8282 +controller.user=admin +controller.pwd=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U + + +#Templates +restapi.template.optical.service.create.filename=optical-service-create-msa.json +restapi.template.optical.service.delete.filename=optical-service-delete-msa.json +restapi.template.so.response.filename=async-response-so.json + +#URLS + +sdnc.async.url=/asyncNotification +so.username=sdncaBpmn +so.password=password1$ +tapi.cep.details.url=/cxf/tapi/v2/connectivities/service-interface-points?topology-id-or-name=otn&sip-id-or-name= +tapi.delete.service.url=/cxf/tapi/v2/connectivities/tapi-services?topology-id-or-name=otn&service-id-or-name= diff --git a/installation/src/main/properties/rpc-message-sliapi-execute-async.vt b/installation/src/main/properties/rpc-message-sliapi-execute-async.vt new file mode 100644 index 00000000..b47a6733 --- /dev/null +++ b/installation/src/main/properties/rpc-message-sliapi-execute-async.vt @@ -0,0 +1,10 @@ +{ + "input": { + "module-name": "optical-service", + "rpc-name": $rpc_name, + "mode": "sync", + "sli-parameter": $sli_parameters + } +} + + -- cgit 1.2.3-korg