diff options
20 files changed, 1350 insertions, 4738 deletions
diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 2087961c..f5040f5e 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -2,6 +2,7 @@ International License. .. http://creativecommons.org/licenses/by/4.0 .. (c) ONAP Project and its contributors +.. _release_notes: ******************* CCSDK Release Notes @@ -86,33 +87,33 @@ tag 0.7-STAGING-latest to pull the latest daily Frankfurt build +-----------------------------------+--------------------------------------------+---------+ | Image name | Description | Version | +===================================+============================================+=========+ -| onap/ccsdk-alpine-image | Base Alpine Linux image for CCSDK | 0.7.3 | +| onap/ccsdk-alpine-image | Base Alpine Linux image for CCSDK | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-ansible-server-image | Ansible server image | 0.7.3 | +| onap/ccsdk-ansible-server-image | Ansible server image | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ | onap/ccsdk-apps-ms-neng | Naming microservice | 0.7.1 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-blueprints-processor | CDS blueprint processor | 0.7.2 | +| onap/ccsdk-blueprints-processor | CDS blueprint processor | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-cds-ui | CDS web interface | 0.7.2 | +| onap/ccsdk-cds-ui | CDS web interface | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-cds-ui-server | CDS user interface back end | 0.7.2 | +| onap/ccsdk-cds-ui-server | CDS user interface back end | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-commandexecutor | CDS command executor | 0.7.2 | +| onap/ccsdk-commandexecutor | CDS command executor | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-controllerblueprint | CDS controller blueprints | 0.7.2 | +| onap/ccsdk-controllerblueprint | CDS controller blueprints | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-dgbuilder-image | Directed graph builder | 0.7.2 | +| onap/ccsdk-dgbuilder-image | Directed graph builder | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-odl-neon-alpine-image | Alpine based OpenDaylight Neon SR1 image | 0.7.3 | +| onap/ccsdk-odl-neon-alpine-image | Alpine based OpenDaylight Neon SR1 image | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-odlsli-alpine-image | Alpine based OpenDaylight image with CCSDK | 0.7.3 | +| onap/ccsdk-odlsli-alpine-image | Alpine based OpenDaylight image with CCSDK | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-saltstack-server-image | Saltstack server | 0.7.3 | +| onap/ccsdk-saltstack-server-image | Saltstack server | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-sdclistener | CDS SDC listener | 0.7.2 | +| onap/ccsdk-sdclistener | CDS SDC listener | 0.7.3 | +-----------------------------------+--------------------------------------------+---------+ -| onap/ccsdk-ubuntu-image | Base Ubuntu image for CCSDK | 0.7.3 | +| onap/ccsdk-ubuntu-image | Base Ubuntu image for CCSDK | 0.7.4 | +-----------------------------------+--------------------------------------------+---------+ Maven Artifacts @@ -135,37 +136,37 @@ Frankfurt version of each. +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ | groupId | artifactId | version | Description | +=======================+==============================+=========+==================================================================================================+ -| org.onap.ccsdk.parent | binding-parent | 1.5.4 | Parent used in place of OpenDaylight binding-parent | +| org.onap.ccsdk.parent | binding-parent | 1.5.7 | Parent used in place of OpenDaylight binding-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | bundle-parent | 1.5.4 | Parent used in place of OpenDaylight bundle-parent | +| org.onap.ccsdk.parent | bundle-parent | 1.5.7 | Parent used in place of OpenDaylight bundle-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | client-parent | 1.5.4 | Parent used for projects that create client libraries for OpenDaylight APIs | +| org.onap.ccsdk.parent | client-parent | 1.5.7 | Parent used for projects that create client libraries for OpenDaylight APIs | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | dependencies-bom | 1.5.4 | Bill of Materials POM that defines versions of third party libraries used outside ODL container. | +| org.onap.ccsdk.parent | dependencies-bom | 1.5.7 | Bill of Materials POM that defines versions of third party libraries used outside ODL container. | | | | | Intended to be imported in dependencyManagement section. | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | dependencies-odl-bom | 1.5.4 | Bill of Materials POM that defines versions of third party libraries used within ODL container. | +| org.onap.ccsdk.parent | dependencies-odl-bom | 1.5.7 | Bill of Materials POM that defines versions of third party libraries used within ODL container. | | | | | Intended to be imported in dependencyManagement section. | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | feature-repo-parent | 1.5.4 | Parent used in place of OpenDaylight feature-repo-parent | +| org.onap.ccsdk.parent | feature-repo-parent | 1.5.7 | Parent used in place of OpenDaylight feature-repo-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | karaf4-parent | 1.5.4 | Parent used in place of OpenDaylight karaf4-parent | +| org.onap.ccsdk.parent | karaf4-parent | 1.5.7 | Parent used in place of OpenDaylight karaf4-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | mdsal-it-parent | 1.5.4 | Parent used in place of OpenDaylight mdsal-it-parent | +| org.onap.ccsdk.parent | mdsal-it-parent | 1.5.7 | Parent used in place of OpenDaylight mdsal-it-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | odlparent | 1.5.4 | Parent used in place of OpenDaylight odlparent | +| org.onap.ccsdk.parent | odlparent | 1.5.7 | Parent used in place of OpenDaylight odlparent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | odlparent-lite | 1.5.4 | Parent used in place of OpenDaylight odlparent-lite | +| org.onap.ccsdk.parent | odlparent-lite | 1.5.7 | Parent used in place of OpenDaylight odlparent-lite | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | single-feature-parent | 1.5.4 | Parent used in place of OpenDaylight single-feature-parent | +| org.onap.ccsdk.parent | single-feature-parent | 1.5.7 | Parent used in place of OpenDaylight single-feature-parent | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | spring-boot-1-starter-parent | 1.5.4 | Parent used in place of spring-boot-starter-parent for Springboot 1.x. | +| org.onap.ccsdk.parent | spring-boot-1-starter-parent | 1.5.7 | Parent used in place of spring-boot-starter-parent for Springboot 1.x. | | | | | *NOTE* This is deprecated and will be removed in Guilin, since springboot 1.x should no | | | | | longer be used due to security issues | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | spring-boot-starter-parent | 1.5.4 | Parent used in place of spring-boot-starter-parent for Springboot 2.x | +| org.onap.ccsdk.parent | spring-boot-starter-parent | 1.5.7 | Parent used in place of spring-boot-starter-parent for Springboot 2.x | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ -| org.onap.ccsdk.parent | standalone-parent | 1.5.4 | Parent used for projects that have no need for other third party parent poms | +| org.onap.ccsdk.parent | standalone-parent | 1.5.7 | Parent used for projects that have no need for other third party parent poms | +-----------------------+------------------------------+---------+--------------------------------------------------------------------------------------------------+ ccsdk/sli/core @@ -202,19 +203,19 @@ projects. +-----------------------------+------------------------------+---------+--------------------------------+ | groupId | artifactId | version | Description | +=============================+==============================+=========+================================+ -| org.onap.ccsdk.sli.adaptors | aai-service-provider | 0.7.2 | A&AI interface adaptor | +| org.onap.ccsdk.sli.adaptors | aai-service-provider | 0.7.3 | A&AI interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | ansible-adapter-bundle | 0.7.2 | Ansible interface adaptor | +| org.onap.ccsdk.sli.adaptors | ansible-adapter-bundle | 0.7.3 | Ansible interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | mdsal-resource-provider | 0.7.2 | MD-SAL interface adaptor | +| org.onap.ccsdk.sli.adaptors | mdsal-resource-provider | 0.7.3 | MD-SAL interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | netbox-client-provider | 0.7.2 | netbox interface adaptor | +| org.onap.ccsdk.sli.adaptors | netbox-client-provider | 0.7.3 | netbox interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | resource-assignment-provider | 0.7.2 | resource allocator | +| org.onap.ccsdk.sli.adaptors | resource-assignment-provider | 0.7.3 | resource allocator | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | saltstack-adaptor-provider | 0.7.2 | saltstack interface adaptor | +| org.onap.ccsdk.sli.adaptors | saltstack-adaptor-provider | 0.7.3 | saltstack interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ -| org.onap.ccsdk.sli.adaptors | sql-resource-provider | 0.7.2 | SQL database interface adaptor | +| org.onap.ccsdk.sli.adaptors | sql-resource-provider | 0.7.3 | SQL database interface adaptor | +-----------------------------+------------------------------+---------+--------------------------------+ ccsdk/sli/northbound @@ -227,15 +228,15 @@ The following table lists the maven artifacts provided for use by CCSDK client p +-------------------------------+---------------------+---------+-----------------------------------------+ | groupId | artifactId | version | Description | +===============================+=====================+=========+=========================================+ -| org.onap.ccsdk.sli.northbound | asdcApi-provider | 0.7.2 | ODL-based SDC interface | +| org.onap.ccsdk.sli.northbound | asdcApi-provider | 0.7.4 | ODL-based SDC interface | +-------------------------------+---------------------+---------+-----------------------------------------+ -| org.onap.ccsdk.sli.northbound | dataChange-provider | 0.7.2 | A&AI data change notification interface | +| org.onap.ccsdk.sli.northbound | dataChange-provider | 0.7.4 | A&AI data change notification interface | +-------------------------------+---------------------+---------+-----------------------------------------+ -| org.onap.ccsdk.sli.northbound | dmaap-listener | 0.7.2 | DMaaP listener interface | +| org.onap.ccsdk.sli.northbound | dmaap-listener | 0.7.4 | DMaaP listener interface | +-------------------------------+---------------------+---------+-----------------------------------------+ -| org.onap.ccsdk.sli.northbound | lcm-provider | 0.7.2 | Life Cycle Management event interface | +| org.onap.ccsdk.sli.northbound | lcm-provider | 0.7.4 | Life Cycle Management event interface | +-------------------------------+---------------------+---------+-----------------------------------------+ -| org.onap.ccsdk.sli.northbound | ueb-listener | 0.7.2 | SDC event listener | +| org.onap.ccsdk.sli.northbound | ueb-listener | 0.7.4 | SDC event listener | +-------------------------------+---------------------+---------+-----------------------------------------+ ccsdk/sli/plugins diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json index 43a52b4d..f43dc873 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json @@ -1,36 +1,36 @@ [ { - "id": "77f26b4a.f02734", + "id": "4ee6cf31.f3a4b", "type": "method", "name": "method", "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 126.51040840148926, - "y": 250, - "z": "1ba0191f.c9b697", + "x": 117, + "y": 256, + "z": "50d68be7.8b2664", "wires": [ [ - "989bee2d.3d504" + "b32f13c7.d4c7" ] ] }, { - "id": "26bdf696.b8a7ea", + "id": "5f0e1e83.1d9c9", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 128.51040840148926, - "y": 20, - "z": "1ba0191f.c9b697", + "x": 119, + "y": 26, + "z": "50d68be7.8b2664", "wires": [ [ - "a84ca9f2.5dec58" + "fe2de3d.042bf2" ] ] }, { - "id": "a84ca9f2.5dec58", + "id": "fe2de3d.042bf2", "type": "service-logic", "name": "oofpcipoc-api ${project.version}", "module": "oofpcipoc-api", @@ -38,1875 +38,1887 @@ "comments": "", "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>", "outputs": 1, - "x": 180.5103931427002, - "y": 88.0000991821289, - "z": "1ba0191f.c9b697", + "x": 170.99998474121094, + "y": 94.0000991821289, + "z": "50d68be7.8b2664", "wires": [ [ - "77f26b4a.f02734" + "4ee6cf31.f3a4b" ] ] }, { - "id": "989bee2d.3d504", + "id": "b32f13c7.d4c7", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 121.00000190734863, - "y": 390.0000305175781, - "z": "1ba0191f.c9b697", + "x": 111.48959350585938, + "y": 396.0000305175781, + "z": "50d68be7.8b2664", "wires": [ [ - "3dc02c1a.f126e4", - "8727b008.cb2", - "1671a589.62a66a", - "f4d5731c.4b161", - "10acd060.dece1", - "220645f8.cfb8ea", - "1e2c6b21.cd17b5", - "7bb49999.9148e8" + "5a32e1ce.a4b21", + "57523251.c3abac", + "1a3da184.a33a9e", + "77253f1d.366af", + "953f0fc8.08a01", + "2516ca70.246136", + "1f3b8a0c.2a9db6", + "88919954.3b19c8", + "b0f7f9ac.278698" ] ] }, { - "id": "3dc02c1a.f126e4", + "id": "5a32e1ce.a4b21", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", "comments": "", - "x": 141.51067543029785, - "y": 2535.000244140625, - "z": "1ba0191f.c9b697", + "x": 132.0002670288086, + "y": 2541.000244140625, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "6ec27597.c5078c", + "id": "42033756.fb6048", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 607.5109577178955, - "y": 128.0000457763672, - "z": "1ba0191f.c9b697", + "x": 598.0005493164062, + "y": 134.0000457763672, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "b60eadca.63ad", + "id": "8d771b2b.000c58", "type": "comment", "name": "configuration-phy-cell-id", "info": "", "comments": "", - "x": 357.5104007720947, - "y": 39.01041603088379, - "z": "1ba0191f.c9b697", + "x": 347.99999237060547, + "y": 45.01041603088379, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "be109ccd.fa411", + "id": "8b66190.7b9e6e8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 1419.5105304718018, - "y": 241.01040649414062, - "z": "1ba0191f.c9b697", + "x": 1410.0001220703125, + "y": 247.01040649414062, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "33d21a78.648c86", + "id": "a05f4e4b.9c8cc", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1114.510591506958, - "y": 183.0104217529297, - "z": "1ba0191f.c9b697", + "x": 1105.0001831054688, + "y": 189.0104217529297, + "z": "50d68be7.8b2664", "wires": [ [ - "32031180.519f3e" + "b1632833.634428" ] ] }, { - "id": "32031180.519f3e", + "id": "b1632833.634428", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />", "comments": "", - "x": 1333.5106525421143, - "y": 183.01044464111328, - "z": "1ba0191f.c9b697", + "x": 1324.000244140625, + "y": 189.01044464111328, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "5fb7acbd.6d96f4", + "id": "6c131cfa.f2d144", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1119.5107746124268, - "y": 267.0104064941406, - "z": "1ba0191f.c9b697", + "x": 1110.0003662109375, + "y": 273.0104064941406, + "z": "50d68be7.8b2664", "wires": [ [ - "c1a94b58.79d758" + "a61dc2f7.35137" ] ] }, { - "id": "c1a94b58.79d758", + "id": "a61dc2f7.35137", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1265.5104084014893, - "y": 250.0104217529297, - "z": "1ba0191f.c9b697", + "x": 1256, + "y": 256.0104217529297, + "z": "50d68be7.8b2664", "wires": [ [ - "be109ccd.fa411" + "8b66190.7b9e6e8" ] ] }, { - "id": "bc601045.41112", + "id": "69fae148.7eb9e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1113.5105304718018, - "y": 523.6770629882812, - "z": "1ba0191f.c9b697", + "x": 1104.0001220703125, + "y": 529.6770629882812, + "z": "50d68be7.8b2664", "wires": [ [ - "1b472ace.015705" + "968bccb3.4286" ] ] }, { - "id": "1b472ace.015705", + "id": "968bccb3.4286", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />", "comments": "", - "x": 1340.5104084014893, - "y": 521.6770935058594, - "z": "1ba0191f.c9b697", + "x": 1331, + "y": 527.6770935058594, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "d7833ce1.7128b", + "id": "40cd6380.3794bc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1132.5104084014893, - "y": 598.6771850585938, - "z": "1ba0191f.c9b697", + "x": 1123, + "y": 604.6771850585938, + "z": "50d68be7.8b2664", "wires": [ [ - "3d5013e3.eb771c" + "be79eed0.bfda6" ] ] }, { - "id": "3d5013e3.eb771c", + "id": "be79eed0.bfda6", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1290.5102863311768, - "y": 596.6770629882812, - "z": "1ba0191f.c9b697", + "x": 1280.9998779296875, + "y": 602.6770629882812, + "z": "50d68be7.8b2664", "wires": [ [ - "4732375c.7ba838" + "be01a281.ac9f1" ] ] }, { - "id": "4732375c.7ba838", + "id": "be01a281.ac9f1", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 1463.5102863311768, - "y": 591.6773071289062, - "z": "1ba0191f.c9b697", + "x": 1453.9998779296875, + "y": 597.6773071289062, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "957f77de.a55d08", + "id": "65e2d2cb.cf5a3c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 855.5110607147217, - "y": 208.0105118751526, - "z": "1ba0191f.c9b697", + "x": 846.0006523132324, + "y": 214.0105118751526, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "1671a589.62a66a", + "id": "1a3da184.a33a9e", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 452.59610176086426, - "y": 138.96359252929688, - "z": "1ba0191f.c9b697", + "x": 443.085693359375, + "y": 144.96359252929688, + "z": "50d68be7.8b2664", "wires": [ [ - "6ec27597.c5078c" + "42033756.fb6048" ] ] }, { - "id": "8727b008.cb2", + "id": "57523251.c3abac", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure PCI INVOKED. Number of Cells to configure: \"/>\n<parameter name=\"field2\" value=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\"/>\n", "comments": "", "outputs": 1, - "x": 455.5107135772705, - "y": 82.02084350585938, - "z": "1ba0191f.c9b697", + "x": 446.00030517578125, + "y": 88.02084350585938, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "a474866a.a14238", + "id": "adcb6dc1.9be5f", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 617.510591506958, - "y": 431.0104064941406, - "z": "1ba0191f.c9b697", + "x": 608.0001831054688, + "y": 437.0104064941406, + "z": "50d68be7.8b2664", "wires": [ [ - "b144ba28.a89b28" + "f8a76f90.29da8" ] ] }, { - "id": "b9b93736.1a6868", + "id": "8be594e3.6d8688", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n", "comments": "", - "x": 979.5115070343018, - "y": 76.89949798583984, - "z": "1ba0191f.c9b697", + "x": 970.0010986328125, + "y": 82.89949798583984, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "9ae0b70e.bf3078", + "id": "f6ddb3a1.efd5b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1122.5107746124268, - "y": 391.010498046875, - "z": "1ba0191f.c9b697", + "x": 1113.0003662109375, + "y": 397.010498046875, + "z": "50d68be7.8b2664", "wires": [ [ - "b621a04.fa53d6" + "6a108f5f.873d2" ] ] }, { - "id": "93807362.20453", + "id": "33b5f89d.e80cf8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1109.5106525421143, - "y": 469.0104064941406, - "z": "1ba0191f.c9b697", + "x": 1100.000244140625, + "y": 475.0104064941406, + "z": "50d68be7.8b2664", "wires": [ [ - "ec0dcdd.3499c3" + "def4e26f.40b75" ] ] }, { - "id": "b621a04.fa53d6", + "id": "6a108f5f.873d2", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1269.5106525421143, - "y": 391.0105285644531, - "z": "1ba0191f.c9b697", + "x": 1260.000244140625, + "y": 397.0105285644531, + "z": "50d68be7.8b2664", "wires": [ [ - "6b835be7.577a84" + "836bcfb6.19bda" ] ] }, { - "id": "6b835be7.577a84", + "id": "836bcfb6.19bda", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />", "comments": "", - "x": 1433.5104084014893, - "y": 375.010498046875, - "z": "1ba0191f.c9b697", + "x": 1424, + "y": 381.010498046875, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "ec0dcdd.3499c3", + "id": "def4e26f.40b75", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1265.5104084014893, - "y": 453.0104675292969, - "z": "1ba0191f.c9b697", + "x": 1256, + "y": 459.0104675292969, + "z": "50d68be7.8b2664", "wires": [ [ - "aba8db9e.2b3328" + "ee42d567.cd69a8" ] ] }, { - "id": "aba8db9e.2b3328", + "id": "ee42d567.cd69a8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>", "comments": "", "outputs": 1, - "x": 1426.5105304718018, - "y": 455.0104675292969, - "z": "1ba0191f.c9b697", + "x": 1417.0001220703125, + "y": 461.0104675292969, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "b144ba28.a89b28", + "id": "f8a76f90.29da8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 640.5104007720947, - "y": 238.0209083557129, - "z": "1ba0191f.c9b697", + "x": 634, + "y": 253.02090454101562, + "z": "50d68be7.8b2664", "wires": [ [ - "b9b93736.1a6868", - "957f77de.a55d08", - "c24a2d69.c0eca", - "66275d05.56f194", - "a84f2a18.9bc1b8", - "cb8e01a2.f94c9", - "40629255.8edd7c", - "999c64e3.c9b4e8", - "10b07eb4.63e251" + "8be594e3.6d8688", + "65e2d2cb.cf5a3c", + "5ce6a301.a18cec", + "49a6fb58.2fce44", + "f2b3bdcf.f52a9", + "1d4e42f.60d63bd", + "ccf11ec5.7bbd1", + "de4361c0.25785", + "889e7977.5506f8" ] ] }, { - "id": "cb8e01a2.f94c9", + "id": "1d4e42f.60d63bd", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n", "comments": "", "outputs": 1, - "x": 867.511079788208, - "y": 381.0208435058594, - "z": "1ba0191f.c9b697", + "x": 858.0006713867188, + "y": 387.0208435058594, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "f4d5731c.4b161", + "id": "77253f1d.366af", "type": "execute", "name": "execute Properties", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, - "x": 488.510591506958, - "y": 193.02084350585938, - "z": "1ba0191f.c9b697", + "x": 479.00018310546875, + "y": 199.02084350585938, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "10acd060.dece1", + "id": "953f0fc8.08a01", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. pci patch target\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc.patch.pci.target`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field7\" value=\"`$prop.ransim-mounted`\"/>", "comments": "", "outputs": 1, - "x": 443.5107135772705, - "y": 286.02088928222656, - "z": "1ba0191f.c9b697", + "x": 440.00030517578125, + "y": 251.02090454101562, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "66275d05.56f194", + "id": "49a6fb58.2fce44", "type": "execute", "name": "Get FAP details for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 904.5109577178955, - "y": 259.02081298828125, - "z": "1ba0191f.c9b697", + "x": 895.0005493164062, + "y": 265.02081298828125, + "z": "50d68be7.8b2664", "wires": [ [ - "33d21a78.648c86", - "5fb7acbd.6d96f4" + "a05f4e4b.9c8cc", + "6c131cfa.f2d144" ] ] }, { - "id": "c24a2d69.c0eca", + "id": "5ce6a301.a18cec", "type": "execute", "name": "generate fap-service url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 897.5106449127197, - "y": 152.0209083557129, - "z": "1ba0191f.c9b697", + "x": 888.0002365112305, + "y": 158.0209083557129, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "a84f2a18.9bc1b8", + "id": "f2b3bdcf.f52a9", "type": "execute", "name": "generate pci patch url for a cell", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 962.510591506958, - "y": 325.02081298828125, - "z": "1ba0191f.c9b697", + "x": 953.0001831054688, + "y": 331.02081298828125, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "40629255.8edd7c", + "id": "ccf11ec5.7bbd1", "type": "execute", "name": "Recofigure PCI for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />", "comments": "", "outputs": 1, - "x": 912.5104694366455, - "y": 452.0209655761719, - "z": "1ba0191f.c9b697", + "x": 903.0000610351562, + "y": 458.0209655761719, + "z": "50d68be7.8b2664", "wires": [ [ - "9ae0b70e.bf3078", - "93807362.20453" + "f6ddb3a1.efd5b", + "33b5f89d.e80cf8" ] ] }, { - "id": "999c64e3.c9b4e8", + "id": "de4361c0.25785", "type": "execute", "name": "Get FAP details for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 890.5104084014893, - "y": 535.0208740234375, - "z": "1ba0191f.c9b697", + "x": 881, + "y": 541.0208740234375, + "z": "50d68be7.8b2664", "wires": [ [ - "bc601045.41112", - "d7833ce1.7128b" + "69fae148.7eb9e", + "40cd6380.3794bc" ] ] }, { - "id": "220645f8.cfb8ea", + "id": "2516ca70.246136", "type": "switchNode", "name": "switch mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 438.51040840148926, - "y": 463.0103759765625, - "z": "1ba0191f.c9b697", + "x": 429, + "y": 469.0103759765625, + "z": "50d68be7.8b2664", "wires": [ [ - "31e1b715.c5b5c8", - "52c69e82.f0049" + "296e2da5.4e8922", + "5c171ca1.83e394" ] ] }, { - "id": "31e1b715.c5b5c8", + "id": "296e2da5.4e8922", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 519.5104084014893, - "y": 358.0104064941406, - "z": "1ba0191f.c9b697", + "x": 504, + "y": 376.0104064941406, + "z": "50d68be7.8b2664", "wires": [ [ - "a474866a.a14238" + "adcb6dc1.9be5f" ] ] }, { - "id": "52c69e82.f0049", + "id": "5c171ca1.83e394", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 568.5104084014893, - "y": 550.0104370117188, - "z": "1ba0191f.c9b697", + "x": 559, + "y": 556.0104370117188, + "z": "50d68be7.8b2664", "wires": [ [ - "c983a75a.8d1c98" + "b7803635.7b20e8" ] ] }, { - "id": "9f54e1f9.489ef", + "id": "f74f8504.75cdc8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 1500.5102787017822, - "y": 1008.0104103088379, - "z": "1ba0191f.c9b697", + "x": 1490.999870300293, + "y": 1014.0104103088379, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "ac6c7cc4.505e2", + "id": "ba398223.0862a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1153.5104007720947, - "y": 997.0104103088379, - "z": "1ba0191f.c9b697", + "x": 1143.9999923706055, + "y": 1003.0104103088379, + "z": "50d68be7.8b2664", "wires": [ [ - "6e1df4ba.dcc26c" + "8ea5fd88.19126" ] ] }, { - "id": "6e1df4ba.dcc26c", + "id": "8ea5fd88.19126", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing Get odutopo node details rest api\" />", "comments": "", - "x": 1335.5104007720947, - "y": 969.0104713439941, - "z": "1ba0191f.c9b697", + "x": 1325.9999923706055, + "y": 975.0104713439941, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "cccc941d.ae2de8", + "id": "6e73a65.efd8158", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1151.5105838775635, - "y": 1072.010410308838, - "z": "1ba0191f.c9b697", + "x": 1142.0001754760742, + "y": 1078.010410308838, + "z": "50d68be7.8b2664", "wires": [ [ - "36e89129.3c590e" + "76b317fe.6c7558" ] ] }, { - "id": "36e89129.3c590e", + "id": "76b317fe.6c7558", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1338.5102787017822, - "y": 1021.0104103088379, - "z": "1ba0191f.c9b697", + "x": 1328.999870300293, + "y": 1027.010410308838, + "z": "50d68be7.8b2664", "wires": [ [ - "9f54e1f9.489ef" + "f74f8504.75cdc8" ] ] }, { - "id": "65be3d3f.cecbe4", + "id": "c782576f.e50328", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1034.5104007720947, - "y": 1342.6770362854004, - "z": "1ba0191f.c9b697", + "x": 1024.9999923706055, + "y": 1348.6770362854004, + "z": "50d68be7.8b2664", "wires": [ [ - "1feb8e9a.5a2ae1" + "c1944ae1.891168" ] ] }, { - "id": "1feb8e9a.5a2ae1", + "id": "c1944ae1.891168", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />", "comments": "", - "x": 1222.5102787017822, - "y": 1349.677158355713, - "z": "1ba0191f.c9b697", + "x": 1212.999870300293, + "y": 1355.677158355713, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "acc913ad.8c713", + "id": "4ef2ea92.7af554", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1020.510217666626, - "y": 1419.677158355713, - "z": "1ba0191f.c9b697", + "x": 1010.9998092651367, + "y": 1425.677158355713, + "z": "50d68be7.8b2664", "wires": [ [ - "1b05366.237f7ca" + "b8c9a86f.a5d5c8" ] ] }, { - "id": "1b05366.237f7ca", + "id": "b8c9a86f.a5d5c8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1194.5101566314697, - "y": 1422.6770362854004, - "z": "1ba0191f.c9b697", + "x": 1184.9997482299805, + "y": 1428.6770362854004, + "z": "50d68be7.8b2664", "wires": [ [ - "588f8bec.94aba4" + "fcc6c415.ff34e8" ] ] }, { - "id": "588f8bec.94aba4", + "id": "fcc6c415.ff34e8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 1372.5100345611572, - "y": 1426.6772804260254, - "z": "1ba0191f.c9b697", + "x": 1362.999626159668, + "y": 1432.6772804260254, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "3c274eca.f54e42", + "id": "51dff42c.4f94dc", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 843.5108966827393, - "y": 1004.0105590820312, - "z": "1ba0191f.c9b697", + "x": 834.00048828125, + "y": 1010.0105590820312, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "c983a75a.8d1c98", + "id": "b7803635.7b20e8", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 613.5104084014893, - "y": 658.0103759765625, - "z": "1ba0191f.c9b697", + "x": 604, + "y": 664.0103759765625, + "z": "50d68be7.8b2664", "wires": [ [ - "bfb26e80.2f7a1" + "64d0ea44.9e38b4" ] ] }, { - "id": "471a1166.35ea1", + "id": "e32cda0b.03a948", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n", "comments": "", - "x": 915.511323928833, - "y": 871.8995361328125, - "z": "1ba0191f.c9b697", + "x": 906.0009155273438, + "y": 877.8995361328125, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "719379fe.a37db8", + "id": "31c132cb.aa27fe", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1125.5105838775635, - "y": 1192.0104713439941, - "z": "1ba0191f.c9b697", + "x": 1116.0001754760742, + "y": 1198.0104713439941, + "z": "50d68be7.8b2664", "wires": [ [ - "3ce1f670.bcf73a" + "4e3d7d98.25f974" ] ] }, { - "id": "7a8e6698.939c48", + "id": "b44616cd.a2e8c8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1094.5105228424072, - "y": 1279.010410308838, - "z": "1ba0191f.c9b697", + "x": 1085.000114440918, + "y": 1285.010410308838, + "z": "50d68be7.8b2664", "wires": [ [ - "b75cb29e.ea22d" + "e3ae6269.630ad" ] ] }, { - "id": "3ce1f670.bcf73a", + "id": "4e3d7d98.25f974", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1298.5105228424072, - "y": 1164.0105323791504, - "z": "1ba0191f.c9b697", + "x": 1289.000114440918, + "y": 1170.0105323791504, + "z": "50d68be7.8b2664", "wires": [ [ - "c4ed8705.3f7c08" + "993028c6.fd4d38" ] ] }, { - "id": "c4ed8705.3f7c08", + "id": "993028c6.fd4d38", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error executing patch rest api\" />", "comments": "", - "x": 1486.5101566314697, - "y": 1154.0104713439941, - "z": "1ba0191f.c9b697", + "x": 1476.9997482299805, + "y": 1160.0104713439941, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "b75cb29e.ea22d", + "id": "e3ae6269.630ad", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1276.5102787017822, - "y": 1266.0104713439941, - "z": "1ba0191f.c9b697", + "x": 1266.999870300293, + "y": 1272.0104713439941, + "z": "50d68be7.8b2664", "wires": [ [ - "37190a8a.18f4b6" + "a57f2fc0.1d319" ] ] }, { - "id": "37190a8a.18f4b6", + "id": "a57f2fc0.1d319", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>", "comments": "", "outputs": 1, - "x": 1449.5102787017822, - "y": 1265.0104713439941, - "z": "1ba0191f.c9b697", + "x": 1439.999870300293, + "y": 1271.0104713439941, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "bfb26e80.2f7a1", + "id": "64d0ea44.9e38b4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 525.5102252960205, - "y": 1074.0209350585938, - "z": "1ba0191f.c9b697", + "x": 515.9998168945312, + "y": 1080.0209350585938, + "z": "50d68be7.8b2664", "wires": [ [ - "471a1166.35ea1", - "3c274eca.f54e42", - "c280ca97.657fa8", - "5bb5760a.bd9e08", - "43aa5ec6.b6815", - "e10b9ed3.60711", - "1fb13f3e.182691", - "1d872a84.1b43b5", - "fa4ad7f0.ff3bc8", - "ae0c1893.d52058", - "42dc4c9b.7dd324" + "e32cda0b.03a948", + "51dff42c.4f94dc", + "db7bd4c1.056cd8", + "6eec9618.7c6218", + "fe775b3c.962a18", + "1c9e981.cacf768", + "f1b383a9.8c8a5", + "c7513391.64888", + "b215210a.3cffc", + "f1bd6f0a.00d0c", + "e608d4d3.6b9098" ] ] }, { - "id": "e10b9ed3.60711", + "id": "1c9e981.cacf768", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n", "comments": "", "outputs": 1, - "x": 827.5108890533447, - "y": 1201.0208473205566, - "z": "1ba0191f.c9b697", + "x": 818.0004806518555, + "y": 1207.0208473205566, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "5bb5760a.bd9e08", + "id": "6eec9618.7c6218", "type": "execute", "name": "Get FAP details for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 911.5107669830322, - "y": 1047.0207862854004, - "z": "1ba0191f.c9b697", + "x": 902.000358581543, + "y": 1053.0207862854004, + "z": "50d68be7.8b2664", "wires": [ [ - "ac6c7cc4.505e2", - "cccc941d.ae2de8" + "ba398223.0862a", + "6e73a65.efd8158" ] ] }, { - "id": "c280ca97.657fa8", + "id": "db7bd4c1.056cd8", "type": "execute", "name": "generate fap-service url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 842.5104694366455, - "y": 923.0209350585938, - "z": "1ba0191f.c9b697", + "x": 833.0000610351562, + "y": 929.0209350585938, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "43aa5ec6.b6815", + "id": "fe775b3c.962a18", "type": "execute", "name": "generate pci patch url for a cell", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 930.5104007720947, - "y": 1092.0208473205566, - "z": "1ba0191f.c9b697", + "x": 920.9999923706055, + "y": 1098.0208473205566, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "1fb13f3e.182691", + "id": "f1b383a9.8c8a5", "type": "execute", "name": "Recofigure PCI for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />", "comments": "", "outputs": 1, - "x": 851.5102787017822, - "y": 1261.020908355713, - "z": "1ba0191f.c9b697", + "x": 841.999870300293, + "y": 1267.020908355713, + "z": "50d68be7.8b2664", "wires": [ [ - "719379fe.a37db8", - "7a8e6698.939c48" + "31c132cb.aa27fe", + "b44616cd.a2e8c8" ] ] }, { - "id": "1d872a84.1b43b5", + "id": "c7513391.64888", "type": "execute", "name": "Get FAP details for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 818.5102787017822, - "y": 1335.020908355713, - "z": "1ba0191f.c9b697", + "x": 808.999870300293, + "y": 1341.020908355713, + "z": "50d68be7.8b2664", "wires": [ [ - "65be3d3f.cecbe4", - "acc913ad.8c713" + "c782576f.e50328", + "4ef2ea92.7af554" ] ] }, { - "id": "fa4ad7f0.ff3bc8", + "id": "b215210a.3cffc", "type": "execute", "name": "populate netconf mount", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 926.5104084014893, - "y": 967.0104370117188, - "z": "1ba0191f.c9b697", + "x": 917, + "y": 973.0104370117188, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "ae0c1893.d52058", + "id": "f1bd6f0a.00d0c", "type": "execute", "name": "populate netconf mount", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 886.5104007720947, - "y": 1143.010410308838, - "z": "1ba0191f.c9b697", + "x": 876.9999923706055, + "y": 1149.010410308838, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "ac9d29f2.0afc08", + "id": "f8fd7576.b137b8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 877.5104084014893, - "y": 1620, - "z": "1ba0191f.c9b697", + "x": 868, + "y": 1626, + "z": "50d68be7.8b2664", "wires": [ [ - "fd25cfff.6cda2", - "d4d57f0b.068e4", - "d3688bf5.5cf708" + "c3281595.0ceec8", + "ae3a063.62d70f8", + "6d4fb749.9b7cf8" ] ] }, { - "id": "fd25cfff.6cda2", + "id": "c3281595.0ceec8", "type": "execute", "name": "generate configdb phy cell id patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 1191.5104084014893, - "y": 1532, - "z": "1ba0191f.c9b697", + "x": 1182, + "y": 1538, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "d4d57f0b.068e4", + "id": "ae3a063.62d70f8", "type": "record", "name": "record configdb RestAPI parms", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 1161.5104084014893, - "y": 1596, - "z": "1ba0191f.c9b697", + "x": 1152, + "y": 1602, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "d3688bf5.5cf708", + "id": "6d4fb749.9b7cf8", "type": "execute", "name": "Configure PCI value in configdb", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", "comments": "", "outputs": 1, - "x": 1135.5104084014893, - "y": 1691, - "z": "1ba0191f.c9b697", + "x": 1126, + "y": 1697, + "z": "50d68be7.8b2664", "wires": [ [ - "9e3e7d33.68d5c", - "1484e8b4.8fed07" + "25f0d085.93f7f", + "fde52d6a.b6f8b" ] ] }, { - "id": "9e3e7d33.68d5c", + "id": "25f0d085.93f7f", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1350.5104084014893, - "y": 1634, - "z": "1ba0191f.c9b697", + "x": 1341, + "y": 1640, + "z": "50d68be7.8b2664", "wires": [ [ - "1f6f492c.8bc497" + "dd50580a.ae4348" ] ] }, { - "id": "1484e8b4.8fed07", + "id": "fde52d6a.b6f8b", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1350.5102863311768, - "y": 1729.9998779296875, - "z": "1ba0191f.c9b697", + "x": 1340.9998779296875, + "y": 1735.9998779296875, + "z": "50d68be7.8b2664", "wires": [ [ - "699c36c5.858918" + "dbd4a5b.02a1558" ] ] }, { - "id": "1f6f492c.8bc497", + "id": "dd50580a.ae4348", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1519.5102863311768, - "y": 1645, - "z": "1ba0191f.c9b697", + "x": 1509.9998779296875, + "y": 1651, + "z": "50d68be7.8b2664", "wires": [ [ - "6202ea2a.815a54" + "8da67cbb.0866b" ] ] }, { - "id": "699c36c5.858918", + "id": "dbd4a5b.02a1558", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1512.5100421905518, - "y": 1731, - "z": "1ba0191f.c9b697", + "x": 1502.9996337890625, + "y": 1737, + "z": "50d68be7.8b2664", "wires": [ [ - "6dbef6cc.d2a0e8" + "2062305.38a56d" ] ] }, { - "id": "6202ea2a.815a54", + "id": "8da67cbb.0866b", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting PCI configuration\" />", "comments": "", - "x": 1673.5099811553955, - "y": 1638, - "z": "1ba0191f.c9b697", + "x": 1663.9995727539062, + "y": 1644, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "6dbef6cc.d2a0e8", + "id": "2062305.38a56d", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 1663.5101642608643, - "y": 1728, - "z": "1ba0191f.c9b697", + "x": 1653.999755859375, + "y": 1734, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "42dc4c9b.7dd324", + "id": "e608d4d3.6b9098", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 764.5104084014893, - "y": 1442, - "z": "1ba0191f.c9b697", + "x": 755, + "y": 1448, + "z": "50d68be7.8b2664", "wires": [ [ - "d70de1f1.078a2" + "d31f7c6e.50d38" ] ] }, { - "id": "d70de1f1.078a2", + "id": "d31f7c6e.50d38", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 802.5104084014893, - "y": 1544, - "z": "1ba0191f.c9b697", + "x": 793, + "y": 1550, + "z": "50d68be7.8b2664", "wires": [ [ - "ac9d29f2.0afc08" + "f8fd7576.b137b8" ] ] }, { - "id": "6a46edff.c3cda4", + "id": "2229282f.5b0b28", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 887.5104084014893, - "y": 763.3228416442871, - "z": "1ba0191f.c9b697", + "x": 878, + "y": 769.3228416442871, + "z": "50d68be7.8b2664", "wires": [ [ - "40fe573.855f9a8", - "2f361483.cf203c", - "cde1a3cd.e2adb" + "b7a0de8d.7643d", + "2dcf1d71.5f7352", + "bd6f0e4e.4392" ] ] }, { - "id": "40fe573.855f9a8", + "id": "b7a0de8d.7643d", "type": "execute", "name": "generate configdb phy cell id patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 1157.5104084014893, - "y": 669.3228149414062, - "z": "1ba0191f.c9b697", + "x": 1148, + "y": 675.3228149414062, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "2f361483.cf203c", + "id": "2dcf1d71.5f7352", "type": "record", "name": "record configdb RestAPI parms", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 1158.5104084014893, - "y": 733.3228149414062, - "z": "1ba0191f.c9b697", + "x": 1149, + "y": 739.3228149414062, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "cde1a3cd.e2adb", + "id": "bd6f0e4e.4392", "type": "execute", "name": "Configure PCI value in configdb", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", "comments": "", "outputs": 1, - "x": 1141.5104846954346, - "y": 806.3228282928467, - "z": "1ba0191f.c9b697", + "x": 1132.0000762939453, + "y": 812.3228282928467, + "z": "50d68be7.8b2664", "wires": [ [ - "6f4fdb1b.c0ea34", - "c5c1eecf.19ccb" + "31060b44.1b99f4", + "51ed9fbb.b7cb7" ] ] }, { - "id": "6f4fdb1b.c0ea34", + "id": "31060b44.1b99f4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1360.5104084014893, - "y": 777.3228416442871, - "z": "1ba0191f.c9b697", + "x": 1351, + "y": 783.3228416442871, + "z": "50d68be7.8b2664", "wires": [ [ - "4e796fca.9fa56" + "ac223d99.e70fc" ] ] }, { - "id": "c5c1eecf.19ccb", + "id": "51ed9fbb.b7cb7", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1360.5102863311768, - "y": 873.3227195739746, - "z": "1ba0191f.c9b697", + "x": 1350.9998779296875, + "y": 879.3227195739746, + "z": "50d68be7.8b2664", "wires": [ [ - "1599d33d.2c960d" + "5b8b254d.2e681c" ] ] }, { - "id": "4e796fca.9fa56", + "id": "ac223d99.e70fc", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1529.5102863311768, - "y": 788.3228416442871, - "z": "1ba0191f.c9b697", + "x": 1519.9998779296875, + "y": 794.3228416442871, + "z": "50d68be7.8b2664", "wires": [ [ - "b75a73d9.be6b4" + "90b022ce.a1d39" ] ] }, { - "id": "1599d33d.2c960d", + "id": "5b8b254d.2e681c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1522.5100421905518, - "y": 874.3228416442871, - "z": "1ba0191f.c9b697", + "x": 1512.9996337890625, + "y": 880.3228416442871, + "z": "50d68be7.8b2664", "wires": [ [ - "fe5060b9.28d1c" + "a34090d1.54a54" ] ] }, { - "id": "b75a73d9.be6b4", + "id": "90b022ce.a1d39", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification handler\" />", "comments": "", - "x": 1683.5099811553955, - "y": 781.3228416442871, - "z": "1ba0191f.c9b697", + "x": 1673.9995727539062, + "y": 787.3228416442871, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "fe5060b9.28d1c", + "id": "a34090d1.54a54", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 1673.5101642608643, - "y": 870.3228149414062, - "z": "1ba0191f.c9b697", + "x": 1663.999755859375, + "y": 876.3228149414062, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "10b07eb4.63e251", + "id": "889e7977.5506f8", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 816.5104084014893, - "y": 589.3228149414062, - "z": "1ba0191f.c9b697", + "x": 807, + "y": 595.3228149414062, + "z": "50d68be7.8b2664", "wires": [ [ - "4f5b2144.27355" + "ced1c9ca.4f9978" ] ] }, { - "id": "4f5b2144.27355", + "id": "ced1c9ca.4f9978", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 812.5104084014893, - "y": 687.3228416442871, - "z": "1ba0191f.c9b697", + "x": 803, + "y": 693.3228416442871, + "z": "50d68be7.8b2664", "wires": [ [ - "6a46edff.c3cda4" + "2229282f.5b0b28" ] ] }, { - "id": "273850f2.7f097", + "id": "958427a8.01e3e8", "type": "execute", "name": "execute TemplateNode", "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfig-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />\n", "comments": "", "outputs": 1, - "x": 897.5104084014893, - "y": 1830, - "z": "1ba0191f.c9b697", + "x": 888, + "y": 1836, + "z": "50d68be7.8b2664", "wires": [ [ - "98dc85e1.e6a448", - "143da08e.32845f" + "46357e3b.7b463", + "5368f4ec.7ba84c" ] ] }, { - "id": "98dc85e1.e6a448", + "id": "46357e3b.7b463", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1171.5104084014893, - "y": 1799, - "z": "1ba0191f.c9b697", + "x": 1162, + "y": 1805, + "z": "50d68be7.8b2664", "wires": [ [ - "50d24bdf.1cafe4" + "79a08354.a9c57c" ] ] }, { - "id": "50d24bdf.1cafe4", + "id": "79a08354.a9c57c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1362.5104084014893, - "y": 1802, - "z": "1ba0191f.c9b697", + "x": 1353, + "y": 1808, + "z": "50d68be7.8b2664", "wires": [ [ - "5523a93b.04e278" + "74d21297.1b0e3c" ] ] }, { - "id": "5523a93b.04e278", + "id": "74d21297.1b0e3c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />", "comments": "", "outputs": 1, - "x": 1530.5104084014893, - "y": 1803, - "z": "1ba0191f.c9b697", + "x": 1521, + "y": 1809, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "a5095542.4c6138", + "id": "db4fcfac.9f61c", "type": "execute", "name": "remove new lines", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n", "comments": "", "outputs": 1, - "x": 870.0104084014893, - "y": 1946, - "z": "1ba0191f.c9b697", + "x": 860.5, + "y": 1952, + "z": "50d68be7.8b2664", "wires": [ [ - "86d04e15.ba253", - "389955cb.dd28ca" + "2275c209.df7ffe", + "5070522e.6844dc" ] ] }, { - "id": "5da8895b.a671a8", + "id": "1b7d6b6a.a645e5", "type": "execute", "name": "remove tabs", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n", "comments": "", "outputs": 1, - "x": 859.5104084014893, - "y": 2028, - "z": "1ba0191f.c9b697", + "x": 850, + "y": 2034, + "z": "50d68be7.8b2664", "wires": [ [ - "5af9f0a0.9927a", - "f2be4fdd.b96a6" + "eba0e657.38a428", + "3108d1bf.8f1bfe" ] ] }, { - "id": "5af9f0a0.9927a", + "id": "eba0e657.38a428", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1042.0104084014893, - "y": 2036, - "z": "1ba0191f.c9b697", + "x": 1032.5, + "y": 2042, + "z": "50d68be7.8b2664", "wires": [ [ - "fa2bcff3.d9037" + "ed35703b.e3d53" ] ] }, { - "id": "fa2bcff3.d9037", + "id": "ed35703b.e3d53", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1227.0104084014893, - "y": 2034, - "z": "1ba0191f.c9b697", + "x": 1217.5, + "y": 2040, + "z": "50d68be7.8b2664", "wires": [ [ - "765bbd05.ed8054" + "cbc05b9a.dfdca8" ] ] }, { - "id": "765bbd05.ed8054", + "id": "cbc05b9a.dfdca8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n", "comments": "", "outputs": 1, - "x": 1429.0104084014893, - "y": 2029, - "z": "1ba0191f.c9b697", + "x": 1419.5, + "y": 2035, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "86d04e15.ba253", + "id": "2275c209.df7ffe", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1063.5104084014893, - "y": 1914, - "z": "1ba0191f.c9b697", + "x": 1054, + "y": 1920, + "z": "50d68be7.8b2664", "wires": [ [ - "452acb6b.fd5564" + "62153117.dfa37" ] ] }, { - "id": "452acb6b.fd5564", + "id": "62153117.dfa37", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1238.5104084014893, - "y": 1928, - "z": "1ba0191f.c9b697", + "x": 1229, + "y": 1934, + "z": "50d68be7.8b2664", "wires": [ [ - "17b423a9.85da4c" + "449a5e0a.b0801" ] ] }, { - "id": "17b423a9.85da4c", + "id": "449a5e0a.b0801", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n", "comments": "", "outputs": 1, - "x": 1426.5104084014893, - "y": 1930, - "z": "1ba0191f.c9b697", + "x": 1417, + "y": 1936, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "143da08e.32845f", + "id": "5368f4ec.7ba84c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1170.5104084014893, - "y": 1856, - "z": "1ba0191f.c9b697", + "x": 1161, + "y": 1862, + "z": "50d68be7.8b2664", "wires": [ [ - "e4a429ce.76b228" + "e6dd79e2.78d458" ] ] }, { - "id": "e4a429ce.76b228", + "id": "e6dd79e2.78d458", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1339.5102863311768, - "y": 1862, - "z": "1ba0191f.c9b697", + "x": 1329.9998779296875, + "y": 1868, + "z": "50d68be7.8b2664", "wires": [ [ - "39b7f393.224d4c" + "a071522b.e89a3" ] ] }, { - "id": "39b7f393.224d4c", + "id": "a071522b.e89a3", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1495.5100421905518, - "y": 1861, - "z": "1ba0191f.c9b697", + "x": 1485.9996337890625, + "y": 1867, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "389955cb.dd28ca", + "id": "5070522e.6844dc", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1084.5104084014893, - "y": 1985, - "z": "1ba0191f.c9b697", + "x": 1075, + "y": 1991, + "z": "50d68be7.8b2664", "wires": [ [ - "e0055fc2.77eca" + "243fe9a9.58e386" ] ] }, { - "id": "e0055fc2.77eca", + "id": "243fe9a9.58e386", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1252.5102863311768, - "y": 1980, - "z": "1ba0191f.c9b697", + "x": 1242.9998779296875, + "y": 1986, + "z": "50d68be7.8b2664", "wires": [ [ - "fc6d0a49.e66b58" + "ca575d7c.67624" ] ] }, { - "id": "fc6d0a49.e66b58", + "id": "ca575d7c.67624", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1410.5099811553955, - "y": 1983, - "z": "1ba0191f.c9b697", + "x": 1400.9995727539062, + "y": 1989, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "f2be4fdd.b96a6", + "id": "3108d1bf.8f1bfe", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1044.5104084014893, - "y": 2084, - "z": "1ba0191f.c9b697", + "x": 1035, + "y": 2090, + "z": "50d68be7.8b2664", "wires": [ [ - "8e774301.b98c4" + "24d4bdbf.f1c4f2" ] ] }, { - "id": "8e774301.b98c4", + "id": "24d4bdbf.f1c4f2", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1220.5102863311768, - "y": 2085, - "z": "1ba0191f.c9b697", + "x": 1210.9998779296875, + "y": 2091, + "z": "50d68be7.8b2664", "wires": [ [ - "b3a8e99f.100d18" + "3e4bd657.f1158a" ] ] }, { - "id": "b3a8e99f.100d18", + "id": "3e4bd657.f1158a", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1367.5099811553955, - "y": 2088, - "z": "1ba0191f.c9b697", + "x": 1357.9995727539062, + "y": 2094, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "1e2c6b21.cd17b5", + "id": "1f3b8a0c.2a9db6", "type": "block", "name": "DMAAP Payload Generation", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 614.5104084014893, - "y": 1951, - "z": "1ba0191f.c9b697", + "x": 605, + "y": 1957, + "z": "50d68be7.8b2664", "wires": [ [ - "273850f2.7f097", - "a5095542.4c6138", - "5da8895b.a671a8" + "958427a8.01e3e8", + "db4fcfac.9f61c", + "1b7d6b6a.a645e5" ] ] }, { - "id": "7bb49999.9148e8", + "id": "88919954.3b19c8", "type": "block", "name": "DMAAP Reponse Publish", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 578.5104064941406, - "y": 2212.9999556541443, - "z": "1ba0191f.c9b697", + "x": 568.9999980926514, + "y": 2218.9999556541443, + "z": "50d68be7.8b2664", "wires": [ [ - "c5a622e2.9d428", - "cf239555.a786d8", - "10b53a9e.0095c5" + "cdc92ad3.c5e8c8", + "2c913977.4a3276", + "b40657e3.2d4448" ] ] }, { - "id": "cf239555.a786d8", + "id": "2c913977.4a3276", "type": "execute", "name": "execute DmaapMsg", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", "comments": "", "outputs": 1, - "x": 850.5105056762695, - "y": 2324.999472618103, - "z": "1ba0191f.c9b697", + "x": 841.0000972747803, + "y": 2330.999472618103, + "z": "50d68be7.8b2664", "wires": [ [ - "665766da.3f50c8", - "5db4effd.2e3f5" + "17a131ee.db046e", + "203259f5.942d96" ] ] }, { - "id": "c5a622e2.9d428", + "id": "cdc92ad3.c5e8c8", "type": "set", "name": "set", "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>", "comments": "", - "x": 915.1771697998047, - "y": 2161.000005722046, - "z": "1ba0191f.c9b697", + "x": 905.6667613983154, + "y": 2167.000005722046, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "665766da.3f50c8", + "id": "17a131ee.db046e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1071.0104446411133, - "y": 2251.9167337417603, - "z": "1ba0191f.c9b697", + "x": 1061.500036239624, + "y": 2257.9167337417603, + "z": "50d68be7.8b2664", "wires": [ [ - "96a11689.71dfd8" + "ccf8f3f7.0a076" ] ] }, { - "id": "5db4effd.2e3f5", + "id": "203259f5.942d96", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1075.0103645324707, - "y": 2390.916576385498, - "z": "1ba0191f.c9b697", + "x": 1065.4999561309814, + "y": 2396.916576385498, + "z": "50d68be7.8b2664", "wires": [ [ - "e099506a.7e6b7" + "946b739c.173d5" ] ] }, { - "id": "96a11689.71dfd8", + "id": "ccf8f3f7.0a076", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1231.0102787017822, - "y": 2253.9167346954346, - "z": "1ba0191f.c9b697", + "x": 1221.499870300293, + "y": 2259.9167346954346, + "z": "50d68be7.8b2664", "wires": [ [ - "4317ae49.ec52b" + "954678f3.8402c8" ] ] }, { - "id": "4317ae49.ec52b", + "id": "954678f3.8402c8", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />", "comments": "", - "x": 1408.0100402832031, - "y": 2243.9167881011963, - "z": "1ba0191f.c9b697", + "x": 1398.4996318817139, + "y": 2249.9167881011963, + "z": "50d68be7.8b2664", "wires": [] }, { - "id": "e099506a.7e6b7", + "id": "946b739c.173d5", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1258.0100078582764, - "y": 2383.91668510437, - "z": "1ba0191f.c9b697", + "x": 1248.499599456787, + "y": 2389.91668510437, + "z": "50d68be7.8b2664", "wires": [ [ - "63b50581.139fac" + "d11da3a0.90335" ] ] }, { - "id": "63b50581.139fac", + "id": "d11da3a0.90335", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>", "comments": "", "outputs": 1, - "x": 1440.010124206543, - "y": 2368.916955947876, - "z": "1ba0191f.c9b697", + "x": 1430.4997158050537, + "y": 2374.916955947876, + "z": "50d68be7.8b2664", "wires": [ [] ] }, { - "id": "10b53a9e.0095c5", + "id": "b40657e3.2d4448", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n", "comments": "", "outputs": 1, - "x": 922.0104789733887, - "y": 2232.454870223999, - "z": "1ba0191f.c9b697", + "x": 912.5000705718994, + "y": 2238.454870223999, + "z": "50d68be7.8b2664", "wires": [ [] ] + }, + { + "id": "b0f7f9ac.278698", + "type": "set", + "name": "set properties for DMAAP header", + "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>", + "comments": "", + "x": 446, + "y": 338, + "z": "50d68be7.8b2664", + "wires": [] } ]
\ No newline at end of file diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json index 2aa5365c..210fee63 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json @@ -1,194 +1,195 @@ [ { - "id": "d0e2330e.dd019", + "id": "b0e84f67.bfca5", "type": "comment", "name": "Generic Neighbor Configuration", "info": "", "comments": "", - "x": 390.0104064941406, - "y": 36.010414123535156, - "z": "d6ec916.8139a7", + "x": 365, + "y": 42, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "5dfdcd01.84b604", + "id": "e224f980.9882f8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 631.0104522705078, - "y": 256.0209159851074, - "z": "d6ec916.8139a7", + "x": 632.0000610351562, + "y": 262.010498046875, + "z": "252a4e44.929a62", "wires": [ [ - "974d680f.76f648", - "ffd54ab.ffbd1b8", - "36063fad.1cea", - "6d746eb6.f750f", - "af6305e8.738f98", - "91adaea7.e39c", - "293691a3.763afe", - "9adcdf48.89f9a", - "c43ffb14.6b99d8", - "402887.5e785778", - "358802c3.47e34e" + "7f0907cf.082338", + "742660e3.0e5d4", + "402a9020.563bb", + "5b76bc17.f32ce4", + "7b4e78c0.a96468", + "2c50a619.a494ea", + "5ae0e50d.a4dc6c", + "d51d9d04.31b31", + "a46c5047.46087", + "10fb55a2.da074a", + "9b2edc01.f191f" ] ] }, { - "id": "cd37cc80.83b05", + "id": "7a6e2451.cb09ac", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 578.0105895996094, - "y": 414.01041412353516, - "z": "d6ec916.8139a7", + "x": 553.0001831054688, + "y": 420, + "z": "252a4e44.929a62", "wires": [ [ - "5dfdcd01.84b604" + "e224f980.9882f8" ] ] }, { - "id": "974d680f.76f648", + "id": "7f0907cf.082338", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n", "comments": "", - "x": 962.0115661621094, - "y": 58.899513244628906, - "z": "d6ec916.8139a7", + "x": 937.0011596679688, + "y": 64.88909912109375, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "ffd54ab.ffbd1b8", + "id": "742660e3.0e5d4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 826.5209140777588, - "y": 102.02084159851074, - "z": "d6ec916.8139a7", + "x": 801.5105075836182, + "y": 108.01042747497559, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "27b0597e.d8a2a6", + "id": "7b4990e1.529af", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 153.5, - "y": 293.00003814697266, - "z": "d6ec916.8139a7", + "x": 128.48959350585938, + "y": 298.9896240234375, + "z": "252a4e44.929a62", "wires": [ [ - "6abe663a.7efa98", - "68b7eea8.7de3b", - "9cda453e.0abf28", - "a5fd7aa3.7b58d8", - "46dea300.ac250c", - "1a0d310b.f6a53f", - "a3fe027d.820d4", - "2f1179a.0005886" + "e68f35dd.146c08", + "a6f2b267.e5311", + "138176a8.e62099", + "3f9b6f16.92476", + "2dbe6e04.1b04f2", + "f2bdeb66.05c1e8", + "2ae7e255.e92e0e", + "f6ddb1c4.e2257", + "bd6a5dc6.53e57" ] ] }, { - "id": "51fad8f4.1d8738", + "id": "73bbdcfa.349ac4", "type": "method", "name": "method", "xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 139.01040649414062, - "y": 193.99999237060547, - "z": "d6ec916.8139a7", + "x": 114, + "y": 199.9895782470703, + "z": "252a4e44.929a62", "wires": [ [ - "27b0597e.d8a2a6" + "7b4990e1.529af" ] ] }, { - "id": "6abe663a.7efa98", + "id": "e68f35dd.146c08", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", "comments": "", - "x": 144.01074600219727, - "y": 2854.000379562378, - "z": "d6ec916.8139a7", + "x": 119.00033950805664, + "y": 2859.989965438843, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "68b7eea8.7de3b", + "id": "a6f2b267.e5311", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n", "comments": "", "outputs": 1, - "x": 440.0107116699219, - "y": 93.02084350585938, - "z": "d6ec916.8139a7", + "x": 415.00030517578125, + "y": 99.01042938232422, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "9cda453e.0abf28", + "id": "138176a8.e62099", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 451.0960998535156, - "y": 139.96358489990234, - "z": "d6ec916.8139a7", + "x": 426.085693359375, + "y": 145.9531707763672, + "z": "252a4e44.929a62", "wires": [ [ - "a3004a52.319a18" + "9f14658a.014d08" ] ] }, { - "id": "a5fd7aa3.7b58d8", + "id": "3f9b6f16.92476", "type": "execute", "name": "execute Properties", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, - "x": 454.0105895996094, - "y": 198.02082061767578, - "z": "d6ec916.8139a7", + "x": 438.00018310546875, + "y": 194.01040649414062, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "46dea300.ac250c", + "id": "2dbe6e04.1b04f2", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>", "comments": "", "outputs": 1, - "x": 408.0107192993164, - "y": 268.0209140777588, - "z": "d6ec916.8139a7", + "x": 402.00030517578125, + "y": 236.010498046875, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "cd34e05c.615e2", + "id": "767a16c9.47c368", "type": "service-logic", "name": "oofpcipoc-api ${project.version}", "module": "oofpcipoc-api", @@ -196,1839 +197,1850 @@ "comments": "", "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='oofpcipoc-api' version='${project.version}'>", "outputs": 1, - "x": 195.01039123535156, - "y": 105.0000991821289, - "z": "d6ec916.8139a7", + "x": 169.99998474121094, + "y": 110.98968505859375, + "z": "252a4e44.929a62", "wires": [ [ - "51fad8f4.1d8738" + "73bbdcfa.349ac4" ] ] }, { - "id": "a3004a52.319a18", + "id": "9f14658a.014d08", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 616.0109558105469, - "y": 124.00004577636719, - "z": "d6ec916.8139a7", + "x": 591.0005493164062, + "y": 129.98963165283203, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "e06f1f1c.d6952", + "id": "5f1ad16d.8a92a", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 130.01040649414062, - "y": 43, - "z": "d6ec916.8139a7", + "x": 105, + "y": 48.989585876464844, + "z": "252a4e44.929a62", "wires": [ [ - "cd34e05c.615e2" + "767a16c9.47c368" ] ] }, { - "id": "402887.5e785778", + "id": "10fb55a2.da074a", "type": "execute", "name": "generate neighbor config URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 897.5212707519531, - "y": 146.5765609741211, - "z": "d6ec916.8139a7", + "x": 872.5108642578125, + "y": 152.56614685058594, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "36063fad.1cea", + "id": "402a9020.563bb", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>", "comments": "", "outputs": 1, - "x": 824.5209045410156, - "y": 199.79862213134766, - "z": "d6ec916.8139a7", + "x": 799.510498046875, + "y": 205.7882080078125, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "6d746eb6.f750f", + "id": "5b76bc17.f32ce4", "type": "execute", "name": "populate plmnid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>", "comments": "", "outputs": 1, - "x": 1026.521032333374, - "y": 211.7986364364624, - "z": "d6ec916.8139a7", + "x": 1001.5106258392334, + "y": 217.78822231292725, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "af6305e8.738f98", + "id": "7b4e78c0.a96468", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n", "comments": "", "outputs": 1, - "x": 894.5208854675293, - "y": 255.79861164093018, - "z": "d6ec916.8139a7", + "x": 869.5104789733887, + "y": 261.788197517395, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "91adaea7.e39c", + "id": "2c50a619.a494ea", "type": "execute", "name": "populate cid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 917.5209140777588, - "y": 300.79863452911377, - "z": "d6ec916.8139a7", + "x": 892.5105075836182, + "y": 306.7882204055786, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "9adcdf48.89f9a", + "id": "d51d9d04.31b31", "type": "execute", "name": "Configure neighbor using PATCH", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />", "comments": "", "outputs": 1, - "x": 949.5209045410156, - "y": 440.79874420166016, - "z": "d6ec916.8139a7", + "x": 924.510498046875, + "y": 446.788330078125, + "z": "252a4e44.929a62", "wires": [ [ - "22593c53.2e3704", - "61ad6fb2.eff45" + "42094d77.460ca4", + "ece3aaf8.017e88" ] ] }, { - "id": "22593c53.2e3704", + "id": "42094d77.460ca4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1210.5207920074463, - "y": 404.788197517395, - "z": "d6ec916.8139a7", + "x": 1185.5103855133057, + "y": 410.77778339385986, + "z": "252a4e44.929a62", "wires": [ [ - "c761c957.dedf48" + "4d5fe442.9a545c" ] ] }, { - "id": "61ad6fb2.eff45", + "id": "ece3aaf8.017e88", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1212.520736694336, - "y": 468.788028717041, - "z": "d6ec916.8139a7", + "x": 1187.5103302001953, + "y": 474.77761459350586, + "z": "252a4e44.929a62", "wires": [ [ - "ff97581a.3ffb78" + "186e8503.876f0b" ] ] }, { - "id": "932587a2.10c5b8", + "id": "75c28db6.dab864", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>", "comments": "", "outputs": 1, - "x": 1543.5205307006836, - "y": 464.7881164550781, - "z": "d6ec916.8139a7", + "x": 1518.510124206543, + "y": 470.77770233154297, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "ff97581a.3ffb78", + "id": "186e8503.876f0b", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1379.520580291748, - "y": 467.7881107330322, - "z": "d6ec916.8139a7", + "x": 1354.5101737976074, + "y": 473.77769660949707, + "z": "252a4e44.929a62", "wires": [ [ - "932587a2.10c5b8" + "75c28db6.dab864" ] ] }, { - "id": "c761c957.dedf48", + "id": "4d5fe442.9a545c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1369.5206546783447, - "y": 413.7881832122803, - "z": "d6ec916.8139a7", + "x": 1344.510248184204, + "y": 419.7777690887451, + "z": "252a4e44.929a62", "wires": [ [ - "3f189c10.9d0974" + "91c0b18a.5233d" ] ] }, { - "id": "3f189c10.9d0974", + "id": "91c0b18a.5233d", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />", "comments": "", - "x": 1545.5204181671143, - "y": 398.7881565093994, - "z": "d6ec916.8139a7", + "x": 1520.5100116729736, + "y": 404.77774238586426, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "293691a3.763afe", + "id": "5ae0e50d.a4dc6c", "type": "execute", "name": "Get neighbor details pre-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 947.5208435058594, - "y": 352.79862213134766, - "z": "d6ec916.8139a7", + "x": 922.5104370117188, + "y": 358.7882080078125, + "z": "252a4e44.929a62", "wires": [ [ - "b5029146.a42d5", - "a42c72d.e2d129" + "1a9049a4.4660f6", + "babfc7f5.e3d6f8" ] ] }, { - "id": "b5029146.a42d5", + "id": "1a9049a4.4660f6", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1215.5209045410156, - "y": 289.45466327667236, - "z": "d6ec916.8139a7", + "x": 1190.510498046875, + "y": 295.4442491531372, + "z": "252a4e44.929a62", "wires": [ [ - "700df0ce.ff7ea" + "61c1aef5.95942" ] ] }, { - "id": "a42c72d.e2d129", + "id": "babfc7f5.e3d6f8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1202.5207977294922, - "y": 353.4548110961914, - "z": "d6ec916.8139a7", + "x": 1177.5103912353516, + "y": 359.44439697265625, + "z": "252a4e44.929a62", "wires": [ [ - "291ffd2d.96c9c2" + "fd628eba.9d3f1" ] ] }, { - "id": "291ffd2d.96c9c2", + "id": "fd628eba.9d3f1", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1345.5205936431885, - "y": 350.4547266960144, - "z": "d6ec916.8139a7", + "x": 1320.5101871490479, + "y": 356.44431257247925, + "z": "252a4e44.929a62", "wires": [ [ - "3e25c03b.b3b17" + "e6d88742.250328" ] ] }, { - "id": "3e25c03b.b3b17", + "id": "e6d88742.250328", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1506.5205097198486, - "y": 344.4549970626831, - "z": "d6ec916.8139a7", + "x": 1481.510103225708, + "y": 350.44458293914795, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "700df0ce.ff7ea", + "id": "61c1aef5.95942", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1414.5207977294922, - "y": 279.45469093322754, - "z": "d6ec916.8139a7", + "x": 1389.5103912353516, + "y": 285.4442768096924, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "c43ffb14.6b99d8", + "id": "a46c5047.46087", "type": "execute", "name": "Get neighbor details post-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 905.5208435058594, - "y": 516.6874771118164, - "z": "d6ec916.8139a7", + "x": 880.5104370117188, + "y": 522.6770629882812, + "z": "252a4e44.929a62", "wires": [ [ - "e1ac38ab.5b2678", - "28d404f.3a94bfc" + "182595bb.f7ee4a", + "26bfad36.c5ae22" ] ] }, { - "id": "e1ac38ab.5b2678", + "id": "182595bb.f7ee4a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1240.5208435058594, - "y": 516.3435192108154, - "z": "d6ec916.8139a7", + "x": 1215.5104370117188, + "y": 522.3331050872803, + "z": "252a4e44.929a62", "wires": [ [ - "db457a19.686678" + "c2de4855.593ee8" ] ] }, { - "id": "28d404f.3a94bfc", + "id": "26bfad36.c5ae22", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1233.520736694336, - "y": 568.3437156677246, - "z": "d6ec916.8139a7", + "x": 1208.5103302001953, + "y": 574.3333015441895, + "z": "252a4e44.929a62", "wires": [ [ - "d569846c.bbb0a8" + "ceef9fe1.1c80b" ] ] }, { - "id": "d569846c.bbb0a8", + "id": "ceef9fe1.1c80b", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1402.5204963684082, - "y": 575.3436546325684, - "z": "d6ec916.8139a7", + "x": 1377.5100898742676, + "y": 581.3332405090332, + "z": "252a4e44.929a62", "wires": [ [ - "d8455bac.fb0098" + "aa26494c.850b58" ] ] }, { - "id": "db457a19.686678", + "id": "c2de4855.593ee8", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1413.5207977294922, - "y": 513.3435468673706, - "z": "d6ec916.8139a7", + "x": 1388.5103912353516, + "y": 519.3331327438354, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "d8455bac.fb0098", + "id": "aa26494c.850b58", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1549.5205307006836, - "y": 573.3438711166382, - "z": "d6ec916.8139a7", + "x": 1524.510124206543, + "y": 579.333456993103, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "4895fc97.e32324", + "id": "8aebb9c4.9c2d58", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 604.0103530883789, - "y": 1326.0104722976685, - "z": "d6ec916.8139a7", + "x": 578.9999465942383, + "y": 1332.0000581741333, + "z": "252a4e44.929a62", "wires": [ [ - "19788b57.90a7e5", - "385fcdb8.05b3d2", - "5628b9b0.c40b68", - "c3097a46.f42c48", - "367fb347.85f46c", - "b9a8089a.03ce48", - "fed6b7a1.a8d0a8", - "c614fa93.bff818", - "81cbcc37.957ee", - "b67a292f.048478", - "ef79f154.b96da", - "d0e25241.e0e23" + "d17b4a49.0377f8", + "62b6cd99.0b8964", + "228ec87c.7b30b8", + "a271ebfa.714168", + "34a4ad69.82f8c2", + "900f320e.2470c", + "d3287262.5d0d6", + "31829f2b.2121d", + "dbd04c8.1f2e4b", + "7df6d59c.f8208c", + "53f1a4f2.cd94cc", + "91a1e388.084d9" ] ] }, { - "id": "fab83ed4.d6eae", + "id": "7ffaf0be.ee25f", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 547.0105895996094, - "y": 506.99991607666016, - "z": "d6ec916.8139a7", + "x": 522.0001831054688, + "y": 512.989501953125, + "z": "252a4e44.929a62", "wires": [ [ - "4895fc97.e32324" + "8aebb9c4.9c2d58" ] ] }, { - "id": "19788b57.90a7e5", + "id": "d17b4a49.0377f8", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n", "comments": "", - "x": 937.0115871429443, - "y": 1009.889084815979, - "z": "d6ec916.8139a7", + "x": 912.0011806488037, + "y": 1015.8786706924438, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "385fcdb8.05b3d2", + "id": "62b6cd99.0b8964", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 807.5209102630615, - "y": 1086.0104522705078, - "z": "d6ec916.8139a7", + "x": 782.5105037689209, + "y": 1092.0000381469727, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "b67a292f.048478", + "id": "7df6d59c.f8208c", "type": "execute", "name": "generate neighbor config URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 900.5212306976318, - "y": 1147.5661392211914, - "z": "d6ec916.8139a7", + "x": 875.5108242034912, + "y": 1153.5557250976562, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "5628b9b0.c40b68", + "id": "228ec87c.7b30b8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>", "comments": "", "outputs": 1, - "x": 841.5208644866943, - "y": 1196.788185119629, - "z": "d6ec916.8139a7", + "x": 816.5104579925537, + "y": 1202.7777709960938, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "c3097a46.f42c48", + "id": "a271ebfa.714168", "type": "execute", "name": "populate plmnid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>", "comments": "", "outputs": 1, - "x": 905.5209865570068, - "y": 1292.788185119629, - "z": "d6ec916.8139a7", + "x": 880.5105800628662, + "y": 1298.7777709960938, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "367fb347.85f46c", + "id": "34a4ad69.82f8c2", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n", "comments": "", "outputs": 1, - "x": 880.5208644866943, - "y": 1340.788185119629, - "z": "d6ec916.8139a7", + "x": 855.5104579925537, + "y": 1346.7777709960938, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "b9a8089a.03ce48", + "id": "900f320e.2470c", "type": "execute", "name": "populate cid", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 889.5208644866943, - "y": 1377.788185119629, - "z": "d6ec916.8139a7", + "x": 864.5104579925537, + "y": 1383.7777709960938, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "c614fa93.bff818", + "id": "31829f2b.2121d", "type": "execute", "name": "Configure neighbor using PATCH", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />", "comments": "", "outputs": 1, - "x": 903.5208644866943, - "y": 1507.7883071899414, - "z": "d6ec916.8139a7", + "x": 878.5104579925537, + "y": 1513.7778930664062, + "z": "252a4e44.929a62", "wires": [ [ - "4c4f9668.9a6768", - "d03774b5.088378" + "e9803890.320ab8", + "19d2bb84.870d44" ] ] }, { - "id": "4c4f9668.9a6768", + "id": "e9803890.320ab8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1198.520751953125, - "y": 1514.7777605056763, - "z": "d6ec916.8139a7", + "x": 1173.5103454589844, + "y": 1520.767346382141, + "z": "252a4e44.929a62", "wires": [ [ - "a2cf7a8.1cb9388" + "d2c2fe00.15af4" ] ] }, { - "id": "d03774b5.088378", + "id": "19d2bb84.870d44", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1216.520793914795, - "y": 1582.7775869369507, - "z": "d6ec916.8139a7", + "x": 1191.5103874206543, + "y": 1588.7671728134155, + "z": "252a4e44.929a62", "wires": [ [ - "718f1a13.9fb2a4" + "d28bc469.f5aa28" ] ] }, { - "id": "a830f268.e88c7", + "id": "ffbd161f.e01d28", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>", "comments": "", "outputs": 1, - "x": 1554.5205459594727, - "y": 1569.7776951789856, - "z": "d6ec916.8139a7", + "x": 1529.510139465332, + "y": 1575.7672810554504, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "718f1a13.9fb2a4", + "id": "d28bc469.f5aa28", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1396.5204582214355, - "y": 1580.7776679992676, - "z": "d6ec916.8139a7", + "x": 1371.510051727295, + "y": 1586.7672538757324, + "z": "252a4e44.929a62", "wires": [ [ - "a830f268.e88c7" + "ffbd161f.e01d28" ] ] }, { - "id": "a2cf7a8.1cb9388", + "id": "d2c2fe00.15af4", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1357.5206146240234, - "y": 1523.7777462005615, - "z": "d6ec916.8139a7", + "x": 1332.5102081298828, + "y": 1529.7673320770264, + "z": "252a4e44.929a62", "wires": [ [ - "242984bf.f0802c" + "30f2e462.46c8dc" ] ] }, { - "id": "242984bf.f0802c", + "id": "30f2e462.46c8dc", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />", "comments": "", - "x": 1533.520378112793, - "y": 1508.7777194976807, - "z": "d6ec916.8139a7", + "x": 1508.5099716186523, + "y": 1514.7673053741455, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "fed6b7a1.a8d0a8", + "id": "d3287262.5d0d6", "type": "execute", "name": "Get neighbor details pre-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 913.5208034515381, - "y": 1422.788185119629, - "z": "d6ec916.8139a7", + "x": 888.5103969573975, + "y": 1428.7777709960938, + "z": "252a4e44.929a62", "wires": [ [ - "efb6986a.a3d5c8", - "ede271f9.16cb" + "f0a75827.0ad898", + "1be65a71.b6dd36" ] ] }, { - "id": "efb6986a.a3d5c8", + "id": "f0a75827.0ad898", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1186.5209045410156, - "y": 1395.4442310333252, - "z": "d6ec916.8139a7", + "x": 1161.510498046875, + "y": 1401.43381690979, + "z": "252a4e44.929a62", "wires": [ [ - "d1dfa9a6.c787b8" + "2355719e.d606ce" ] ] }, { - "id": "ede271f9.16cb", + "id": "1be65a71.b6dd36", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1181.520736694336, - "y": 1451.4443845748901, - "z": "d6ec916.8139a7", + "x": 1156.5103302001953, + "y": 1457.433970451355, + "z": "252a4e44.929a62", "wires": [ [ - "490c9697.67ef88" + "a0d79e97.8cfb2" ] ] }, { - "id": "490c9697.67ef88", + "id": "a0d79e97.8cfb2", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1333.5205535888672, - "y": 1460.4442896842957, - "z": "d6ec916.8139a7", + "x": 1308.5101470947266, + "y": 1466.4338755607605, + "z": "252a4e44.929a62", "wires": [ [ - "4b9f8ddf.96d214" + "4d7e37ed.51df38" ] ] }, { - "id": "4b9f8ddf.96d214", + "id": "4d7e37ed.51df38", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1494.5204696655273, - "y": 1454.4445600509644, - "z": "d6ec916.8139a7", + "x": 1469.5100631713867, + "y": 1460.4341459274292, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "d1dfa9a6.c787b8", + "id": "2355719e.d606ce", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1387.520694732666, - "y": 1401.444239616394, - "z": "d6ec916.8139a7", + "x": 1362.5102882385254, + "y": 1407.433825492859, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "81cbcc37.957ee", + "id": "dbd04c8.1f2e4b", "type": "execute", "name": "Get neighbor details post-configuration", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n", "comments": "", "outputs": 1, - "x": 869.5208034515381, - "y": 1621.677101135254, - "z": "d6ec916.8139a7", + "x": 844.5103969573975, + "y": 1627.6666870117188, + "z": "252a4e44.929a62", "wires": [ [ - "8381427b.3a415", - "4a867416.bc28ac" + "4d125e.4a93cda4", + "bb46ef6d.b2b72" ] ] }, { - "id": "8381427b.3a415", + "id": "4d125e.4a93cda4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1226.5209045410156, - "y": 1633.333086013794, - "z": "d6ec916.8139a7", + "x": 1201.510498046875, + "y": 1639.3226718902588, + "z": "252a4e44.929a62", "wires": [ [ - "71c70e29.c9f39" + "939a85c1.7d4528" ] ] }, { - "id": "4a867416.bc28ac", + "id": "bb46ef6d.b2b72", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1221.520736694336, - "y": 1689.333239555359, - "z": "d6ec916.8139a7", + "x": 1196.5103302001953, + "y": 1695.3228254318237, + "z": "252a4e44.929a62", "wires": [ [ - "2fdc95ce.87b1ca" + "90a83ca2.24d34" ] ] }, { - "id": "2fdc95ce.87b1ca", + "id": "90a83ca2.24d34", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1373.5205535888672, - "y": 1698.3331446647644, - "z": "d6ec916.8139a7", + "x": 1348.5101470947266, + "y": 1704.3227305412292, + "z": "252a4e44.929a62", "wires": [ [ - "50e2721e.a2ab5c" + "9c430d3f.4728b" ] ] }, { - "id": "71c70e29.c9f39", + "id": "939a85c1.7d4528", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />", "comments": "", - "x": 1427.520694732666, - "y": 1639.3330945968628, - "z": "d6ec916.8139a7", + "x": 1402.5102882385254, + "y": 1645.3226804733276, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "50e2721e.a2ab5c", + "id": "9c430d3f.4728b", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>", "comments": "", "outputs": 1, - "x": 1534.5204620361328, - "y": 1691.3333892822266, - "z": "d6ec916.8139a7", + "x": 1509.5100555419922, + "y": 1697.3229751586914, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "cf6755dc.b50b78", + "id": "dc02f9a7.daea28", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 454.0104064941406, - "y": 333.01041412353516, - "z": "d6ec916.8139a7", + "x": 429, + "y": 339, + "z": "252a4e44.929a62", "wires": [ [ - "cd37cc80.83b05" + "7a6e2451.cb09ac" ] ] }, { - "id": "1a0d310b.f6a53f", + "id": "f2bdeb66.05c1e8", "type": "switchNode", "name": "switch mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 352.0104064941406, - "y": 422.01041412353516, - "z": "d6ec916.8139a7", + "x": 327, + "y": 428, + "z": "252a4e44.929a62", "wires": [ [ - "cf6755dc.b50b78", - "5f209115.361e5" + "dc02f9a7.daea28", + "d85c99ed.eedbf8" ] ] }, { - "id": "5f209115.361e5", + "id": "d85c99ed.eedbf8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 385.0104064941406, - "y": 500.01041412353516, - "z": "d6ec916.8139a7", + "x": 360, + "y": 506, + "z": "252a4e44.929a62", "wires": [ [ - "fab83ed4.d6eae" + "7ffaf0be.ee25f" ] ] }, { - "id": "ef79f154.b96da", + "id": "53f1a4f2.cd94cc", "type": "execute", "name": "populate netconf mount", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 910.0103664398193, - "y": 1248.0104751586914, - "z": "d6ec916.8139a7", + "x": 884.9999599456787, + "y": 1254.0000610351562, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "3c0d7f19.6c811", + "id": "a684245a.ac34d8", "type": "execute", "name": "execute TemplateNode", "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />", "comments": "", "outputs": 1, - "x": 899.020866394043, - "y": 2134.465440273285, - "z": "d6ec916.8139a7", + "x": 874.0104598999023, + "y": 2140.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "b2a6c2c3.f1a3b", - "294194dd.c5fd5c" + "15052fc1.cca6c", + "6ccf93e6.8f7a4c" ] ] }, { - "id": "b2a6c2c3.f1a3b", + "id": "15052fc1.cca6c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1173.020866394043, - "y": 2103.465440273285, - "z": "d6ec916.8139a7", + "x": 1148.0104598999023, + "y": 2109.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "8238e819.a3ec88" + "3551690e.6b2536" ] ] }, { - "id": "8238e819.a3ec88", + "id": "3551690e.6b2536", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1364.020866394043, - "y": 2106.465440273285, - "z": "d6ec916.8139a7", + "x": 1339.0104598999023, + "y": 2112.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "89f27573.4e9d08" + "d6d5afed.2d1c5" ] ] }, { - "id": "89f27573.4e9d08", + "id": "d6d5afed.2d1c5", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />", "comments": "", "outputs": 1, - "x": 1532.020866394043, - "y": 2107.465440273285, - "z": "d6ec916.8139a7", + "x": 1507.0104598999023, + "y": 2113.4550261497498, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "2d15e84e.91cbd8", + "id": "55bd856d.1ca76c", "type": "execute", "name": "remove new lines", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n", "comments": "", "outputs": 1, - "x": 871.520866394043, - "y": 2250.465440273285, - "z": "d6ec916.8139a7", + "x": 846.5104598999023, + "y": 2256.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "5debb003.5b86d", - "f677a278.2fa7" + "3480a140.d8695e", + "630b1a6e.1c5ca4" ] ] }, { - "id": "e8161499.fba198", + "id": "fed718fb.801098", "type": "execute", "name": "remove tabs", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n", "comments": "", "outputs": 1, - "x": 861.020866394043, - "y": 2332.465440273285, - "z": "d6ec916.8139a7", + "x": 836.0104598999023, + "y": 2338.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "17433612.64f8ea", - "2d401fc.38631e" + "41afadd6.491be4", + "2950c15f.a9573e" ] ] }, { - "id": "17433612.64f8ea", + "id": "41afadd6.491be4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1043.520866394043, - "y": 2340.465440273285, - "z": "d6ec916.8139a7", + "x": 1018.5104598999023, + "y": 2346.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "8233dba4.2a6c08" + "7784e992.808138" ] ] }, { - "id": "8233dba4.2a6c08", + "id": "7784e992.808138", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1228.520866394043, - "y": 2338.465440273285, - "z": "d6ec916.8139a7", + "x": 1203.5104598999023, + "y": 2344.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "de84fc8b.e06b5" + "e30277aa.6f4f48" ] ] }, { - "id": "de84fc8b.e06b5", + "id": "e30277aa.6f4f48", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n", "comments": "", "outputs": 1, - "x": 1430.520866394043, - "y": 2333.465440273285, - "z": "d6ec916.8139a7", + "x": 1405.5104598999023, + "y": 2339.4550261497498, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "5debb003.5b86d", + "id": "3480a140.d8695e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1065.020866394043, - "y": 2218.465440273285, - "z": "d6ec916.8139a7", + "x": 1040.0104598999023, + "y": 2224.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "9d89b03e.2ff07" + "67a37d60.dbdd04" ] ] }, { - "id": "9d89b03e.2ff07", + "id": "67a37d60.dbdd04", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1240.020866394043, - "y": 2232.465440273285, - "z": "d6ec916.8139a7", + "x": 1215.0104598999023, + "y": 2238.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "dabf9835.e13098" + "f9928555.694f68" ] ] }, { - "id": "dabf9835.e13098", + "id": "f9928555.694f68", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n", "comments": "", "outputs": 1, - "x": 1428.020866394043, - "y": 2234.465440273285, - "z": "d6ec916.8139a7", + "x": 1403.0104598999023, + "y": 2240.4550261497498, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "294194dd.c5fd5c", + "id": "6ccf93e6.8f7a4c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1172.020866394043, - "y": 2160.465440273285, - "z": "d6ec916.8139a7", + "x": 1147.0104598999023, + "y": 2166.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "53c27ee.7f69b8" + "c443b33.268a25" ] ] }, { - "id": "53c27ee.7f69b8", + "id": "c443b33.268a25", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1341.0207443237305, - "y": 2166.465440273285, - "z": "d6ec916.8139a7", + "x": 1316.0103378295898, + "y": 2172.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "cf58efc6.7b3ca" + "59f0b873.9c5108" ] ] }, { - "id": "cf58efc6.7b3ca", + "id": "59f0b873.9c5108", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1497.0205001831055, - "y": 2165.465440273285, - "z": "d6ec916.8139a7", + "x": 1472.0100936889648, + "y": 2171.4550261497498, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "f677a278.2fa7", + "id": "630b1a6e.1c5ca4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1086.020866394043, - "y": 2289.465440273285, - "z": "d6ec916.8139a7", + "x": 1061.0104598999023, + "y": 2295.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "d2d6e5d8.209298" + "f2d69190.67874" ] ] }, { - "id": "d2d6e5d8.209298", + "id": "f2d69190.67874", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1254.0207443237305, - "y": 2284.465440273285, - "z": "d6ec916.8139a7", + "x": 1229.0103378295898, + "y": 2290.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "2d9f0013.4f0cb" + "74ef47ca.f01a78" ] ] }, { - "id": "2d9f0013.4f0cb", + "id": "74ef47ca.f01a78", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1412.0204391479492, - "y": 2287.465440273285, - "z": "d6ec916.8139a7", + "x": 1387.0100326538086, + "y": 2293.4550261497498, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "2d401fc.38631e", + "id": "2950c15f.a9573e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1046.020866394043, - "y": 2388.465440273285, - "z": "d6ec916.8139a7", + "x": 1021.0104598999023, + "y": 2394.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "bda74b26.1b1388" + "3e3b30c7.caf5d" ] ] }, { - "id": "bda74b26.1b1388", + "id": "3e3b30c7.caf5d", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1222.0207443237305, - "y": 2389.465440273285, - "z": "d6ec916.8139a7", + "x": 1197.0103378295898, + "y": 2395.4550261497498, + "z": "252a4e44.929a62", "wires": [ [ - "d56e28d4.650d08" + "3e56d853.3bee08" ] ] }, { - "id": "d56e28d4.650d08", + "id": "3e56d853.3bee08", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />", "comments": "", - "x": 1369.0204391479492, - "y": 2392.465440273285, - "z": "d6ec916.8139a7", + "x": 1344.0100326538086, + "y": 2398.4550261497498, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "a3fe027d.820d4", + "id": "2ae7e255.e92e0e", "type": "block", "name": "DMAAP Payload Generation", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 603.020881652832, - "y": 2252.4655385017395, - "z": "d6ec916.8139a7", + "x": 578.0104751586914, + "y": 2258.4551243782043, + "z": "252a4e44.929a62", "wires": [ [ - "3c0d7f19.6c811", - "2d15e84e.91cbd8", - "e8161499.fba198" + "a684245a.ac34d8", + "55bd856d.1ca76c", + "fed718fb.801098" ] ] }, { - "id": "2f1179a.0005886", + "id": "f6ddb1c4.e2257", "type": "block", "name": "DMAAP Reponse Publish", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 465.0208511352539, - "y": 2600.3542304039, - "z": "d6ec916.8139a7", + "x": 440.0104446411133, + "y": 2606.343816280365, + "z": "252a4e44.929a62", "wires": [ [ - "b22d0788.83a868", - "74c6c1ac.1e42d" + "3f35cc94.a49f84", + "8019acb8.c7086" ] ] }, { - "id": "74c6c1ac.1e42d", + "id": "8019acb8.c7086", "type": "execute", "name": "execute DmaapMsg", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", "comments": "", "outputs": 1, - "x": 880.0209274291992, - "y": 2662.4654574394226, - "z": "d6ec916.8139a7", + "x": 855.0105209350586, + "y": 2668.4550433158875, + "z": "252a4e44.929a62", "wires": [ [ - "66967541.9509fc", - "19014f9c.5bacd" + "33c7111a.a2963e", + "14e94231.224a4e" ] ] }, { - "id": "b22d0788.83a868", + "id": "3f35cc94.a49f84", "type": "set", "name": "set", "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>", "comments": "", - "x": 866.6876258850098, - "y": 2558.4654479026794, - "z": "d6ec916.8139a7", + "x": 841.6772193908691, + "y": 2564.4550337791443, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "66967541.9509fc", + "id": "33c7111a.a2963e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1054.5209045410156, - "y": 2596.3821749687195, - "z": "d6ec916.8139a7", + "x": 1029.510498046875, + "y": 2602.3717608451843, + "z": "252a4e44.929a62", "wires": [ [ - "5277ae5c.6edee" + "94a3b167.874" ] ] }, { - "id": "19014f9c.5bacd", + "id": "14e94231.224a4e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1077.5207595825195, - "y": 2725.382281780243, - "z": "d6ec916.8139a7", + "x": 1052.510353088379, + "y": 2731.3718676567078, + "z": "252a4e44.929a62", "wires": [ [ - "3817a66f.511b9a" + "b252cdf3.20703" ] ] }, { - "id": "5277ae5c.6edee", + "id": "94a3b167.874", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1235.5206756591797, - "y": 2599.3823046684265, - "z": "d6ec916.8139a7", + "x": 1210.510269165039, + "y": 2605.3718905448914, + "z": "252a4e44.929a62", "wires": [ [ - "5d24962d.477fe8" + "df9838bf.c57f98" ] ] }, { - "id": "5d24962d.477fe8", + "id": "df9838bf.c57f98", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />", "comments": "", - "x": 1409.520393371582, - "y": 2606.3822298049927, - "z": "d6ec916.8139a7", + "x": 1384.5099868774414, + "y": 2612.3718156814575, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "3817a66f.511b9a", + "id": "b252cdf3.20703", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1237.5204048156738, - "y": 2717.3822541236877, - "z": "d6ec916.8139a7", + "x": 1212.5099983215332, + "y": 2723.3718400001526, + "z": "252a4e44.929a62", "wires": [ [ - "2e47c897.bb4cb8" + "d4a05173.00859" ] ] }, { - "id": "2e47c897.bb4cb8", + "id": "d4a05173.00859", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>", "comments": "", "outputs": 1, - "x": 1414.520523071289, - "y": 2722.38236284256, - "z": "d6ec916.8139a7", + "x": 1389.5101165771484, + "y": 2728.3719487190247, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "f89579dd.91a288", + "id": "a3e4a58a.882fd8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 918.0208435058594, - "y": 852.3541641235352, - "z": "d6ec916.8139a7", + "x": 893.0104370117188, + "y": 858.34375, + "z": "252a4e44.929a62", "wires": [ [ - "e2e4a468.8a1838", - "89dd4b27.cf59d8", - "67336a18.ae2e64", - "68bfb6e.dac1e48" + "82201feb.47811", + "a6151b0f.fd4e38", + "a9fa611b.f4f53", + "f8b28cfb.9ca18" ] ] }, { - "id": "e2e4a468.8a1838", + "id": "82201feb.47811", "type": "execute", "name": "generate configdb nbr ho patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 1200.020767211914, - "y": 705.3542108535767, - "z": "d6ec916.8139a7", + "x": 1175.0103607177734, + "y": 711.3437967300415, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "89dd4b27.cf59d8", + "id": "a6151b0f.fd4e38", "type": "record", "name": "record configdb RestAPI parms", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 1209.0208587646484, - "y": 818.3542070388794, - "z": "d6ec916.8139a7", + "x": 1184.0104522705078, + "y": 824.3437929153442, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "67336a18.ae2e64", + "id": "a9fa611b.f4f53", "type": "execute", "name": "Configure PCI value in configdb", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n", "comments": "", "outputs": 1, - "x": 1176.0208435058594, - "y": 923.3541641235352, - "z": "d6ec916.8139a7", + "x": 1151.0104370117188, + "y": 929.34375, + "z": "252a4e44.929a62", "wires": [ [ - "ef644403.24c058", - "fdf802eb.60d9c" + "f52685f5.9ec9e8", + "1e33abb.7dfcc54" ] ] }, { - "id": "ef644403.24c058", + "id": "f52685f5.9ec9e8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1391.0208435058594, - "y": 866.3541641235352, - "z": "d6ec916.8139a7", + "x": 1366.0104370117188, + "y": 872.34375, + "z": "252a4e44.929a62", "wires": [ [ - "8b811332.af384" + "7a88211d.21404" ] ] }, { - "id": "fdf802eb.60d9c", + "id": "1e33abb.7dfcc54", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1391.0207214355469, - "y": 962.3540420532227, - "z": "d6ec916.8139a7", + "x": 1366.0103149414062, + "y": 968.3436279296875, + "z": "252a4e44.929a62", "wires": [ [ - "e176cd2e.3e59" + "cdb5356d.ee7188" ] ] }, { - "id": "8b811332.af384", + "id": "7a88211d.21404", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1560.0207214355469, - "y": 877.3541641235352, - "z": "d6ec916.8139a7", + "x": 1535.0103149414062, + "y": 883.34375, + "z": "252a4e44.929a62", "wires": [ [ - "476e5e5b.ebfba" + "3afbe91c.525196" ] ] }, { - "id": "e176cd2e.3e59", + "id": "cdb5356d.ee7188", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1553.0204772949219, - "y": 963.3541641235352, - "z": "d6ec916.8139a7", + "x": 1528.0100708007812, + "y": 969.34375, + "z": "252a4e44.929a62", "wires": [ [ - "13d8c36c.6c2d3d" + "a11318ad.1a6bc8" ] ] }, { - "id": "476e5e5b.ebfba", + "id": "3afbe91c.525196", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />", "comments": "", - "x": 1714.0204162597656, - "y": 870.3541641235352, - "z": "d6ec916.8139a7", + "x": 1689.010009765625, + "y": 876.34375, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "13d8c36c.6c2d3d", + "id": "a11318ad.1a6bc8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 1708.0206756591797, - "y": 960.354172706604, - "z": "d6ec916.8139a7", + "x": 1683.010269165039, + "y": 966.3437585830688, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "358802c3.47e34e", + "id": "9b2edc01.f191f", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 801.0208587646484, - "y": 646.3541851043701, - "z": "d6ec916.8139a7", + "x": 776.0104522705078, + "y": 652.343770980835, + "z": "252a4e44.929a62", "wires": [ [ - "85f30747.c1b888", - "2d20c343.20b36c" + "1e56b849.b86cf8", + "ae371307.929fb" ] ] }, { - "id": "85f30747.c1b888", + "id": "1e56b849.b86cf8", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 843.0208435058594, - "y": 776.3541641235352, - "z": "d6ec916.8139a7", + "x": 818.0104370117188, + "y": 782.34375, + "z": "252a4e44.929a62", "wires": [ [ - "f89579dd.91a288" + "a3e4a58a.882fd8" ] ] }, { - "id": "68bfb6e.dac1e48", + "id": "f8b28cfb.9ca18", "type": "execute", "name": "Update target cellid for configdb nbr ho patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 1268.0207977294922, - "y": 757.46537733078, - "z": "d6ec916.8139a7", + "x": 1243.0103912353516, + "y": 763.4549632072449, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "8a8d9414.5fc568", + "id": "d525e267.ae255", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>", "comments": "", "outputs": 1, - "x": 1240.0207710266113, - "y": 632.5763521194458, - "z": "d6ec916.8139a7", + "x": 1215.0103645324707, + "y": 638.5659379959106, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "2d20c343.20b36c", + "id": "ae371307.929fb", "type": "outcome", "name": "Not Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1066.020736694336, - "y": 628.687421798706, - "z": "d6ec916.8139a7", + "x": 1041.0103302001953, + "y": 634.6770076751709, + "z": "252a4e44.929a62", "wires": [ [ - "8a8d9414.5fc568" + "d525e267.ae255" ] ] }, { - "id": "94a1fc66.854fd", + "id": "11c3d0d6.90744f", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 907.0208435058594, - "y": 1930.5764541625977, - "z": "d6ec916.8139a7", + "x": 882.0104370117188, + "y": 1936.5660400390625, + "z": "252a4e44.929a62", "wires": [ [ - "dd73feca.07c61", - "37207b6c.909104", - "b87cd468.06cb68", - "ab8ee4d1.6884d8" + "8655da73.bc36d8", + "382e3360.38b5ec", + "d9ac0eb4.66ffe", + "5df7b8fb.71a428" ] ] }, { - "id": "dd73feca.07c61", + "id": "8655da73.bc36d8", "type": "execute", "name": "generate configdb nbr ho patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", "comments": "", "outputs": 1, - "x": 1234.0207824707031, - "y": 1791.5764608383179, - "z": "d6ec916.8139a7", + "x": 1209.0103759765625, + "y": 1797.5660467147827, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "37207b6c.909104", + "id": "382e3360.38b5ec", "type": "execute", "name": "Configure Nbr HO value in configdb", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n", "comments": "", "outputs": 1, - "x": 1165.0208435058594, - "y": 2001.5764541625977, - "z": "d6ec916.8139a7", + "x": 1140.0104370117188, + "y": 2007.5660400390625, + "z": "252a4e44.929a62", "wires": [ [ - "1813ece8.963fa3", - "183b086e.f8d5e8" + "5e7d03c0.aeeeac", + "40e48c4e.2e3b44" ] ] }, { - "id": "1813ece8.963fa3", + "id": "5e7d03c0.aeeeac", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1380.0208435058594, - "y": 1944.5764541625977, - "z": "d6ec916.8139a7", + "x": 1355.0104370117188, + "y": 1950.5660400390625, + "z": "252a4e44.929a62", "wires": [ [ - "6a8582d5.f0470c" + "9814df0d.82aad" ] ] }, { - "id": "183b086e.f8d5e8", + "id": "40e48c4e.2e3b44", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1380.0207214355469, - "y": 2040.5763320922852, - "z": "d6ec916.8139a7", + "x": 1355.0103149414062, + "y": 2046.56591796875, + "z": "252a4e44.929a62", "wires": [ [ - "6f48523c.7e7b2c" + "72b3f355.14e49c" ] ] }, { - "id": "6a8582d5.f0470c", + "id": "9814df0d.82aad", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1549.0207214355469, - "y": 1955.5764541625977, - "z": "d6ec916.8139a7", + "x": 1524.0103149414062, + "y": 1961.5660400390625, + "z": "252a4e44.929a62", "wires": [ [ - "9bd49b3c.96bdb8" + "4c3f314d.e4918" ] ] }, { - "id": "6f48523c.7e7b2c", + "id": "72b3f355.14e49c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1542.0204772949219, - "y": 2041.5764541625977, - "z": "d6ec916.8139a7", + "x": 1517.0100708007812, + "y": 2047.5660400390625, + "z": "252a4e44.929a62", "wires": [ [ - "6bee533f.79d24c" + "1e520c42.9f5004" ] ] }, { - "id": "9bd49b3c.96bdb8", + "id": "4c3f314d.e4918", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />", "comments": "", - "x": 1703.0204162597656, - "y": 1948.5764541625977, - "z": "d6ec916.8139a7", + "x": 1678.010009765625, + "y": 1954.5660400390625, + "z": "252a4e44.929a62", "wires": [] }, { - "id": "6bee533f.79d24c", + "id": "1e520c42.9f5004", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 1697.0206756591797, - "y": 2038.5764627456665, - "z": "d6ec916.8139a7", + "x": 1672.010269165039, + "y": 2044.5660486221313, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "d0e25241.e0e23", + "id": "91a1e388.084d9", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 723.0211181640625, - "y": 1743.5765342712402, - "z": "d6ec916.8139a7", + "x": 698.0107116699219, + "y": 1749.566120147705, + "z": "252a4e44.929a62", "wires": [ [ - "5b4167c1.3f34a8", - "dd0ef7.efed5108" + "92f1f43a.71c648", + "3956df3.7497e2" ] ] }, { - "id": "5b4167c1.3f34a8", + "id": "92f1f43a.71c648", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 927.0208969116211, - "y": 1828.5764911174774, - "z": "d6ec916.8139a7", + "x": 902.0104904174805, + "y": 1834.5660769939423, + "z": "252a4e44.929a62", "wires": [ [ - "94a1fc66.854fd" + "11c3d0d6.90744f" ] ] }, { - "id": "b87cd468.06cb68", + "id": "d9ac0eb4.66ffe", "type": "execute", "name": "Update target cellid for configdb nbr ho patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 1285.0207824707031, - "y": 1844.6877369880676, - "z": "d6ec916.8139a7", + "x": 1260.0103759765625, + "y": 1850.6773228645325, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "c3d98242.04a72", + "id": "230508b3.4de498", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>", "comments": "", "outputs": 1, - "x": 1218.0208644866943, - "y": 1741.798599243164, - "z": "d6ec916.8139a7", + "x": 1193.0104579925537, + "y": 1747.788185119629, + "z": "252a4e44.929a62", "wires": [ [] ] }, { - "id": "dd0ef7.efed5108", + "id": "3956df3.7497e2", "type": "outcome", "name": "Not Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1039.0207901000977, - "y": 1728.9098176956177, - "z": "d6ec916.8139a7", + "x": 1014.010383605957, + "y": 1734.8994035720825, + "z": "252a4e44.929a62", "wires": [ [ - "c3d98242.04a72" + "230508b3.4de498" ] ] }, { - "id": "ab8ee4d1.6884d8", + "id": "5df7b8fb.71a428", "type": "record", "name": "record configdb RestAPI parms", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 1230.5763397216797, - "y": 1901.354133605957, - "z": "d6ec916.8139a7", + "x": 1205.565933227539, + "y": 1907.3437194824219, + "z": "252a4e44.929a62", "wires": [ [] ] + }, + { + "id": "bd6a5dc6.53e57", + "type": "set", + "name": "set properties for DMAAP header", + "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>", + "comments": "", + "x": 399, + "y": 300, + "z": "252a4e44.929a62", + "wires": [] } ]
\ No newline at end of file diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml index bf5c4710..6c59d5f7 100644 --- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml +++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml @@ -36,6 +36,11 @@ <parameter name="field6" value="ransim-mounted (true/false): "/> <parameter name="field7" value="`$prop.ransim-mounted`"/> </record> + <set> + <parameter name="prop.oofpcipoc-dmaap-config-resp.timestamp" value="`$configuration-phy-cell-id-input.timeStamp`"/> + <parameter name="prop.oofpcipoc-dmaap-config-resp.requestID" value="`$configuration-phy-cell-id-input.requestID`"/> + <parameter name="prop.oofpcipoc-dmaap-config-resp.subrequestID" value="`$configuration-phy-cell-id-input.subRequestID`"/> + </set> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> <for index='idx' start='0' end="`$configuration-phy-cell-id-input.fap-service-number-of-entries`" > diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml index 305b97ae..f9724765 100644 --- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml +++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml @@ -35,6 +35,11 @@ <parameter name="field4" value="`$prop.controller.pwd`"/> <parameter name="field5" value="`$prop.controller.url`"/> </record> + <set> + <parameter name="prop.oofpcipoc-dmaap-config-resp.timestamp" value="`$generic-neighbor-configuration-input.timeStamp`"/> + <parameter name="prop.oofpcipoc-dmaap-config-resp.requestID" value="`$generic-neighbor-configuration-input.requestID`"/> + <parameter name="prop.oofpcipoc-dmaap-config-resp.subrequestID" value="`$generic-neighbor-configuration-input.subRequestID`"/> + </set> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> <for index='idx' start='0' end="`$generic-neighbor-configuration-input.lte-cell-number-of-entries`" > @@ -27,7 +27,6 @@ <module>dgbuilder-docker</module> <module>ansible-server</module> <module>saltstack-server</module> - <module>sliboot</module> </modules> <properties> diff --git a/sliboot/pom.xml b/sliboot/pom.xml deleted file mode 100644 index 7e0d73f7..00000000 --- a/sliboot/pom.xml +++ /dev/null @@ -1,235 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<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.ccsdk.parent</groupId> - <artifactId>spring-boot-starter-parent</artifactId> - <version>2.0.0-SNAPSHOT</version> - <relativePath/> - </parent> - - <groupId>org.onap.ccsdk.distribution</groupId> - <artifactId>distribution-sliboot</artifactId> - <version>1.0.0-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>ccsdk-distribution :: sliboot</name> - <description>Creates Springboot-based Docker container</description> - <organization> - <name>ONAP</name> - </organization> - - <properties> - <base.image.name>onap/ccsdk-alpine-image</base.image.name> - <image.name>onap/ccsdk-sliboot-alpine-image</image.name> - <ccsdk.project.version>${project.version}</ccsdk.project.version> - <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> - <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy> - <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> - <docker.push.phase>deploy</docker.push.phase> - <docker.verbose>true</docker.verbose> - - <ccsdk.sli.core.version>1.0.0-SNAPSHOT</ccsdk.sli.core.version> - <ccsdk.sliboot.jar>sliapi-springboot-${ccsdk.sli.core.version}.jar</ccsdk.sliboot.jar> - </properties> - - <dependencies> - <dependency> - <groupId>org.onap.ccsdk.sli.core</groupId> - <artifactId>sliapi-springboot</artifactId> - <version>${ccsdk.sli.core.version}</version> - </dependency> - </dependencies> - - <build> - - <plugins> - <plugin> - <groupId>org.codehaus.groovy.maven</groupId> - <artifactId>gmaven-plugin</artifactId> - <executions> - <execution> - <phase>validate</phase> - <goals> - <goal>execute</goal> - </goals> - <configuration> - <source>${basedir}/../src/main/scripts/TagVersion.groovy</source> - </configuration> - </execution> - </executions> - </plugin> - - - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <version>2.6</version> - <executions> - <execution> - <id>copy-dockerfile</id> - <goals> - <goal>copy-resources</goal> - </goals><!-- here the phase you need --> - <phase>validate</phase> - <configuration> - <outputDirectory>${basedir}/target/docker-stage</outputDirectory> - <resources> - <resource> - <directory>src/main/docker</directory> - <includes> - <include>Dockerfile</include> - </includes> - <filtering>true</filtering> - </resource> - </resources> - </configuration> - </execution> - <execution> - <id>copy-config</id> - <goals> - <goal>copy-resources</goal> - </goals><!-- here the phase you need --> - <phase>validate</phase> - <configuration> - <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/config</outputDirectory> - <resources> - <resource> - <directory>src/main/resources</directory> - <includes> - <include>*.properties</include> - <include>*.props</include> - <include>*.sql</include> - </includes> - <filtering>true</filtering> - </resource> - <resource> - <directory>src/main/resources</directory> - <includes> - <include>*.keyfile</include> - <include>*.jks</include> - <include>*.p12</include> - </includes> - <filtering>false</filtering> - </resource> - </resources> - </configuration> - </execution> - <execution> - <id>copy-script</id> - <goals> - <goal>copy-resources</goal> - </goals><!-- here the phase you need --> - <phase>validate</phase> - <configuration> - <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk/bin</outputDirectory> - <resources> - <resource> - <directory>src/main/resources</directory> - <includes> - <include>*.sh</include> - </includes> - <filtering>true</filtering> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>3.0.2</version> - <executions> - <execution> - <id>copy-dependencies</id> - <goals> - <goal>copy-dependencies</goal> - </goals> - <phase>prepare-package</phase> - <configuration> - <excludeTransitive>true</excludeTransitive> - <outputDirectory>${project.build.directory}/docker-stage/opt/onap/ccsdk/lib</outputDirectory> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>true</overWriteSnapshots> - <overWriteIfNewer>true</overWriteIfNewer> - <useRepositoryLayout>false</useRepositoryLayout> - <addParentPoms>false</addParentPoms> - <copyPom>false</copyPom> - </configuration> - </execution> - <execution> - <id>unpack dgs</id> - <phase>generate-sources</phase> - <goals> - <goal>unpack</goal> - </goals> - <configuration> - <outputDirectory>${basedir}/target/docker-stage/opt/onap/ccsdk</outputDirectory> - <artifactItems> - <artifactItem> - <groupId>${project.groupId}</groupId> - <artifactId>platform-logic-installer</artifactId> - <version>${project.version}</version> - <type>zip</type> - </artifactItem> - </artifactItems> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>docker</id> - <build> - <plugins> - <plugin> - <groupId>io.fabric8</groupId> - <artifactId>docker-maven-plugin</artifactId> - <version>0.28.0</version> - <inherited>false</inherited> - <configuration> - <images> - <image> - <name>${image.name}</name> - <build> - <cleanup>try</cleanup> - <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> - <dockerFile>Dockerfile</dockerFile> - <tags> - <tag>${project.docker.latestminortag.version}</tag> - <tag>${project.docker.latestfulltag.version}</tag> - <tag>${project.docker.latesttagtimestamp.version}</tag> - </tags> - </build> - </image> - </images> - </configuration> - <executions> - <execution> - <id>generate-images</id> - <phase>package</phase> - <goals> - <goal>build</goal> - </goals> - </execution> - - <execution> - <id>push-images</id> - <phase>${docker.push.phase}</phase> - <goals> - <goal>build</goal> - <goal>push</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> diff --git a/sliboot/src/main/compose/docker-compose.yaml b/sliboot/src/main/compose/docker-compose.yaml deleted file mode 100755 index 45b185ff..00000000 --- a/sliboot/src/main/compose/docker-compose.yaml +++ /dev/null @@ -1,42 +0,0 @@ -version: '2.1' - -services: - db: - image: mariadb:10.3 - container_name: sliboot_db_container - ports: - - "13306:3306" - environment: - - MYSQL_ROOT_PASSWORD=openECOMP1.0 - - MYSQL_ROOT_HOST=% - logging: - driver: "json-file" - options: - max-size: "30m" - max-file: "5" - - - sliboot: - image: onap/ccsdk-sliboot-alpine-image:latest - depends_on: - - db - container_name: sliboot_sli_container - ports: - - "8443:8443" - links: - - db:dbhost - environment: - - MYSQL_DB_HOST=dbhost - - MYSQL_ROOT_PASSWORD=openECOMP1.0 - - MYSQL_DB_USER=sli - - MYSQL_DB_PASSWD=abc123 - - MYSQL_DB_DATABASE=sdnctl - logging: - driver: "json-file" - options: - max-size: "30m" - max-file: "5" - extra_hosts: - aaf-onap-test.osaaf.org: 10.12.5.145 - - diff --git a/sliboot/src/main/docker/Dockerfile b/sliboot/src/main/docker/Dockerfile deleted file mode 100644 index 3269d43e..00000000 --- a/sliboot/src/main/docker/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -# Prepare stage for multistage image build -## START OF STAGE0 ## -FROM ${base.image.name}:${project.docker.latestfulltag.version} AS stage0 - -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV LOG_PATH /var/log/onap/ccsdk - - -# copy deliverables to opt -COPY opt /opt - -## END OF STAGE0 ## - - -FROM ${base.image.name}:${project.docker.latestfulltag.version} - -MAINTAINER CCSDK Team (onap-ccsdk@lists.onap.org) - -ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk -ENV CCSDK_HOME /opt/onap/ccsdk -ENV SLIBOOT_JAR ${ccsdk.sliboot.jar} -ENV SVCLOGIC_PROPERTIES /opt/onap/ccsdk/config/svclogic.properties -ENV SVCLOGIC_DIR /opt/onap/ccsdk/svclogic/graphs -ENV LOG_PATH /var/log/onap/ccsdk - -# Install sudo and IP utilities -RUN apk update && apk --no-cache add sudo iputils openssl - - -# Enable wheel group -RUN sed -e 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' -i /etc/sudoers - -# Create sli user -RUN addgroup -S sli && adduser -S sli -G sli -RUN addgroup sli wheel - -COPY --from=stage0 --chown=sli:sli /opt /opt -RUN mkdir -p ${LOG_PATH} && chown sli:sli ${LOG_PATH} -RUN chmod +x ${CCSDK_HOME}/bin/*.sh - - -USER sli -WORKDIR ${CCSDK_HOME} -ENTRYPOINT /opt/onap/ccsdk/bin/startSliboot.sh -EXPOSE 8443 diff --git a/sliboot/src/main/resources/application.properties b/sliboot/src/main/resources/application.properties deleted file mode 100644 index db2f39e0..00000000 --- a/sliboot/src/main/resources/application.properties +++ /dev/null @@ -1,25 +0,0 @@ -springfox.documentation.swagger.v2.path=/api-docs -server.contextPath=/restconf -spring.jackson.date-format=org.onap.ccsdk.sli.core.sliapi.springboot.controllers.swagger.RFC3339DateFormat -spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false -logging.level.com.att=TRACE -logging.level.org.onap=TRACE -spring.datasource.url=jdbc:mariadb://dbhost:3306/sdnctl -spring.datasource.username=sli -spring.datasource.password=abc123 -spring.datasource.driver-class-name=org.mariadb.jdbc.Driver -spring.datasource.testWhileIdle=true -spring.datasource.validationQuery=SELECT 1 -spring.jpa.show-sql=true -spring.jpa.hibernate.ddl-auto=update -spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl -spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy -spring.jpa.database=mysql -server.port=8443 -server.ssl.key-store=classpath:org.onap.sdnc.p12 -server.ssl.key-store-type=PKCS12 -server.ssl.key-store-password=;:G58,7ZhqOSI:7^oZCY[9Dv -server.ssl.key-password=;:G58,7ZhqOSI:7^oZCY[9Dv -server.ssl.enabled=true -server.ssl.protocol=TLS -server.ssl.key-alias=sdnc@sdnc.onap.org diff --git a/sliboot/src/main/resources/log4j2.properties b/sliboot/src/main/resources/log4j2.properties deleted file mode 100644 index 724bce3f..00000000 --- a/sliboot/src/main/resources/log4j2.properties +++ /dev/null @@ -1,160 +0,0 @@ - #- - # ============LICENSE_START======================================================= - # ONAP - CCSDK - # ================================================================================ - # Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. - # ================================================================================ - # 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. - # ============LICENSE_END========================================================= - # - -property.logDir = ${env:LOG_PATH:-./target} - -property.pattern = %d{ISO8601} | %-5p | %-16t | %-32c{1} | %X{currentGraph} - %X{nodeId} | %m%n - -#default mdc values -property.ServiceName = INTERNAL -property.ErrorCode = 900 -property.ErrorDesc = UnknownError - -rootLogger.level = INFO -rootLogger.appenderRef.AppFile.ref = AppFile -rootLogger.appenderRef.Console.ref = Console -rootLogger.appenderRef.DebugFile.ref = DebugFile -rootLogger.appenderRef.ErrorFile.ref = ErrorFile -rootLogger.appenderRef.Console.filter.threshold.type = ThresholdFilter -rootLogger.appenderRef.Console.filter.threshold.level = DEBUG - -appender.console.type = Console -appender.console.name = Console -appender.console.layout.type = PatternLayout -appender.console.layout.pattern = ${pattern} - -appender.app.type = RollingRandomAccessFile -appender.app.name = AppFile -appender.app.fileName = ${logDir}/app.log -appender.app.filePattern = ${logDir}/app.log.%i -appender.app.immediateFlush = true -appender.app.append = true -appender.app.layout.type = PatternLayout -appender.app.layout.pattern = ${pattern} -appender.app.policies.type = Policies -appender.app.policies.size.type = SizeBasedTriggeringPolicy -appender.app.policies.size.size = 10MB -appender.app.strategy.type = DefaultRolloverStrategy -appender.app.strategy.max = 100 -appender.app.strategy.fileIndex = min - -appender.debug.type = RollingRandomAccessFile -appender.debug.name = DebugFile -appender.debug.fileName = ${logDir}/debug.log -appender.debug.filePattern = ${logDir}/debug.log.%i -appender.debug.immediateFlush = true -appender.debug.append = true -appender.debug.layout.type = PatternLayout -appender.debug.layout.pattern = %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%-16.16t|%-5.5p|%-32.32c{1}|%X{currentGraph} - %X{nodeId}|%m%n -appender.debug.policies.type = Policies -appender.debug.policies.size.type = SizeBasedTriggeringPolicy -appender.debug.policies.size.size = 10MB -appender.debug.strategy.type = DefaultRolloverStrategy -appender.debug.strategy.max = 200 -appender.debug.strategy.fileIndex = min - -appender.error.type = RollingRandomAccessFile -appender.error.name = ErrorFile -appender.error.fileName = ${logDir}/error.log -appender.error.filePattern = ${logDir}/error.log.%i -appender.error.immediateFlush = true -appender.error.append = true -appender.error.layout.type = PatternLayout -appender.error.layout.pattern = %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%-16.16t|$${ctx:ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%p|$${ctx:ErrorCode}|$${ctx:ErrorDesc}|%m%n - -appender.error.policies.type = Policies -appender.error.policies.size.type = SizeBasedTriggeringPolicy -appender.error.policies.size.size = 10MB -appender.error.strategy.type = DefaultRolloverStrategy -appender.error.strategy.max = 100 -appender.error.strategy.fileIndex = min -appender.error.filter.threshold.type = ThresholdFilter -appender.error.filter.threshold.level = WARN - -appender.metric.type = RollingRandomAccessFile -appender.metric.name = MetricFile -appender.metric.fileName = ${logDir}/metric.log -appender.metric.filePattern = ${logDir}/metric.log.%i -appender.metric.immediateFlush = true -appender.metric.append = true -appender.metric.layout.type = PatternLayout -appender.metric.layout.pattern=%X{InvokeTimestamp}|%X{LogTimestamp}|%X{RequestID}|%X{ServiceInstanceID}|%-16.16t|%X{ServerFQDN}|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDesc}|%X{InstanceID}|%p|%X{Severity}|192.168.23.111|%X{ElapsedTime}|${hostName}|%X{ClientIPAddress}|%C{1}|||%X{TargetElement}|%markerSimpleName|%X|%X{currentGraph} - %X{nodeId}||%m%n -appender.metric.policies.type = Policies -appender.metric.policies.size.type = SizeBasedTriggeringPolicy -appender.metric.policies.size.size = 10MB -appender.metric.strategy.type = DefaultRolloverStrategy -appender.metric.strategy.max = 100 -appender.metric.strategy.fileIndex = min - -appender.audit.type = RollingRandomAccessFile -appender.audit.name = AuditFile -appender.audit.fileName = ${logDir}/audit.log -appender.audit.filePattern = ${logDir}/audit.log.%i -appender.audit.immediateFlush = true -appender.audit.append = true -appender.audit.layout.type = PatternLayout -appender.audit.layout.pattern=%X{EntryTimestamp}|%X{LogTimestamp}|%X{RequestID}|%X{ServiceInstanceID}|%-16.16t|%X{ServerFQDN}|%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDesc}|%X{InstanceID}|INFO|%X{Severity}|192.168.23.111|%X{ElapsedTime}|${hostName}|%X{ClientIPAddress}|%C{1}|%X{AUDIT-Unused}|%X{AUDIT-ProcessKey}|%markerSimpleName|%X|||%m%n -appender.audit.policies.type = Policies -appender.audit.policies.size.type = SizeBasedTriggeringPolicy -appender.audit.policies.size.size = 10MB -appender.audit.strategy.type = DefaultRolloverStrategy -appender.audit.strategy.max = 200 -appender.audit.strategy.fileIndex = min - -appender.rr.name = RequestResponseFile -appender.rr.type = RollingRandomAccessFile -appender.rr.fileName = ${logDir}/request-response.log -appender.rr.filePattern = ${logDir}/request-response.log.%i -appender.rr.immediateFlush = true -appender.rr.append = true -appender.rr.layout.type = PatternLayout -appender.rr.layout.pattern = %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestID}|%X{PartnerName}|%m%n -appender.rr.policies.type = Policies -appender.rr.policies.size.type = SizeBasedTriggeringPolicy -appender.rr.policies.size.size = 10MB -appender.rr.strategy.type = DefaultRolloverStrategy -appender.rr.strategy.max = 100 -appender.rr.strategy.fileIndex = min - -logger.metric.name = org.onap.ccsdk.sli.core.filters.metric -logger.metric.level = INFO -logger.metric.additivity = false -logger.metric.appenderRef.MetricFile.ref = MetricFile - -logger.metric2.name = org.onap.logging.filter.base.AbstractMetricLogFilter -logger.metric2.level = INFO -logger.metric2.additivity = false -logger.metric2.appenderRef.MetricFile.ref = MetricFile - -logger.audit.name = org.onap.logging.filter.base.AbstractAuditLogFilter -logger.audit.level = INFO -logger.audit.additivity = false -logger.audit.appenderRef.AuditFile.ref = AuditFile - -logger.rr.name = org.onap.logging.filter.base.PayloadLoggingServletFilter -logger.rr.level = INFO -logger.rr.additivity = false -logger.rr.appenderRef.RequestResponseFile.ref = RequestResponseFile - -logger.ccsdk.name = org.onap.ccsdk -logger.ccsdk.level = DEBUG - -logger.onaplogging.name = org.onap.logging -logger.onaplogging.level = DEBUG
\ No newline at end of file diff --git a/sliboot/src/main/resources/org.onap.sdnc.cred.props b/sliboot/src/main/resources/org.onap.sdnc.cred.props deleted file mode 100644 index e702d610..00000000 --- a/sliboot/src/main/resources/org.onap.sdnc.cred.props +++ /dev/null @@ -1,17 +0,0 @@ -############################################################ -# Properties Generated by AT&T Certificate Manager -# by root -# on 2020-04-07T19:49:10.483+0000 -# @copyright 2019, AT&T -############################################################ -Challenge=enc:gsZC3qJk3ylRSusYHUQqBiflWlKXn4rnh-fULJmfIU3RAphd_AHmZ6c6kl42qcJE -cadi_alias=sdnc@sdnc.onap.org -cadi_key_password=enc:HLzeIrsDqKLcY1fNlbRTXVch5RrfUvAXKW_sJ9cv9Rs49q8GsiPsZDqboJXAT-lF -cadi_keyfile=/opt/onap/ccsdk/config/org.onap.sdnc.keyfile -cadi_keystore=/opt/onap/ccsdk/config/org.onap.sdnc.p12 -cadi_keystore_password=enc:aH6rL1KPu8ZzMtQ16FiMvGE-janpERZBU3tnVuGcXBaK2T9_3F28UuBH-GJ2BRjM -cadi_keystore_password_jks=enc:ydq6zoDeWGdBbFXkF_bLHJ4HrhMn-cSZ11m-NUNCm116gYhsjF1HKfkqs6Wrn6Zl -cadi_keystore_password_p12=enc:aH6rL1KPu8ZzMtQ16FiMvGE-janpERZBU3tnVuGcXBaK2T9_3F28UuBH-GJ2BRjM -cadi_truststore=/opt/onap/ccsdk/config/org.onap.sdnc.trust.jks -cadi_truststore_password=enc:Lhl6jEPxCYutrEpioq0woR1ypC4K1i9yPWKGRG7s9eARe5egSzsEBCooiKB7om5B -cadi_x509_issuers=CN=intermediateCA_1, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_7, OU=OSAAF, O=ONAP, C=US:CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US diff --git a/sliboot/src/main/resources/org.onap.sdnc.keyfile b/sliboot/src/main/resources/org.onap.sdnc.keyfile deleted file mode 100644 index eb8fe842..00000000 --- a/sliboot/src/main/resources/org.onap.sdnc.keyfile +++ /dev/null @@ -1,27 +0,0 @@ -Xgwa72kLHXU9NRElW4t4taIjudICPqMwywqYe1HVQ7Ve9ccqRRksY9gjK4hnDwU9mn0XdYEMlIU2 -OMWL4ck6PaxjHlaVR1qVBIFRcrkXs_ttagrjijBxXvJvJVI60JMCBGmIgNkI78wnEZOi6PLG0x7S -agVQM34a5HHBEMePfqtgO-J8rBXMaeIrpHOTTEEtZXU-ZvbI8VZWhCD0e9fnn3YlFQaPeni0zqOE -NY_lV6ZxlAtD5RCKdQWuU4O_cmmv3_LpIm41NT7Dn4sG6QzHjw2WM5essLTCEUvXJntlj3OmZTkr -p4lPBVAWg2-qc_ZZyY2VEtoxVmKIMP15ctq50RVgPtQMmd-hdj5I51yW5MQYSM4jTgxtspiGUDJq -ftsxb76K5w76X-ADxpZt85bEe068dwEoqZd5Qe33jIcZD2iNfGUb_ee1vSVlTQO1JlGqHAelUNks -ellL5WE7X4g4TCG8KW38_GUOyohyQ5pv-Mozq-Sxz2bK8JCBs6hFBhKbnE07x3yY7SOBVnDbdCec -cXZ86TNcdOsxBdqfNXD4PK_qMiXZTh3OMRsEG8IhhFyD3sbpFEyVhU_96o47iOgvAeAAiIKJ2Uww -QUTHfNxp7LWUTw7aHhmK4wZLpFS-Lz1seat65uNp9DRuQ9jin0Hpi0XW1UwY4WzYvWeiQh2swwM8 -XCz9jawem18wTJ-pZUvKtkAQ5ImwSBuIFaKoUkbiowrNAGFOFGaFhtapV1uvehPlpmzbvn9HfPO8 -1xAp3Jusu3G4tGrrsJdvkenUB-3BbcJHMPE-Ku1jEWGoOXnrn0WURiHXhYMy8gWbko56ykftIJRP -Q4bq4TCwxNE8nzhNXSh0_dqYK0JlAkoOtvkBogM42Ljly5ODCIDb7NZFtTyK3FpYVXLC-um9wYxI -2t7V5N-nPinFf9hWzgTCvnjfAn0X2kAWTBQVwO-Sxepy40ZbTkEkQzsKyFKa3pnB_BmkE6dvQMqj -QZlg5dpu3eacVSMPaZCdgISYN-pYrWNYtPKKlxYQgsK0Z6hJuS-87snx-WYRN4SRhWBY_b-G1EsZ -SeL9L8daNXYzmOHnprenlz5ZqitnM_KoL9th_rG4krV8-Nlw1Rh7K_YcXuFsKGTlzYbuoHyM1CBn -oWPIf32W5DN4BRcSTi74wV_tScQL4sueKYo3epZMrTA0djFyq94-wyA0bOzySQxcrGIvvLMITJ51 -U6c845RXFAK8_Z2Nt8-Mdv6Ox_KDmZtX4P9bNJ21nM9D9Htgr2H5GIBXFBt_ZDUzwZ5WLrs-l4Li -26dHL5OudyekOaI4BVxg_09hRD9xNPpU5kiVcz5_QAi7QsnYqf53oB55H_NEhq1h3KOmqzJw9q7M -kYQgO-q5Y5dIvduBe9zruFIQIt-WhhRJM8v4i50QNaOCnbZfmDalStlSzFX9xEXKESU8q-7VwxRT -Aro7Teu_fS3PXvsgr6hHSf-SK2zbrizPG-5AaPn3SkBoU-3Ofr-HeJfihx0NnvcCnjDYvQw9C5d6 -845zvcrJrphNkXVPNO23lRMTEuStQiCbbdZcaNcPFXMpjlS4x8tonxwNqBBa4CwO7p5omkayEVLi -i_JbOg4JSor1C_cSnA9TIfEcwVe9znPeEE01uFp_IBP5rJHuiInca-f7NbZFDkhO5LJPIoyvmTHZ -76LBniKhcocSW8CR7Gc9Q8wxXJFEivQb4JvA1gd8VZ_A31yqnSTnApxGcAu1DEHNnCd9AVYIq9jd -weFikVaf5n3GF-DBYxeesu1ChEmTOLN0tZw43uyAvqWrqLU_m5DspMAv-MNA0ddgcMOw8yph0035 -5HgcosFyhnx_FByGJtbr0bahZ1dJnswN_lXlRUYB2-WYnWUot-ONKiw3cD7kU095p3zPOHkd6KlI -cyRcCDVN9KQkE-S9VDWBWD8V2A6wudLLICsRug_Ypa6doZKGcF335ZT9U54R9DNqUHCf3IEu0xl3 -YlQrkCwrFZB8WVMkfJQJKFfqYyjeH-t-afS3JR-PkH-qBRDFFYZ3m1anYuZI20-IiP8BZKCI
\ No newline at end of file diff --git a/sliboot/src/main/resources/org.onap.sdnc.p12 b/sliboot/src/main/resources/org.onap.sdnc.p12 Binary files differdeleted file mode 100644 index 23a701a2..00000000 --- a/sliboot/src/main/resources/org.onap.sdnc.p12 +++ /dev/null diff --git a/sliboot/src/main/resources/org.onap.sdnc.props b/sliboot/src/main/resources/org.onap.sdnc.props deleted file mode 100644 index adef904d..00000000 --- a/sliboot/src/main/resources/org.onap.sdnc.props +++ /dev/null @@ -1,14 +0,0 @@ -############################################################ -# Properties Generated by AT&T Certificate Manager -# by root -# on 2020-04-07T19:49:08.370+0000 -# @copyright 2019, AT&T -############################################################ -aaf_id=sdnc@sdnc.onap.org -aaf_locate_url=https://aaf-onap-test.osaaf.org:8095 -aaf_url=https://AAF_LOCATE_URL/AAF_NS.service:2.1 -cadi_latitude=38.432899 -cadi_longitude=-90.43248 -cadi_prop_files=/opt/onap/ccsdk/config/org.onap.sdnc.cred.props -cm_url=https://AAF_LOCATE_URL/AAF_NS.cm:2.1 -cadi_protocols=TLSv1.1,TLSv1.2 diff --git a/sliboot/src/main/resources/org.onap.sdnc.trust.jks b/sliboot/src/main/resources/org.onap.sdnc.trust.jks Binary files differdeleted file mode 100644 index 7a698619..00000000 --- a/sliboot/src/main/resources/org.onap.sdnc.trust.jks +++ /dev/null diff --git a/sliboot/src/main/resources/schema.sql b/sliboot/src/main/resources/schema.sql deleted file mode 100644 index a1a8b5a6..00000000 --- a/sliboot/src/main/resources/schema.sql +++ /dev/null @@ -1,2764 +0,0 @@ - - --- --- Table structure for table `ACCESS_LOG` --- - -CREATE TABLE IF NOT EXISTS `ACCESS_LOG` ( - `access_log_seq` int(11) NOT NULL AUTO_INCREMENT, - `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `method` varchar(12) DEFAULT NULL, - `version` varchar(12) DEFAULT NULL, - `status` varchar(12) DEFAULT NULL, - `url` varchar(256) DEFAULT NULL, - `remote_address` varchar(128) DEFAULT NULL, - PRIMARY KEY (`access_log_seq`) -) ENGINE=InnoDB AUTO_INCREMENT=1034 DEFAULT CHARSET=latin1; - --- --- Table structure for table `CUSTOMER` --- - - -CREATE TABLE IF NOT EXISTS `CUSTOMER` ( - `cust_id` int(11) NOT NULL AUTO_INCREMENT, - `customer_name` varchar(256) DEFAULT NULL, - `grua` varchar(4) NOT NULL, - `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`cust_id`), - UNIQUE KEY `IU1_CUSTOMER` (`customer_name`) -) ENGINE=InnoDB AUTO_INCREMENT=155 DEFAULT CHARSET=latin1; - - --- --- Table structure for table `ADDRESS_PLAN_POLICIES` --- - -CREATE TABLE IF NOT EXISTS `ADDRESS_PLAN_POLICIES` ( - `key_name` varchar(255) NOT NULL, - `key_value_source_type` varchar(255) NOT NULL, - `key_value_source` varchar(255) NOT NULL, - PRIMARY KEY (`key_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AGNOSTIC_NOTIFICATION_URL` --- - -CREATE TABLE IF NOT EXISTS `AGNOSTIC_NOTIFICATION_URL` ( - `service_type` varchar(128) NOT NULL, - `service_instance_id` varchar(128) NOT NULL, - `request_id` varchar(128) NOT NULL, - `svc_notification_url` varchar(256) NOT NULL, - PRIMARY KEY (`service_type`,`service_instance_id`,`request_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `AGNOSTIC_TO_SVC_SPCFC_API` --- -CREATE TABLE IF NOT EXISTS `AGNOSTIC_TO_SVC_SPCFC_API` ( - `operation` varchar(128) NOT NULL, - `service` varchar(128) NOT NULL, - `service_specific_api` varchar(128) NOT NULL, - `async_process` varchar(15) DEFAULT NULL, - PRIMARY KEY (`operation`,`service`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_AVAIL_ZONE_POOL` --- -CREATE TABLE IF NOT EXISTS `AIC_AVAIL_ZONE_POOL` ( - `aic_site_id` varchar(100) NOT NULL, - `status` varchar(40) NOT NULL, - `availability_zone` varchar(100) NOT NULL, - `token` varchar(5) NOT NULL, - `vnf_id` varchar(80) DEFAULT NULL, - `service_type` varchar(100) NOT NULL, - `vnf_type` varchar(20) DEFAULT NULL, - `hypervisor` varchar(10) DEFAULT NULL, - PRIMARY KEY (`aic_site_id`,`availability_zone`,`token`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_HOSTNAME` --- -CREATE TABLE IF NOT EXISTS `AIC_HOSTNAME` ( - `hostname` varchar(20) NOT NULL, - `cust_id` int(11) NOT NULL, - `vendor_code` varchar(1) NOT NULL, - `virtual_device_type` varchar(2) DEFAULT NULL, - `device_sequence` varchar(3) NOT NULL, - `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`hostname`), - UNIQUE KEY `hostname` (`hostname`), - KEY `IN1_AIC_HOSTNAME` (`cust_id`), - CONSTRAINT `AC1_HOSTNAME` FOREIGN KEY (`cust_id`) REFERENCES `CUSTOMER` (`cust_id`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_NETWORK` --- - -CREATE TABLE IF NOT EXISTS `AIC_NETWORK` ( - `network_id` varchar(100) NOT NULL, - `network_name` varchar(100) DEFAULT NULL, - `status` varchar(20) DEFAULT NULL, - `tenant_id` varchar(100) DEFAULT NULL, - `switch_uuid` varchar(100) DEFAULT NULL, - `portgroup_name` varchar(100) DEFAULT NULL, - `portgroup_id` varchar(100) DEFAULT NULL, - PRIMARY KEY (`network_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_SITE` --- - -CREATE TABLE IF NOT EXISTS `AIC_SITE` ( - `name` varchar(100) DEFAULT NULL, - `aic_site_id` varchar(100) NOT NULL, - `vcenter_url` varchar(200) DEFAULT NULL, - `vcenter_username` varchar(40) DEFAULT NULL, - `vcenter_passwd` varbinary(255) DEFAULT NULL, - `city` varchar(100) DEFAULT NULL, - `state` varchar(2) DEFAULT NULL, - `operational_status` varchar(20) DEFAULT NULL, - `oam_gateway_addr` varchar(20) DEFAULT '', - PRIMARY KEY (`aic_site_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_SWITCH` --- - -CREATE TABLE IF NOT EXISTS `AIC_SWITCH` ( - `switch_name` varchar(100) DEFAULT NULL, - `physical_network_name` varchar(100) NOT NULL, - `aic_site_id` varchar(100) DEFAULT NULL, - `uuid` varchar(100) DEFAULT NULL, - `availability_zone` varchar(100) DEFAULT NULL, - PRIMARY KEY (`physical_network_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `AIC_ZONE_CLOUD_REGION_ID` --- - -CREATE TABLE IF NOT EXISTS `AIC_ZONE_CLOUD_REGION_ID` ( - `zone_region_id` varchar(255) NOT NULL, - `cilli_code` varchar(255) NOT NULL, - `location_id` varchar(255) NOT NULL DEFAULT '', - `city_state_country` varchar(255) NOT NULL DEFAULT '', - PRIMARY KEY (`zone_region_id`,`cilli_code`,`location_id`,`city_state_country`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `ALLOCATION_ITEM` --- - -CREATE TABLE IF NOT EXISTS `ALLOCATION_ITEM` ( - `allocation_item_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `resource_id` bigint(20) NOT NULL, - `application_id` varchar(50) NOT NULL, - `resource_set_id` varchar(200) NOT NULL, - `resource_union_id` varchar(200) NOT NULL, - `resource_share_group_list` varchar(200) DEFAULT NULL, - `lt_used` bigint(20) DEFAULT NULL, - `ll_label` varchar(50) DEFAULT NULL, - `rr_used` varchar(200) DEFAULT NULL, - `allocation_time` datetime NOT NULL, - PRIMARY KEY (`allocation_item_id`), - UNIQUE KEY `allocation_item_id` (`allocation_item_id`), - UNIQUE KEY `IX2_ALLOCATION_ITEM` (`resource_id`,`resource_set_id`), - KEY `IX1_ALLOCATION_ITEM` (`resource_id`) -) ENGINE=InnoDB AUTO_INCREMENT=5764 DEFAULT CHARSET=latin1; - --- --- Table structure for table `ALLOTTED_RESOURCE_MODEL` --- - -CREATE TABLE IF NOT EXISTS `ALLOTTED_RESOURCE_MODEL` ( - `customization_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `uuid` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `naming_policy` varchar(255) DEFAULT NULL, - `ecomp_generated_naming` char(1) DEFAULT NULL, - `depending_service` varchar(255) DEFAULT NULL, - `role` varchar(255) DEFAULT NULL, - `type` varchar(255) DEFAULT NULL, - `service_dependency` varchar(255) DEFAULT NULL, - `allotted_resource_type` varchar(255) DEFAULT NULL, - PRIMARY KEY (`customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `ALTS_CREDENTIALS` --- - -CREATE TABLE IF NOT EXISTS `ALTS_CREDENTIALS` ( - `alts_username` varchar(255) NOT NULL, - `alts_password` varbinary(255) NOT NULL, - PRIMARY KEY (`alts_username`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `ASDC_ARTIFACTS` --- - -CREATE TABLE IF NOT EXISTS `ASDC_ARTIFACTS` ( - `asdc_artifacts_id` int(11) NOT NULL AUTO_INCREMENT, - `service_uuid` varchar(50) DEFAULT NULL, - `distribution_id` varchar(50) DEFAULT NULL, - `service_name` varchar(255) DEFAULT NULL, - `service_description` varchar(255) DEFAULT NULL, - `resource_uuid` varchar(255) DEFAULT NULL, - `resource_instance_name` varchar(255) DEFAULT NULL, - `resource_name` varchar(255) DEFAULT NULL, - `resource_version` varchar(50) DEFAULT NULL, - `resource_type` varchar(50) DEFAULT NULL, - `artifact_uuid` varchar(50) DEFAULT NULL, - `artifact_type` varchar(50) DEFAULT NULL, - `artifact_version` varchar(25) DEFAULT NULL, - `artifact_description` varchar(255) DEFAULT NULL, - `internal_version` int(11) DEFAULT NULL, - `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `artifact_name` varchar(255) DEFAULT NULL, - `artifact_content` longtext, - PRIMARY KEY (`asdc_artifacts_id`), - UNIQUE KEY `asdc_artifacts_id` (`asdc_artifacts_id`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; - --- --- Table structure for table `ASDC_REFERENCE` --- - -CREATE TABLE IF NOT EXISTS `ASDC_REFERENCE` ( - `asdc_reference_id` int(11) NOT NULL AUTO_INCREMENT, - `service_type` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnfc_type` varchar(50) DEFAULT NULL, - `file_category` varchar(50) DEFAULT NULL, - `action` varchar(50) DEFAULT NULL, - `artifact_type` varchar(50) DEFAULT NULL, - `artifact_name` varchar(255) NOT NULL, - PRIMARY KEY (`asdc_reference_id`), - UNIQUE KEY `asdc_reference_id` (`asdc_reference_id`) -) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1; - - --- --- Table structure for table `BLOB_TEST` --- - -CREATE TABLE IF NOT EXISTS `BLOB_TEST` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `odl` varchar(20) DEFAULT NULL, - `communities` mediumblob, - `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW', - `retry_count` int(11) DEFAULT '-1', - PRIMARY KEY (`seq`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `CAPABILITY` --- - -CREATE TABLE IF NOT EXISTS `CAPABILITY` ( - `capability_id` int(11) NOT NULL AUTO_INCREMENT, - `capability_name` varchar(50) NOT NULL, - `implementation_name` varchar(100) NOT NULL, - `operation_name` varchar(50) NOT NULL, - `operation_description` varchar(100) NOT NULL, - `input_definition` longtext, - `output_definition` longtext, - `dependency_definition` longtext, - `tags` varchar(100) DEFAULT NULL, - PRIMARY KEY (`capability_id`), - UNIQUE KEY `capability_id` (`capability_name`) -) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=latin1; - --- --- Table structure for table `CITY_CODE` --- - -CREATE TABLE IF NOT EXISTS `CITY_CODE` ( - `city_code_id` int(11) NOT NULL AUTO_INCREMENT, - `city_code` varchar(3) NOT NULL, - `city` varchar(150) NOT NULL, - `state` varchar(10) NOT NULL, - `country_code` varchar(10) NOT NULL, - PRIMARY KEY (`city_code_id`), - KEY `IN1_CITY_CODE` (`city`,`state`,`country_code`) -) ENGINE=InnoDB AUTO_INCREMENT=37822 DEFAULT CHARSET=latin1; - --- --- Table structure for table `CLI_UPDATES` --- - -CREATE TABLE IF NOT EXISTS `CLI_UPDATES` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW', - `create_timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP, - `last_processed_timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `target_address` varchar(128) DEFAULT NULL, - `cli_text` varchar(128) DEFAULT NULL, - PRIMARY KEY (`seq`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `CONFIGFILES` --- - -CREATE TABLE IF NOT EXISTS `CONFIGFILES` ( - `config_file_id` int(11) NOT NULL AUTO_INCREMENT, - `external_version` varchar(50) DEFAULT NULL, - `data_source` varchar(25) DEFAULT NULL, - `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `service_instance_id` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnfc_type` varchar(50) DEFAULT NULL, - `file_category` varchar(50) DEFAULT NULL, - `file_name` varchar(255) DEFAULT NULL, - `file_content` longtext, - `action` varchar(50) DEFAULT NULL, - `vnf_id` varchar(50) DEFAULT NULL, - `vm_name` varchar(50) DEFAULT NULL, - `vnf_name` varchar(50) DEFAULT NULL, - PRIMARY KEY (`config_file_id`), - UNIQUE KEY `config_file_id` (`config_file_id`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; - --- --- Table structure for table `CONFIGURE_ACTION_DG` --- - - -CREATE TABLE IF NOT EXISTS `CONFIGURE_ACTION_DG` ( - `configure_action_dg_id` int(11) NOT NULL AUTO_INCREMENT, - `vnf_type` varchar(50) DEFAULT NULL, - `action` varchar(50) DEFAULT NULL, - `init_config_dg` varchar(50) DEFAULT NULL, - `generate_config_dg` varchar(50) DEFAULT NULL, - `download_config_dg` varchar(50) DEFAULT NULL, - PRIMARY KEY (`configure_action_dg_id`), - UNIQUE KEY `configure_action_dg_id` (`configure_action_dg_id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - - --- --- Table structure for table `CONFIG_CONTENT` --- - -CREATE TABLE IF NOT EXISTS `CONFIG_CONTENT` ( - `config_content_id` int(11) NOT NULL AUTO_INCREMENT, - `request_id` varchar(50) NOT NULL, - `content_type` varchar(50) NOT NULL, - `template_name` varchar(50) DEFAULT NULL, - `originator_id` varchar(50) DEFAULT NULL, - `service_description` varchar(100) DEFAULT NULL, - `action` varchar(50) DEFAULT NULL, - `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `service_type` varchar(50) DEFAULT NULL, - `service_instance_id` varchar(50) DEFAULT NULL, - `vnf_id` varchar(50) DEFAULT NULL, - `vnf_name` varchar(50) DEFAULT NULL, - `vm_name` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnfc_type` varchar(50) DEFAULT NULL, - `host_ip_address` varchar(50) DEFAULT NULL, - `config_indicator` varchar(25) DEFAULT NULL, - `pending_delete` varchar(1) DEFAULT NULL, - `content` longtext, - PRIMARY KEY (`config_content_id`), - UNIQUE KEY `config_content_id` (`creation_date`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `CONFIG_FILE_REFERENCE` --- - -CREATE TABLE IF NOT EXISTS `CONFIG_FILE_REFERENCE` ( - `config_file_reference_id` int(11) NOT NULL AUTO_INCREMENT, - `site_location` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `import_type` varchar(50) DEFAULT NULL, - `file_type` varchar(50) DEFAULT NULL, - `source_server_name` varchar(255) DEFAULT NULL, - `source_file_path` varchar(255) DEFAULT NULL, - `target_file_path` varchar(255) DEFAULT NULL, - `name` varchar(50) DEFAULT NULL, - `file_name` varchar(255) DEFAULT NULL, - PRIMARY KEY (`config_file_reference_id`), - UNIQUE KEY `config_file_reference_id` (`config_file_reference_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `CONFIG_TRANSACTION_LOG` --- - -CREATE TABLE IF NOT EXISTS `CONFIG_TRANSACTION_LOG` ( - `config_transaction_log_id` varchar(50) NOT NULL, - `request_id` varchar(50) DEFAULT NULL, - `message_type` varchar(100) DEFAULT NULL, - `creation_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `message` longtext, - PRIMARY KEY (`config_transaction_log_id`), - UNIQUE KEY `config_transaction_log_id` (`config_transaction_log_id`) -) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1; - - --- --- Table structure for table `COUNTRY_ASN_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `COUNTRY_ASN_MAPPING` ( - `asn` int(5) NOT NULL, - `iso_2char` varchar(5) NOT NULL, - `iso_3char` varchar(5) NOT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - - - --- --- Table structure for table `CUSTOMER2CONNECTION_MAPPING` --- - -CREATE TABLE `CUSTOMER2CONNECTION_MAPPING` ( - `customer2connection_id` int(11) NOT NULL AUTO_INCREMENT, - `service_instance_id` varchar(80) NOT NULL, - `instance_type` varchar(20) NOT NULL, - `originating_service_instance_id` varchar(80) DEFAULT NULL, - `originating_service_type` varchar(20) DEFAULT NULL, - `service_type` varchar(30) DEFAULT NULL, - `connection_id` varchar(100) NOT NULL, - `status` varchar(20) DEFAULT NULL, - PRIMARY KEY (`customer2connection_id`) -) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1; - --- --- Table structure for table `CUSTOMER2CONNECTION_MAPPING_NEW` --- - -CREATE TABLE IF NOT EXISTS `CUSTOMER2CONNECTION_MAPPING_NEW` ( - `customer2connection_id` int(11) NOT NULL AUTO_INCREMENT, - `service_instance_id` varchar(80) NOT NULL, - `instance_type` varchar(20) NOT NULL, - `originating_service_instance_id` varchar(80) DEFAULT NULL, - `originating_service_type` varchar(20) DEFAULT NULL, - `service_type` varchar(30) DEFAULT NULL, - `connection_id` varchar(100) NOT NULL, - `status` varchar(100) DEFAULT NULL, - PRIMARY KEY (`customer2connection_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `DATA_OBJECT_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `DATA_OBJECT_MAPPING` ( - `serial_key` int(11) NOT NULL AUTO_INCREMENT, - `data_object_key` varchar(100) NOT NULL, - `data_object_type` varchar(50) NOT NULL, - `service_type` varchar(50) NOT NULL, - `data_object_key2` varchar(100) NOT NULL, - `data_object_key2_type` varchar(50) NOT NULL, - `data_object_key3` varchar(100) DEFAULT NULL, - `data_object_key3_type` varchar(50) DEFAULT NULL, - `service` varchar(50) DEFAULT NULL, - PRIMARY KEY (`serial_key`), - KEY `IX1_DATA_OBJECT_MAPPING` (`data_object_key`,`data_object_type`,`service_type`), - KEY `IX2_DATA_OBJECT_MAPPING` (`service_type`,`data_object_key2`,`data_object_key2_type`) -) ENGINE=InnoDB AUTO_INCREMENT=3211 DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE2CONNECTION_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `DEVICE2CONNECTION_MAPPING` ( - `vnf_host_name` varchar(100) NOT NULL, - `e2e_vpn_key` varchar(30) NOT NULL, - `service_type` varchar(30) NOT NULL, - `connection_id` varchar(100) NOT NULL, - PRIMARY KEY (`vnf_host_name`,`e2e_vpn_key`,`service_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE2IPADDRESS_CONSUMPTION` --- - -CREATE TABLE IF NOT EXISTS `DEVICE2IPADDRESS_CONSUMPTION` ( - `serial_key` int(11) NOT NULL AUTO_INCREMENT, - `device_id` varchar(100) NOT NULL, - `device_type` varchar(30) NOT NULL, - `ip_version` varchar(10) NOT NULL, - `consumption_key` varchar(100) NOT NULL, - `logical_interface_service_id` varchar(100) NOT NULL, - `address_type` varchar(30) NOT NULL, - `ip_consumed` varchar(50) NOT NULL, - `vnf_type` varchar(30) NOT NULL, - `secondary_key` varchar(100) DEFAULT NULL, - PRIMARY KEY (`serial_key`), - KEY `IX1_DEVICEIPADDRESS_CONSUMPTION` (`device_id`,`device_type`,`ip_version`) -) ENGINE=InnoDB AUTO_INCREMENT=1357 DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE2IPADDRESS_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `DEVICE2IPADDRESS_MAPPING` ( - `serial_key` int(11) NOT NULL AUTO_INCREMENT, - `device_id` varchar(100) NOT NULL, - `device_type` varchar(30) NOT NULL, - `secondary_key` varchar(100) NOT NULL, - `secondary_key_type` varchar(30) NOT NULL, - `address` varchar(50) NOT NULL, - `address_type` varchar(30) NOT NULL, - `ip_version` varchar(10) NOT NULL, - `length` int(11) NOT NULL, - `status` varchar(30) NOT NULL, - PRIMARY KEY (`serial_key`), - KEY `IX1_DEVICE2IPADDRESS_MAPPING` (`device_id`,`device_type`,`secondary_key`,`secondary_key_type`,`address`,`address_type`) -) ENGINE=InnoDB AUTO_INCREMENT=4734 DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE_AUTHENTICATION` --- - -CREATE TABLE IF NOT EXISTS `DEVICE_AUTHENTICATION` ( - `device_authentication_id` int(11) NOT NULL AUTO_INCREMENT, - `vnf_type` varchar(50) DEFAULT NULL, - `user_name` varchar(50) DEFAULT NULL, - `password` varchar(100) DEFAULT NULL, - `protocol` varchar(100) DEFAULT NULL, - `port_number` int(11) DEFAULT NULL, - PRIMARY KEY (`device_authentication_id`), - UNIQUE KEY `device_authentication_id` (`device_authentication_id`) -) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE_INTERFACE_LOG` --- - -CREATE TABLE IF NOT EXISTS `DEVICE_INTERFACE_LOG` ( - `device_interface_log_id` int(11) NOT NULL AUTO_INCREMENT, - `service_instance_id` varchar(50) DEFAULT NULL, - `request_id` varchar(50) DEFAULT NULL, - `creation_date` datetime NOT NULL, - `log` longtext, - PRIMARY KEY (`device_interface_log_id`), - UNIQUE KEY `device_interface_log_id` (`device_interface_log_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `DEVICE_INTERFACE_PROTOCOL` --- - -CREATE TABLE IF NOT EXISTS `DEVICE_INTERFACE_PROTOCOL` ( - `device_interface_protocol_id` int(11) NOT NULL AUTO_INCREMENT, - `vnf_type` varchar(50) DEFAULT NULL, - `protocol` varchar(50) DEFAULT NULL, - `module` varchar(50) DEFAULT NULL, - `dg_rpc` varchar(50) DEFAULT NULL, - PRIMARY KEY (`device_interface_protocol_id`), - UNIQUE KEY `device_interface_protocol_id` (`device_interface_protocol_id`), - UNIQUE KEY `vnf_type` (`vnf_type`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - --- --- Table structure for table `DOWNLOAD_CONFIG_TEMPLATE` --- - -CREATE TABLE IF NOT EXISTS `DOWNLOAD_CONFIG_TEMPLATE` ( - `download_config_template_id` int(11) NOT NULL AUTO_INCREMENT, - `vnf_type` varchar(50) NOT NULL, - `protocol` varchar(50) NOT NULL, - `template` longtext, - PRIMARY KEY (`download_config_template_id`), - UNIQUE KEY `download_config_template_id` (`download_config_template_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `DOWNLOAD_DG_REFERENCE` --- - -CREATE TABLE IF NOT EXISTS `DOWNLOAD_DG_REFERENCE` ( - `download_dg_reference_id` int(11) NOT NULL AUTO_INCREMENT, - `protocol` varchar(50) NOT NULL, - `download_config_dg` varchar(50) NOT NULL, - PRIMARY KEY (`download_dg_reference_id`), - UNIQUE KEY `download_dg_reference_id` (`download_dg_reference_id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - --- --- Table structure for table `EIPAM_CLIENT_KEY_INDEX` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_CLIENT_KEY_INDEX` ( - `vnf_name_prefix` varchar(100) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`vnf_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `EIPAM_IP_ASSIGNMENTS` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_IP_ASSIGNMENTS` ( - `plan_name` varchar(40) NOT NULL, - `client_key` varchar(100) NOT NULL, - `service_type` varchar(40) NOT NULL, - `ip_address` varchar(40) DEFAULT NULL, - `prefix_length` int(2) DEFAULT NULL, - `status` varchar(255) DEFAULT NULL, - `service_instance_id` varchar(80) DEFAULT NULL, - `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `prev_status` varchar(20) DEFAULT NULL, - `info` varchar(255) DEFAULT NULL, - PRIMARY KEY (`plan_name`,`client_key`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `EIPAM_IP_POOLS` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_IP_POOLS` ( - `pool_id` int(11) NOT NULL AUTO_INCREMENT, - `key_name` varchar(50) NOT NULL, - `key_value` varchar(255) NOT NULL, - `level` int(2) NOT NULL, - `plan_name` varchar(50) NOT NULL, - `address_family` varchar(10) NOT NULL, - `parent_pool` varchar(255) NOT NULL, - `service_instance_id` varchar(255) DEFAULT NULL, - `network_id` varchar(255) DEFAULT NULL, - `created_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `delete_failure` varchar(20) DEFAULT NULL, - `delete_request_id` varchar(255) DEFAULT NULL, - PRIMARY KEY (`pool_id`) -) ENGINE=InnoDB AUTO_INCREMENT=339 DEFAULT CHARSET=latin1 COMMENT='This table will capture the pools being created by SDN-C in EIPAM_IP_POOLS. There is no data migration for existing vPE pool data.'; - --- --- Table structure for table `EIPAM_IP_SUBNETS` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_IP_SUBNETS` ( - `entity_id` int(6) NOT NULL, - `service_type` varchar(40) NOT NULL, - `plan_name` varchar(50) NOT NULL, - `address_family` varchar(10) NOT NULL, - `ip_address` varchar(40) NOT NULL, - `prefix_length` int(3) NOT NULL, - `status` varchar(20) NOT NULL, - `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `network_id` varchar(255) DEFAULT NULL, - `pool_id` int(11) DEFAULT NULL, - `dealloc_failure` varchar(20) DEFAULT NULL, - `dealloc_request_id` varchar(255) DEFAULT NULL, - PRIMARY KEY (`entity_id`), - KEY `FK_EIPAM_IP_SUBNETS_EIPAM_IP_POOLS` (`pool_id`), - CONSTRAINT `EIPAM_IP_SUBNETS_ibfk_1` FOREIGN KEY (`pool_id`) REFERENCES `EIPAM_IP_POOLS` (`pool_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, - CONSTRAINT `FK_EIPAM_IP_SUBNETS_EIPAM_IP_POOLS` FOREIGN KEY (`pool_id`) REFERENCES `EIPAM_IP_POOLS` (`pool_id`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `EIPAM_IP_SUBNET_KEYS` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_IP_SUBNET_KEYS` ( - `entity_id` int(6) NOT NULL, - `key_name` varchar(50) NOT NULL, - `key_value` varchar(255) NOT NULL, - `level` int(2) NOT NULL, - PRIMARY KEY (`entity_id`,`key_name`,`key_value`,`level`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `EIPAM_REQUEST_KEY` --- - -CREATE TABLE IF NOT EXISTS `EIPAM_REQUEST_KEY` ( - `key_name_1` varchar(50) NOT NULL, - `address_family` varchar(4) NOT NULL, - `serial_key` int(2) NOT NULL AUTO_INCREMENT, - `plan_name` varchar(50) NOT NULL, - `request_length` int(2) NOT NULL, - `pools_length` int(2) NOT NULL, - `plan_length` int(2) NOT NULL, - `key_name_0` varchar(50) NOT NULL, - `key_name_type_0` varchar(255) NOT NULL, - `key_name_type_1` varchar(255) NOT NULL, - `prefix_length` int(2) NOT NULL, - `group_flag` char(1) NOT NULL, - `address_type` varchar(20) DEFAULT NULL, - PRIMARY KEY (`key_name_1`,`address_family`), - UNIQUE KEY `IX1_EIPAM_REQUEST_KEY` (`serial_key`) -) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; - --- --- Table structure for table `EXTERNAL_DATA` --- - -CREATE TABLE IF NOT EXISTS `EXTERNAL_DATA` ( - `external_data_id` int(11) NOT NULL AUTO_INCREMENT, - `request_id` int(11) DEFAULT NULL, - `param_name` varchar(30) NOT NULL, - `param_value` varchar(50) NOT NULL, - PRIMARY KEY (`external_data_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `FLOW_UPDATES` --- - -CREATE TABLE IF NOT EXISTS `FLOW_UPDATES` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `status` enum('NEW','COMPLETE','FAILED') NOT NULL DEFAULT 'NEW', - `create_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `last_processed_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `odl` varchar(128) DEFAULT NULL, - `address_family` enum('IPV4','IPV6') DEFAULT NULL, - `destination_prefix` varchar(50) DEFAULT NULL, - `communities` varchar(6000) DEFAULT NULL, - `route_key` varchar(50) DEFAULT NULL, - PRIMARY KEY (`seq`) -) ENGINE=InnoDB AUTO_INCREMENT=276 DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_L3_NETWORK` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_L3_NETWORK` ( - `network_id` varchar(80) NOT NULL, - `network_name` varchar(80) DEFAULT NULL, - `network_type` varchar(80) DEFAULT NULL, - `network_role` varchar(80) DEFAULT NULL, - `network_technology` varchar(80) DEFAULT NULL, - `neutron_network_id` varchar(80) DEFAULT NULL, - `is_bound_to_vpn` tinyint(1) DEFAULT NULL, - `orchestration_status` varchar(20) DEFAULT NULL, - `heat_stack_id` varchar(80) DEFAULT NULL, - `mso_catalog_key` varchar(80) DEFAULT NULL, - `service_id` varchar(80) NOT NULL, - `tenant_id` varchar(80) NOT NULL, - `physical_location_id` varchar(20) DEFAULT NULL, - `network_role_instance` varchar(80) NOT NULL, - PRIMARY KEY (`network_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_L3_NETWORK_SUBNET` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_L3_NETWORK_SUBNET` ( - `network_id` varchar(80) NOT NULL, - `subnet_id` varchar(80) NOT NULL, - `neutron_subnet_id` varchar(80) DEFAULT NULL, - `gateway_address` varchar(45) NOT NULL, - `network_start_address` varchar(45) NOT NULL, - `cidr_mask` varchar(20) NOT NULL, - `ip_version` char(1) NOT NULL, - `orchestration_status` varchar(64) NOT NULL, - `dhcp_enabled` tinyint(1) NOT NULL, - `dhcp_start` varchar(45) DEFAULT NULL, - `dhcp_end` varchar(45) DEFAULT NULL, - PRIMARY KEY (`network_id`,`subnet_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_L3_NETWORK_VPN_BINDING` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_L3_NETWORK_VPN_BINDING` ( - `network_id` varchar(80) NOT NULL, - `vpn_id` varchar(80) NOT NULL, - PRIMARY KEY (`network_id`,`vpn_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_RESOURCE_NAME` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_RESOURCE_NAME` ( - `type` varchar(50) NOT NULL, - `name` varchar(255) NOT NULL, - `prefix` varchar(255) NULL, - `name_index` int(11) NULL, - `context_id` varchar(255) NULL, - PRIMARY KEY (`type`,`name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF` ( - `vnf_id` varchar(80) NOT NULL, - `vnf_name` varchar(80) NOT NULL, - `vnf_type` varchar(200) NOT NULL, - `vnf_name2` varchar(80) DEFAULT NULL, - `service_id` varchar(80) NOT NULL, - `equipment_role` varchar(80) NOT NULL, - `orchestration_status` varchar(20) DEFAULT NULL, - `prov_status` varchar(20) DEFAULT NULL, - `heat_stack_id` varchar(80) DEFAULT NULL, - `mso_catalog_key` varchar(80) DEFAULT NULL, - `regional_resource_zone` varchar(80) DEFAULT NULL, - `operational_state` varchar(80) DEFAULT NULL, - `license_key` varchar(80) DEFAULT NULL, - `ipv4_oam_address` varchar(20) DEFAULT NULL, - `ipv4_loopback0_address` varchar(20) DEFAULT NULL, - `nm_lan_v6_address` varchar(40) DEFAULT NULL, - `management_v6_address` varchar(40) DEFAULT NULL, - `management_option` varchar(45) DEFAULT NULL, - `vcpu` varchar(45) DEFAULT NULL, - `vmemory` varchar(45) DEFAULT NULL, - `vdisk` varchar(45) DEFAULT NULL, - `vcpu_units` varchar(45) DEFAULT NULL, - `vmemory_units` varchar(45) DEFAULT NULL, - `vdisk_units` varchar(45) DEFAULT NULL, - PRIMARY KEY (`vnf_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_L3_NETWORK` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_L3_NETWORK` ( - `vnf_id` varchar(80) NOT NULL, - `network_id` varchar(80) NOT NULL, - PRIMARY KEY (`vnf_id`,`network_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_LICENSE_MANAGEMENT` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_LICENSE_MANAGEMENT` ( - `vnf_id` varchar(80) NOT NULL, - `att_uuid` varchar(80) NOT NULL, - PRIMARY KEY (`vnf_id`,`att_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_LINTERFACE` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_LINTERFACE` ( - `vnf_id` varchar(80) NOT NULL, - `interface_name` varchar(255) NOT NULL, - `interface_role` varchar(45) DEFAULT NULL, - `v6_wan_link_ip` varchar(45) DEFAULT NULL, - `selflink` varchar(128) DEFAULT NULL, - `interface_id` varchar(45) DEFAULT NULL, - `macaddr` varchar(64) DEFAULT NULL, - `network_name` varchar(255) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`interface_name`), - KEY `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF_IDX` (`vnf_id`), - CONSTRAINT `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF` FOREIGN KEY (`vnf_id`) REFERENCES `GENERIC_VNF` (`vnf_id`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_PSERVER` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_PSERVER` ( - `vnf_id` varchar(64) NOT NULL, - `hostname` varchar(255) NOT NULL, - PRIMARY KEY (`vnf_id`,`hostname`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_SERVICE_INSTANCE` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_SERVICE_INSTANCE` ( - `vnf_id` varchar(64) NOT NULL, - `service_instance_id` varchar(255) NOT NULL, - `relationship_key` varchar(64) NOT NULL, - `relationship_value` varchar(64) DEFAULT NULL, - `global_customer_id` varchar(255) DEFAULT NULL, - `service_type` varchar(255) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`service_instance_id`,`relationship_key`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_VNF_IMAGE` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_VNF_IMAGE` ( - `vnf_id` varchar(64) NOT NULL, - `att_uuid` varchar(255) NOT NULL, - PRIMARY KEY (`vnf_id`,`att_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VNF_VSERVER` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VNF_VSERVER` ( - `vnf_id` varchar(80) NOT NULL, - `vserver_id` varchar(128) NOT NULL, - `tenant_id` varchar(128) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`vserver_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GENERIC_VPN_BINDING` --- - -CREATE TABLE IF NOT EXISTS `GENERIC_VPN_BINDING` ( - `vpn_id` varchar(80) NOT NULL, - `vpn_name` varchar(80) NOT NULL, - `global_route_target` varchar(80) NOT NULL, - PRIMARY KEY (`vpn_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `GET_CONFIG_TEMPLATE` --- - -CREATE TABLE IF NOT EXISTS `GET_CONFIG_TEMPLATE` ( - `get_config_template_id` int(11) NOT NULL AUTO_INCREMENT, - `vnf_type` varchar(50) NOT NULL, - `device_interface_protocol_id` int(11) NOT NULL, - `xml_processing` varchar(1) DEFAULT NULL, - `xml_protocol` varchar(30) DEFAULT NULL, - `template` longtext, - PRIMARY KEY (`get_config_template_id`), - UNIQUE KEY `get_config_template_id` (`get_config_template_id`), - KEY `get_config_template_ibfk_1` (`device_interface_protocol_id`), - CONSTRAINT `get_config_template_ibfk_1` FOREIGN KEY (`device_interface_protocol_id`) REFERENCES `DEVICE_INTERFACE_PROTOCOL` (`device_interface_protocol_id`) ON DELETE NO ACTION ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `LOCATION` --- - -CREATE TABLE IF NOT EXISTS `LOCATION` ( - `loc_id` int(11) NOT NULL AUTO_INCREMENT, - `address` varchar(150) NOT NULL, - `city_code_id` int(11) NOT NULL, - `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`loc_id`), - KEY `IN1_LOCATION_IDX` (`city_code_id`), - CONSTRAINT `FK1_LOCATION` FOREIGN KEY (`city_code_id`) REFERENCES `CITY_CODE` (`city_code_id`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB AUTO_INCREMENT=327 DEFAULT CHARSET=latin1; - --- --- Table structure for table `HOSTNAME` --- - -CREATE TABLE IF NOT EXISTS `HOSTNAME` ( - `hostname` varchar(21) NOT NULL, - `parent_hostname` varchar(21) DEFAULT NULL, - `cust_id` int(11) NOT NULL, - `loc_id` int(11) NOT NULL, - `site_sequence` varchar(2) NOT NULL, - `server_sequence` varchar(2) NOT NULL, - `activation_code` varchar(11) DEFAULT NULL, - `vnf_sequence` varchar(2) DEFAULT NULL, - `vendor_code` varchar(1) NOT NULL, - `virtual_device_type` varchar(2) DEFAULT NULL, - `device_sequence` varchar(3) DEFAULT NULL, - `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`hostname`), - KEY `IN1_HOSTNAME` (`cust_id`), - KEY `IN2_HOSTNAME` (`loc_id`), - KEY `IN3_HOSTNAME` (`vendor_code`), - KEY `IN4_HOSTNAME` (`parent_hostname`), - CONSTRAINT `FK1_HOSTNAME` FOREIGN KEY (`cust_id`) REFERENCES `CUSTOMER` (`cust_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, - CONSTRAINT `FK2_HOSTNAME` FOREIGN KEY (`loc_id`) REFERENCES `LOCATION` (`loc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, - CONSTRAINT `FK4_HOSTNAME` FOREIGN KEY (`parent_hostname`) REFERENCES `HOSTNAME` (`hostname`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `IPV4_ADDRESS_POOL` --- - -CREATE TABLE IF NOT EXISTS `IPV4_ADDRESS_POOL` ( - `aic_site_id` varchar(100) NOT NULL, - `universe` varchar(40) NOT NULL, - `status` varchar(40) NOT NULL, - `ipv4_addr` varchar(20) NOT NULL, - PRIMARY KEY (`ipv4_addr`,`universe`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `LINK_MASTER` --- - -CREATE TABLE IF NOT EXISTS `LINK_MASTER` ( - `link_interface_ip` varchar(20) NOT NULL, - `source_crs_name` varchar(20) NOT NULL, - `destination_crs_name` varchar(20) NOT NULL, - `max_reserved_bw` int(11) DEFAULT NULL, - `default_cost` int(11) DEFAULT NULL, - `bundle_name` varchar(20) DEFAULT NULL, - PRIMARY KEY (`link_interface_ip`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `LINTERFACE_VLAN` --- - -CREATE TABLE IF NOT EXISTS `LINTERFACE_VLAN` ( - `vnf_id` varchar(80) NOT NULL, - `interface_name` varchar(255) NOT NULL, - `vlan_interface` varchar(255) NOT NULL, - `vlan_id_inner` varchar(64) DEFAULT NULL, - `vlan_id_outer` varchar(64) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`), - KEY `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE_IDX` (`vnf_id`,`interface_name`), - CONSTRAINT `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE` FOREIGN KEY (`vnf_id`, `interface_name`) REFERENCES `GENERIC_VNF_LINTERFACE` (`vnf_id`, `interface_name`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `MAX_PORT_SPEED` --- - -CREATE TABLE IF NOT EXISTS `MAX_PORT_SPEED` ( - `max_port_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `image_file_name` varchar(50) NOT NULL, - `end_point_position` varchar(50) NOT NULL, - `interface_name` varchar(100) NOT NULL, - `max_speed` bigint(20) NOT NULL, - `unit` varchar(10) NOT NULL, - PRIMARY KEY (`max_port_speed_id`), - UNIQUE KEY `max_port_speed_id` (`max_port_speed_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `MAX_SERVER_SPEED` --- - -CREATE TABLE IF NOT EXISTS `MAX_SERVER_SPEED` ( - `max_server_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `server_model` varchar(50) NOT NULL, - `evc_count` smallint(6) NOT NULL, - `max_speed` bigint(20) NOT NULL, - `unit` varchar(10) NOT NULL, - `description` varchar(500) DEFAULT NULL, - PRIMARY KEY (`max_server_speed_id`), - UNIQUE KEY `max_server_speed_id` (`max_server_speed_id`) -) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1; - --- --- Table structure for table `NAMING_POLICY_VM_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `NAMING_POLICY_VM_NAME_INDEX` ( - `vm_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`vm_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NAMING_POLICY_VNFC_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `NAMING_POLICY_VNFC_NAME_INDEX` ( - `vnfc_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`vnfc_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_ASSIGN_VPN_OVERRIDE` --- - -CREATE TABLE IF NOT EXISTS `NBNC_ASSIGN_VPN_OVERRIDE` ( - `vpn_id` varchar(12) NOT NULL DEFAULT '', - `vpn_rt` varchar(16) NOT NULL DEFAULT '', - `service_type` varchar(16) NOT NULL DEFAULT '', - `be_location` varchar(16) NOT NULL DEFAULT '', - `be_type` varchar(32) NOT NULL DEFAULT '', - `be_id` varchar(32) DEFAULT NULL, - `description` varchar(128) DEFAULT NULL, - PRIMARY KEY (`vpn_id`,`vpn_rt`,`service_type`,`be_location`,`be_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_BORDER_ELEMENT` --- - -CREATE TABLE IF NOT EXISTS `NBNC_BORDER_ELEMENT` ( - `be_id` varchar(32) NOT NULL, - `be_type` varchar(16) NOT NULL, - `be_name` varchar(32) DEFAULT NULL, - `be_host_vnf_id` varchar(32) DEFAULT NULL, - `service_type` varchar(16) DEFAULT NULL, - `tangibility` varchar(16) DEFAULT NULL, - `usage_order` smallint(6) DEFAULT NULL, - `vlan_start` smallint(6) DEFAULT NULL, - `vlan_end` smallint(6) DEFAULT NULL, - `ipv4_subnet` varchar(18) DEFAULT NULL, - `ipv6_subnet` varchar(68) DEFAULT NULL, - `network_ip` varchar(48) DEFAULT NULL, - `be_location` varchar(16) DEFAULT NULL, - `description` varchar(128) DEFAULT NULL, - `updated_timestamp` timestamp NULL DEFAULT NULL, - `log_link_model_uuid` varchar(64) DEFAULT NULL, - PRIMARY KEY (`be_id`,`be_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_IPE` --- - -CREATE TABLE IF NOT EXISTS `NBNC_IPE` ( - `ipe_name` varchar(32) NOT NULL, - `ipe_location` varchar(16) DEFAULT NULL, - `ipe_ip_address` varchar(16) DEFAULT NULL, - `ipe_id` varchar(8) DEFAULT NULL, - `service_type_array` varchar(512) DEFAULT NULL, - `ipe_status` varchar(32) DEFAULT NULL, - `updated_timestamp` timestamp NULL DEFAULT NULL, - PRIMARY KEY (`ipe_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_IPE_PORT` --- - -CREATE TABLE IF NOT EXISTS `NBNC_IPE_PORT` ( - `port_id` varchar(16) NOT NULL, - `ipe_name` varchar(32) NOT NULL, - `be_id` varchar(32) NOT NULL, - `be_type` varchar(16) NOT NULL, - `port_type` varchar(16) DEFAULT NULL, - `ae_name` varchar(16) DEFAULT NULL, - `description` varchar(128) DEFAULT NULL, - `updated_timestamp` timestamp NULL DEFAULT NULL, - PRIMARY KEY (`port_id`,`ipe_name`,`be_id`,`be_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_MAPPING_SBG_BGF` --- - -CREATE TABLE IF NOT EXISTS `NBNC_MAPPING_SBG_BGF` ( - `asbg_vlan` smallint(6) NOT NULL, - `bgf_vlan` smallint(6) NOT NULL, - PRIMARY KEY (`asbg_vlan`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_SERVICE` --- - -CREATE TABLE IF NOT EXISTS `NBNC_SERVICE` ( - `service_type` varchar(16) NOT NULL, - `service_model_uuid` varchar(64) NOT NULL, - `description` varchar(128) DEFAULT NULL, - `created_timestamp` timestamp NULL DEFAULT NULL, - `updated_timestamp` timestamp NULL DEFAULT NULL, - PRIMARY KEY (`service_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NBNC_SERVICE_VLAN` --- - -CREATE TABLE IF NOT EXISTS `NBNC_SERVICE_VLAN` ( - `be_id` varchar(32) NOT NULL, - `vlan` smallint(6) NOT NULL, - `service_type` varchar(16) DEFAULT NULL, - `be_type` varchar(16) DEFAULT NULL, - `be_name` varchar(32) DEFAULT NULL, - `be_host_vnf_id` varchar(32) DEFAULT NULL, - `be_location` varchar(16) DEFAULT NULL, - `be_usage_order` smallint(6) DEFAULT NULL, - `vlan_usage_order` smallint(6) DEFAULT NULL, - `status` varchar(16) DEFAULT 'AVAILABLE', - `request_id` varchar(64) DEFAULT NULL, - `service_instance_id` varchar(64) DEFAULT NULL, - `vni_id` varchar(16) DEFAULT NULL, - `customer_id` varchar(16) DEFAULT NULL, - `ipe1_router_name` varchar(32) DEFAULT NULL, - `ipe1_port_id` varchar(16) DEFAULT NULL, - `ipe1_ae_name` varchar(16) DEFAULT NULL, - `ipe2_router_name` varchar(32) DEFAULT NULL, - `ipe2_port_id` varchar(16) DEFAULT NULL, - `ipe2_ae_name` varchar(16) DEFAULT NULL, - `available_timestamp` timestamp NULL DEFAULT NULL, - `allocated_timestamp` timestamp NULL DEFAULT NULL, - `disabled_timestamp` timestamp NULL DEFAULT NULL, - `enabled_timestamp` timestamp NULL DEFAULT NULL, - `vpn_id` varchar(12) DEFAULT NULL, - `vpn_rt` varchar(16) DEFAULT NULL, - PRIMARY KEY (`be_id`,`vlan`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NCS_EXPECTED_ASYNC_REQUESTS` --- - -CREATE TABLE IF NOT EXISTS `NCS_EXPECTED_ASYNC_REQUESTS` ( - `ncs_request_id` varchar(255) NOT NULL, - `mso_gp_request_id` varchar(255) NOT NULL, - `service_instance_id` varchar(255) NOT NULL, - `sdn_module_name` varchar(255) NOT NULL, - `sdn_rpc_name` varchar(255) NOT NULL, - `sdn_service_action` varchar(255) DEFAULT NULL, - `ncs_rpc` varchar(255) NOT NULL, - `ncs_sub_action` varchar(255) DEFAULT NULL, - `status` varchar(255) NOT NULL DEFAULT 'inProgress', - `creation_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`ncs_request_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NETWORK_INSTANCE_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `NETWORK_INSTANCE_NAME_INDEX` ( - `network_instance_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`network_instance_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `SERVICE_MODEL` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_MODEL` ( - `service_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `name` varchar(255) DEFAULT NULL, - `description` varchar(1024) DEFAULT NULL, - `type` varchar(255) DEFAULT NULL, - `category` varchar(255) DEFAULT NULL, - `ecomp_naming` char(1) DEFAULT NULL, - `service_instance_name_prefix` varchar(255) DEFAULT NULL, - `filename` varchar(100) DEFAULT NULL, - `naming_policy` varchar(255) DEFAULT NULL, - PRIMARY KEY (`service_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `NETWORK_MODEL` --- - -CREATE TABLE IF NOT EXISTS `NETWORK_MODEL` ( - `customization_uuid` varchar(255) NOT NULL, - `service_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `uuid` varchar(255) DEFAULT NULL, - `network_type` varchar(255) DEFAULT NULL, - `network_role` varchar(255) DEFAULT NULL, - `network_technology` varchar(255) DEFAULT NULL, - `trunk_network_indicator` char(1) DEFAULT NULL, - `network_scope` varchar(255) DEFAULT NULL, - `naming_policy` varchar(255) DEFAULT NULL, - `ecomp_generated_naming` char(1) DEFAULT NULL, - `is_shared_network` char(1) DEFAULT NULL, - `is_external_network` char(1) DEFAULT NULL, - `is_provider_network` char(1) DEFAULT NULL, - `physical_network_name` varchar(255) DEFAULT NULL, - `is_bound_to_vpn` char(1) DEFAULT NULL, - `vpn_binding` varchar(255) DEFAULT NULL, - `use_ipv4` char(1) DEFAULT NULL, - `ipv4_dhcp_enabled` char(1) DEFAULT NULL, - `ipv4_ip_version` char(1) DEFAULT NULL, - `ipv4_cidr_mask` varchar(255) DEFAULT NULL, - `eipam_v4_address_plan` varchar(255) DEFAULT NULL, - `use_ipv6` char(1) DEFAULT NULL, - `ipv6_dhcp_enabled` char(1) DEFAULT NULL, - `ipv6_ip_version` char(1) DEFAULT NULL, - `ipv6_cidr_mask` varchar(255) DEFAULT NULL, - `eipam_v6_address_plan` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - PRIMARY KEY (`customization_uuid`), - KEY `FK_NETWORK_MODEL` (`service_uuid`), - CONSTRAINT `FK_NETWORK_MODEL` FOREIGN KEY (`service_uuid`) REFERENCES `SERVICE_MODEL` (`service_uuid`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NETWORK_PROFILE` --- - -CREATE TABLE IF NOT EXISTS `NETWORK_PROFILE` ( - `network_type` varchar(100) NOT NULL, - `technology` varchar(100) NOT NULL, - PRIMARY KEY (`network_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NETWORK_ROLE_VPN_BINDING` --- - -CREATE TABLE IF NOT EXISTS `NETWORK_ROLE_VPN_BINDING` ( - `network_role` varchar(80) NOT NULL, - `vpn_id` varchar(80) NOT NULL, - PRIMARY KEY (`network_role`,`vpn_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `NODE_TYPES` --- - -CREATE TABLE IF NOT EXISTS `NODE_TYPES` ( - `nodetype` varchar(80) NOT NULL, - PRIMARY KEY (`nodetype`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `OBJECT_GROUPING` --- - -CREATE TABLE IF NOT EXISTS `OBJECT_GROUPING` ( - `group_id` varchar(128) NOT NULL, - `group_type` varchar(128) NOT NULL, - PRIMARY KEY (`group_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `OBJECT_GROUP_MEMBER_TRACKING` --- - -CREATE TABLE IF NOT EXISTS `OBJECT_GROUP_MEMBER_TRACKING` ( - `group_id` varchar(128) NOT NULL, - `key_id` varchar(128) NOT NULL, - `key_type` varchar(128) NOT NULL, - PRIMARY KEY (`group_id`,`key_id`,`key_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PARAMETERS` --- - -CREATE TABLE IF NOT EXISTS `PARAMETERS` ( - `name` varchar(100) NOT NULL, - `value` varchar(128) NOT NULL, - `category` varchar(24) DEFAULT NULL, - `memo` varchar(128) DEFAULT NULL, - PRIMARY KEY (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PE_INV` --- - -CREATE TABLE IF NOT EXISTS `PE_INV` ( - `EQUIP_ID` int(11) DEFAULT NULL, - `EQUIP_TYPE` varchar(20) DEFAULT NULL, - `PTNII_EQUIP_NAME` varchar(20) DEFAULT NULL, - `IP_ADDR` varchar(15) DEFAULT NULL, - `ROUTER_PROV_STATUS` varchar(50) DEFAULT NULL, - `REGION` varchar(16) DEFAULT NULL, - `COUNTRY_ABBR` varchar(50) DEFAULT NULL, - `EQUIP_NAME_CODE` varchar(50) DEFAULT NULL, - `AS_NUMBER` varchar(5) DEFAULT NULL, - `LOOPBACK1` varchar(15) DEFAULT NULL, - `LOOPBACK2` varchar(15) DEFAULT NULL, - `LOOPBACK3` varchar(15) DEFAULT NULL, - `LOOPBACK40` varchar(15) DEFAULT NULL, - `LOOPBACK65535` varchar(15) DEFAULT NULL, - `INMS_LIST` varchar(20) DEFAULT NULL, - `ENCRYPTED_ACCESS_FLAG` varchar(50) DEFAULT NULL, - `SW_NAME` varchar(100) DEFAULT NULL, - `NMIPADDR` varchar(15) DEFAULT NULL, - `CREATE_DATE` datetime DEFAULT NULL, - `MOD_DATE` datetime DEFAULT NULL, - `FCN_CODE` varchar(50) DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PHYSICAL_LINK` --- - -CREATE TABLE IF NOT EXISTS `PHYSICAL_LINK` ( - `link_name` varchar(255) NOT NULL, - `speed_value` varchar(64) DEFAULT NULL, - `speed_units` varchar(64) DEFAULT NULL, - `circuit_id` varchar(255) NOT NULL, - `dual_mode` varchar(64) NOT NULL, - PRIMARY KEY (`link_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PHYSICAL_LINK_PINTERFACE` --- - -CREATE TABLE IF NOT EXISTS `PHYSICAL_LINK_PINTERFACE` ( - `link_name` varchar(255) NOT NULL, - `hostname` varchar(255) NOT NULL, - `port_name_ft` varchar(255) NOT NULL, - PRIMARY KEY (`link_name`,`hostname`,`port_name_ft`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PINTERFACE` --- - -CREATE TABLE IF NOT EXISTS `PINTERFACE` ( - `hostname` varchar(255) NOT NULL, - `port_name_ft` varchar(255) NOT NULL, - `interface_name` varchar(255) DEFAULT '', - `physical_speed` varchar(255) DEFAULT '', - `physical_units` varchar(255) DEFAULT '', - `port_description` varchar(255) DEFAULT '', - PRIMARY KEY (`hostname`,`port_name_ft`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `POLICY_UPDATE_NOTIFICATION` --- - -CREATE TABLE IF NOT EXISTS `POLICY_UPDATE_NOTIFICATION` ( - `policy_name` varchar(255) NOT NULL, - `version_id` varchar(255) NOT NULL, - `update_type` varchar(255) NOT NULL, - `timestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`policy_name`,`version_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PORTAL_USERS` --- - -CREATE TABLE IF NOT EXISTS `PORTAL_USERS` ( - `email` varchar(64) NOT NULL, - `password` varbinary(255) NOT NULL, - `privilege` char(1) NOT NULL, - PRIMARY KEY (`email`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - --- --- Table structure for table `PREPARE_FILE_RELATIONSHIP` --- - -CREATE TABLE IF NOT EXISTS `PREPARE_FILE_RELATIONSHIP` ( - `prepare_file_relationship_id` int(11) NOT NULL AUTO_INCREMENT, - `service_instance_id` varchar(50) DEFAULT NULL, - `request_id` varchar(255) DEFAULT NULL, - `config_file_id` int(11) DEFAULT NULL, - `asdc_artifacts_id` int(11) DEFAULT NULL, - PRIMARY KEY (`prepare_file_relationship_id`), - UNIQUE KEY `prepare_file_relationship_id` (`prepare_file_relationship_id`), - KEY `ie_prepare_file_relationship` (`config_file_id`), - KEY `ie2_prepare_file_relationship` (`asdc_artifacts_id`), - CONSTRAINT `prepare_file_relationship_ibfk_2` FOREIGN KEY (`asdc_artifacts_id`) REFERENCES `ASDC_ARTIFACTS` (`asdc_artifacts_id`) ON DELETE NO ACTION ON UPDATE CASCADE, - CONSTRAINT `prepare_file_replationship_ibfk_1` FOREIGN KEY (`config_file_id`) REFERENCES `CONFIGFILES` (`config_file_id`) ON DELETE NO ACTION ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `PRE_LOAD_VNF_DATA` --- - -CREATE TABLE IF NOT EXISTS `PRE_LOAD_VNF_DATA` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `svc_request_id` varchar(100) DEFAULT '', - `svc_action` varchar(40) DEFAULT '', - `status` varchar(10) NOT NULL DEFAULT 'pending', - `filename` varchar(100) NOT NULL, - `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `preload_data` longblob, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=295 DEFAULT CHARSET=latin1; - --- --- Table structure for table `PRE_LOAD_VNF_NETWORK_DATA` --- - -CREATE TABLE IF NOT EXISTS `PRE_LOAD_VNF_NETWORK_DATA` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `svc_request_id` varchar(100) DEFAULT '', - `svc_action` varchar(40) DEFAULT '', - `status` varchar(10) NOT NULL DEFAULT 'pending', - `filename` varchar(100) NOT NULL, - `ts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - `preload_data` longblob, - PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=278 DEFAULT CHARSET=latin1; - --- --- Table structure for table `PSERVER` --- - -CREATE TABLE IF NOT EXISTS `PSERVER` ( - `hostname` varchar(255) NOT NULL, - `ptnii_equip_name` varchar(255) DEFAULT '', - `number_of_cpus` varchar(255) DEFAULT '', - `disk_in_gigabytes` varchar(255) DEFAULT '', - `ram_in_megabytes` varchar(255) DEFAULT '', - `equip_type` varchar(255) DEFAULT '', - `equip_vendor` varchar(255) DEFAULT '', - `equip_model` varchar(255) DEFAULT '', - `fqdn` varchar(255) DEFAULT '', - `pserver_selflink` varchar(255) DEFAULT '', - `ipv4_oam_address` varchar(40) DEFAULT NULL, - `serial_number` varchar(255) DEFAULT '', - `pserver_id` varchar(255) DEFAULT '', - `internet_topology` varchar(40) DEFAULT '', - `aic_site_id` varchar(100) DEFAULT '', - `in_maint` varchar(5) DEFAULT '', - `pserver_name2` varchar(255) DEFAULT '', - `purpose` varchar(255) DEFAULT '', - PRIMARY KEY (`hostname`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `RANGE_RULE` --- - -CREATE TABLE IF NOT EXISTS `RANGE_RULE` ( - `range_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `range_name` varchar(50) NOT NULL, - `service_model` varchar(50) NOT NULL, - `end_point_position` varchar(50) NOT NULL, - `equipment_level` varchar(50) NOT NULL, - `min_value` int(11) NOT NULL, - `max_value` int(11) NOT NULL, - PRIMARY KEY (`range_rule_id`) -) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1; - --- --- Table structure for table `REQUEST_DETAILS` --- - -CREATE TABLE IF NOT EXISTS `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, - `domain_requests` varchar(255) DEFAULT NULL, - PRIMARY KEY (`request_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `REQUEST_PROGRESS` --- - -CREATE TABLE IF NOT EXISTS `REQUEST_PROGRESS` ( - `request_id` int(11) NOT NULL AUTO_INCREMENT, - `request_type` varchar(20) DEFAULT NULL, - `service_instance_id` varchar(80) NOT NULL, - `request_instance_type` varchar(20) NOT NULL, - `originating_service_instance_id` varchar(80) DEFAULT NULL, - `originating_service_type` varchar(20) DEFAULT NULL, - `overall_status` varchar(20) DEFAULT NULL, - `status_date` varchar(80) DEFAULT NULL, - `message` varchar(255) DEFAULT NULL, - PRIMARY KEY (`request_id`) -) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; - --- --- Table structure for table `REQUEST_PROGRESS_STATE` --- - -CREATE TABLE IF NOT EXISTS `REQUEST_PROGRESS_STATE` ( - `request_progress_state_id` int(11) NOT NULL AUTO_INCREMENT, - `request_id` int(11) DEFAULT NULL, - `service_instance_id` varchar(80) NOT NULL, - `request_instance_type` varchar(20) NOT NULL, - `progress_state` varchar(30) DEFAULT NULL, - `transaction_status` varchar(20) DEFAULT NULL, - `status_date` varchar(80) DEFAULT NULL, - `response_code` varchar(20) DEFAULT NULL, - `message` varchar(255) DEFAULT NULL, - PRIMARY KEY (`request_progress_state_id`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; - --- --- Table structure for table `RESOURCE` --- - -CREATE TABLE IF NOT EXISTS `RESOURCE` ( - `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `asset_id` varchar(100) NOT NULL, - `resource_name` varchar(50) NOT NULL, - `resource_type` enum('Limit','Label','Range') NOT NULL, - `lt_used` bigint(20) DEFAULT NULL, - `ll_label` varchar(50) DEFAULT NULL, - `ll_reference_count` smallint(6) DEFAULT NULL, - `rr_used` varchar(4000) DEFAULT NULL, - PRIMARY KEY (`resource_id`), - UNIQUE KEY `resource_id` (`resource_id`), - UNIQUE KEY `IX1_RESOURCE` (`asset_id`,`resource_name`) -) ENGINE=InnoDB AUTO_INCREMENT=179 DEFAULT CHARSET=latin1; - --- --- Table structure for table `RESOURCE_LOAD` --- - -CREATE TABLE IF NOT EXISTS `RESOURCE_LOAD` ( - `resource_load_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `resource_id` bigint(20) NOT NULL, - `application_id` varchar(20) NOT NULL, - `resource_load_time` datetime NOT NULL, - `resource_expiration_time` datetime DEFAULT NULL, - PRIMARY KEY (`resource_load_id`), - UNIQUE KEY `resource_load_id` (`resource_load_id`), - UNIQUE KEY `IX2_RESOURCE_LOAD` (`resource_id`,`application_id`), - KEY `IX1_RESOURCE_LOAD` (`resource_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `RESOURCE_LOCK` --- - -CREATE TABLE IF NOT EXISTS `RESOURCE_LOCK` ( - `resource_lock_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `resource_name` varchar(256) DEFAULT NULL, - `lock_holder` varchar(100) NOT NULL, - `lock_count` smallint(6) NOT NULL, - `lock_time` datetime NOT NULL, - `expiration_time` datetime NOT NULL, - PRIMARY KEY (`resource_lock_id`), - UNIQUE KEY `resource_lock_id` (`resource_lock_id`), - UNIQUE KEY `IX1_RESOURCE_LOCK` (`resource_name`) -) ENGINE=InnoDB AUTO_INCREMENT=29681 DEFAULT CHARSET=latin1; - --- --- Table structure for table `RESOURCE_RULE` --- - -CREATE TABLE IF NOT EXISTS `RESOURCE_RULE` ( - `resource_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `resource_name` varchar(50) NOT NULL, - `service_model` varchar(50) NOT NULL, - `end_point_position` varchar(50) NOT NULL, - `service_expression` varchar(2000) NOT NULL, - `equipment_level` varchar(50) NOT NULL, - `equipment_expression` varchar(2000) NOT NULL, - `allocation_expression` varchar(2000) NOT NULL, - `soft_limit_expression` varchar(2000) NOT NULL, - `hard_limit_expression` varchar(2000) NOT NULL, - PRIMARY KEY (`resource_rule_id`), - UNIQUE KEY `resource_rule_id` (`resource_rule_id`) -) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1; - --- --- Table structure for table `RESOURCE_THRESHOLD` --- - -CREATE TABLE IF NOT EXISTS `RESOURCE_THRESHOLD` ( - `resource_threshold_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `resource_rule_id` bigint(20) NOT NULL, - `threshold_expression` varchar(2000) NOT NULL, - `threshold_message` varchar(2000) NOT NULL, - PRIMARY KEY (`resource_threshold_id`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; - --- --- Table structure for table `ROUTER_MASTER` --- - -CREATE TABLE IF NOT EXISTS `ROUTER_MASTER` ( - `crs_name` varchar(20) NOT NULL, - `loopback_ip` varchar(20) NOT NULL, - PRIMARY KEY (`crs_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `ROUTING_CHARACTERISTIC_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `ROUTING_CHARACTERISTIC_MAPPING` ( - `network_role` varchar(255) NOT NULL, - `vrf_name` varchar(255) NOT NULL, - `routing_characteristic` varchar(255) NOT NULL, - PRIMARY KEY (`network_role`,`vrf_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_HOMING` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_HOMING` ( - `service_type` varchar(100) NOT NULL, - `lata` int(3) NOT NULL, - `hubbing_city_type` varchar(40) NOT NULL, - `latitude` float DEFAULT NULL, - `longitude` float DEFAULT NULL, - `primary_aic_site_name` varchar(100) NOT NULL, - `secondary_aic_site_name` varchar(100) DEFAULT NULL, - `tertiary_aic_site_name` varchar(100) DEFAULT NULL, - PRIMARY KEY (`service_type`,`lata`,`hubbing_city_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_HOMING_BACKUP` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_HOMING_BACKUP` ( - `service_type` varchar(100) NOT NULL, - `lata` int(3) NOT NULL, - `hubbing_city_type` varchar(40) NOT NULL, - `latitude` float DEFAULT NULL, - `longitude` float DEFAULT NULL, - `primary_aic_site_name` varchar(100) NOT NULL, - `secondary_aic_site_name` varchar(100) DEFAULT NULL, - `tertiary_aic_site_name` varchar(100) DEFAULT NULL, - PRIMARY KEY (`service_type`,`lata`,`hubbing_city_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_INSTANCE_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_INSTANCE_NAME_INDEX` ( - `service_instance_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`service_instance_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_MANAGER_CREDENTIALS` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_MANAGER_CREDENTIALS` ( - `service_manager_username` varchar(255) NOT NULL, - `service_manager_password` varbinary(255) NOT NULL, - PRIMARY KEY (`service_manager_username`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_PROXY` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_PROXY` ( - `port_mirror_service_uuid` varchar(255) NOT NULL, - `service_proxy_name` varchar(255) NOT NULL, - `source_service_uuid` varchar(255) NOT NULL, - `resources_vendor` varchar(255) DEFAULT NULL, - `resource_vendor_release` varchar(255) DEFAULT NULL, - `description` varchar(255) DEFAULT NULL, - `category` varchar(255) DEFAULT NULL, - `subcategory` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `role` varchar(255) NOT NULL, - `uuid` varchar(255) DEFAULT NULL, - `customization_uuid` varchar(255) DEFAULT NULL, - `invariant_uuid` varchar(255) DEFAULT NULL, - PRIMARY KEY (`port_mirror_service_uuid`,`service_proxy_name`), - KEY `FK_SERVICE_PROXY_SOURCE_TO_SERVICE_MODE` (`source_service_uuid`), - CONSTRAINT `FK_SERVICE_PROXY_MIRROR_TO_SERVICE_MODE` FOREIGN KEY (`port_mirror_service_uuid`) REFERENCES `SERVICE_MODEL` (`service_uuid`) ON DELETE CASCADE ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_RESOURCE` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_RESOURCE` ( - `service_resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `service_instance_id` varchar(80) NOT NULL, - `service_status` enum('Active','Pending') NOT NULL, - `service_change_number` smallint(6) NOT NULL, - `resource_set_id` varchar(100) NOT NULL, - `resource_union_id` varchar(100) NOT NULL, - PRIMARY KEY (`service_instance_id`,`service_change_number`), - UNIQUE KEY `service_resource_id` (`service_resource_id`), - KEY `IX1_SERVICE_RESOURCE` (`service_instance_id`) -) ENGINE=InnoDB AUTO_INCREMENT=955 DEFAULT CHARSET=latin1; - --- --- Table structure for table `SERVICE_TYPE_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `SERVICE_TYPE_MAPPING` ( - `sdnc_service_type` varchar(128) NOT NULL, - `ncs_service_type` varchar(128) NOT NULL, - PRIMARY KEY (`sdnc_service_type`,`ncs_service_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SUBNETPOOL_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `SUBNETPOOL_MAPPING` ( - `aic_cloud_region` varchar(16) NOT NULL, - `ntc` varchar(32) NOT NULL, - `lcp` varchar(32) NOT NULL, - `aic_region_id` varchar(255) NOT NULL, - PRIMARY KEY (`aic_cloud_region`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SUPPORTED_SEQUENCE_NUMBER` --- - -CREATE TABLE IF NOT EXISTS `SUPPORTED_SEQUENCE_NUMBER` ( - `resource_sequence_number` varchar(10) NOT NULL, - `resource_type` varchar(10) NOT NULL, - PRIMARY KEY (`resource_sequence_number`,`resource_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `SVC_LOGIC` --- - -CREATE TABLE IF NOT EXISTS `SVC_LOGIC` ( - `module` varchar(80) NOT NULL, - `rpc` varchar(80) NOT NULL, - `version` varchar(40) NOT NULL, - `mode` varchar(5) NOT NULL, - `active` varchar(1) NOT NULL, - `graph` longblob, - `modified_timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `md5sum` varchar(128) DEFAULT NULL, - PRIMARY KEY (`module`,`rpc`,`version`,`mode`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TABLE_CLEANUP_CONFIGURATION` --- - -CREATE TABLE IF NOT EXISTS `TABLE_CLEANUP_CONFIGURATION` ( - `table_name` varchar(255) NOT NULL COMMENT 'The name of the table the cleanup will be performed on', - `days_old` int(11) NOT NULL COMMENT 'Records older than the current date minus DAYS_OLD will be deleted', - `date_column` varchar(255) NOT NULL COMMENT 'The name of the column containing the date to be checked', - `commit_interval` int(11) NOT NULL DEFAULT '2500' COMMENT 'The maximum number of rows a commit may contain', - `query_clause` varchar(1000) DEFAULT NULL COMMENT 'An optional additional query clause to further restrict deletion criteria', - `child_table_name` varchar(255) DEFAULT NULL, - `child_table_pk` varchar(255) DEFAULT NULL, - PRIMARY KEY (`table_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='This table will be used by the table clean-up script, tableCleanup.sh, to drive what tables should be purged and what the purge criteria are.'; - --- --- Table structure for table `TASK_TEMPLATE` --- - -CREATE TABLE IF NOT EXISTS `TASK_TEMPLATE` ( - `task_template_id` int(11) NOT NULL AUTO_INCREMENT, - `request_type` varchar(20) DEFAULT NULL, - `task_name` varchar(30) NOT NULL, - `task_category` varchar(50) NOT NULL, - `ecomp_task` varchar(50) NOT NULL, - `initial_load` varchar(1) NOT NULL, - `service` varchar(20) DEFAULT NULL, - PRIMARY KEY (`task_template_id`) -) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; - --- --- Table structure for table `TENANT` --- - -CREATE TABLE IF NOT EXISTS `TENANT` ( - `tenant_id` varchar(255) NOT NULL, - `tenant_name` varchar(255) NOT NULL, - `service_instance_id` varchar(255) NOT NULL, - PRIMARY KEY (`tenant_id`,`tenant_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TESTTBL` --- - -CREATE TABLE IF NOT EXISTS `TESTTBL` ( - `pk` varchar(25) NOT NULL, - `col1` varchar(25) DEFAULT NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `THRESHOLD_NOTIFICATION` --- - -CREATE TABLE IF NOT EXISTS `THRESHOLD_NOTIFICATION` ( - `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `threshold_expression` varchar(2000) DEFAULT NULL, - `threshold_message` varchar(500) DEFAULT NULL, - PRIMARY KEY (`resource_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TMP_AIC_AVAIL_ZONE_POOL` --- - -CREATE TABLE IF NOT EXISTS `TMP_AIC_AVAIL_ZONE_POOL` ( - `aic_site_id` varchar(100) NOT NULL, - `status` varchar(40) NOT NULL, - `availability_zone` varchar(100) NOT NULL, - `token` int(4) NOT NULL, - `vnf_id` varchar(80) DEFAULT NULL, - `service_type` varchar(100) NOT NULL, - `vnf_type` varchar(20) DEFAULT NULL, - `hypervisor` varchar(10) DEFAULT NULL, - PRIMARY KEY (`aic_site_id`,`availability_zone`,`token`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TOPOLOGY_PARAMETER` --- - -CREATE TABLE IF NOT EXISTS `TOPOLOGY_PARAMETER` ( - `parameter_id` int(11) NOT NULL, - `parameter_name` varchar(20) NOT NULL, - `parameter_set` int(11) NOT NULL, - `create_update_time` datetime NOT NULL, - `create_update_user` varchar(40) NOT NULL, - PRIMARY KEY (`parameter_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TOPOLOGY_PARAMETER_ENTRIES` --- - -CREATE TABLE IF NOT EXISTS `TOPOLOGY_PARAMETER_ENTRIES` ( - `parameter_entry_id` int(11) NOT NULL, - `parameter_name` varchar(255) NOT NULL, - `parameter_value` varchar(64) NOT NULL, - `create_update_time` datetime NOT NULL, - `create_update_user` varchar(40) NOT NULL, - PRIMARY KEY (`parameter_entry_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TOPOLOGY_PARAMETER_TO_ENTRIES` --- - -CREATE TABLE IF NOT EXISTS `TOPOLOGY_PARAMETER_TO_ENTRIES` ( - `parameter_id` int(11) DEFAULT NULL, - `parameter_entry_id` int(11) DEFAULT NULL, - `entry_order` int(11) DEFAULT NULL, - `create_update_time` datetime DEFAULT NULL, - `create_update_user` varchar(40) NOT NULL, - KEY `FK1_TOPOLOGY_PARAMETER_TO_ENTRIES` (`parameter_id`), - KEY `FK2_TOPOLOGY_PARAMETER_TO_ENTRIES` (`parameter_entry_id`), - CONSTRAINT `FK1_TOPOLOGY_PARAMETER_TO_ENTRIES` FOREIGN KEY (`parameter_id`) REFERENCES `TOPOLOGY_PARAMETER` (`parameter_id`), - CONSTRAINT `FK2_TOPOLOGY_PARAMETER_TO_ENTRIES` FOREIGN KEY (`parameter_entry_id`) REFERENCES `TOPOLOGY_PARAMETER_ENTRIES` (`parameter_entry_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE` --- - -CREATE TABLE IF NOT EXISTS `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; - --- --- Table structure for table `TRANSACTION_LOG` --- - -CREATE TABLE IF NOT EXISTS `TRANSACTION_LOG` ( - `serial_key` int(10) NOT NULL AUTO_INCREMENT, - `log_time` varchar(40) NOT NULL, - `request_id` varchar(80) DEFAULT NULL, - `svc_request_id` varchar(80) DEFAULT NULL, - `x_ecomp_request_id` varchar(80) DEFAULT NULL, - `graph_name` varchar(255) DEFAULT NULL, - PRIMARY KEY (`serial_key`) -) ENGINE=InnoDB AUTO_INCREMENT=249 DEFAULT CHARSET=latin1; - - --- --- Table structure for table `UPLOAD_CONFIG` --- - -CREATE TABLE IF NOT EXISTS `UPLOAD_CONFIG` ( - `upload_config_id` int(11) NOT NULL AUTO_INCREMENT, - `request_id` varchar(50) DEFAULT NULL, - `originator_id` varchar(50) DEFAULT NULL, - `service_description` varchar(100) DEFAULT NULL, - `action` varchar(50) DEFAULT NULL, - `upload_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, - `vnf_id` varchar(50) DEFAULT NULL, - `vnf_name` varchar(50) DEFAULT NULL, - `vm_name` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnfc_type` varchar(50) DEFAULT NULL, - `host_ip_address` varchar(50) DEFAULT NULL, - `config_indicator` varchar(25) DEFAULT NULL, - `pending_delete` varchar(1) DEFAULT NULL, - `content` longtext, - PRIMARY KEY (`upload_config_id`), - UNIQUE KEY `upload_config_id` (`upload_config_id`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - --- --- Table structure for table `USED_SEQUENCE_NUMBER` --- - -CREATE TABLE IF NOT EXISTS `USED_SEQUENCE_NUMBER` ( - `resource_sequence_number` varchar(10) NOT NULL, - `resource_type` varchar(10) NOT NULL, - `zone_region_id` varchar(50) NOT NULL, - PRIMARY KEY (`resource_sequence_number`,`resource_type`,`zone_region_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `USER_TRACE` --- - -CREATE TABLE IF NOT EXISTS `USER_TRACE` ( - `user_trace_seq` int(11) NOT NULL AUTO_INCREMENT, - `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `identity` varchar(12) DEFAULT NULL, - `action` varchar(128) DEFAULT NULL, - `description` varchar(256) DEFAULT NULL, - PRIMARY KEY (`user_trace_seq`) -) ENGINE=InnoDB AUTO_INCREMENT=392 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VENDOR_CODE` --- - -CREATE TABLE IF NOT EXISTS `VENDOR_CODE` ( - `vendor_code` varchar(1) NOT NULL, - `vendor` varchar(45) NOT NULL DEFAULT '', - PRIMARY KEY (`vendor_code`,`vendor`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VFC_MODEL` --- - -CREATE TABLE IF NOT EXISTS `VFC_MODEL` ( - `customization_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `uuid` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `naming_policy` varchar(255) DEFAULT NULL, - `ecomp_generated_naming` char(1) DEFAULT NULL, - `nfc_function` varchar(255) DEFAULT NULL, - `nfc_naming_code` varchar(255) DEFAULT NULL, - `vm_type` varchar(255) DEFAULT NULL, - `vm_type_tag` varchar(255) DEFAULT NULL, - `vm_image_name` varchar(255) DEFAULT NULL, - `vm_flavor_name` varchar(255) DEFAULT NULL, - `high_availability` varchar(255) DEFAULT NULL, - `nfc_naming` varchar(255) DEFAULT NULL, - `min_instances` int(11) DEFAULT NULL, - `max_instances` int(11) DEFAULT NULL, - PRIMARY KEY (`customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VFC_TO_NETWORK_ROLE_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VFC_TO_NETWORK_ROLE_MAPPING` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `vfc_customization_uuid` varchar(255) NOT NULL, - `network_role` varchar(255) NOT NULL, - `vm_type` varchar(255) DEFAULT NULL, - `network_role_tag` varchar(255) DEFAULT NULL, - `ipv4_count` int(11) NOT NULL, - `ipv6_count` int(11) NOT NULL, - `ipv4_use_dhcp` char(1) DEFAULT NULL, - `ipv6_use_dhcp` char(1) DEFAULT NULL, - `ipv4_ip_version` char(1) DEFAULT NULL, - `ipv6_ip_version` char(1) DEFAULT NULL, - `extcp_subnetpool_id` varchar(512) DEFAULT NULL, - `ipv4_floating_count` int(11) DEFAULT NULL, - `ipv6_floating_count` int(11) DEFAULT NULL, - `ipv4_address_plan_name` varchar(512) DEFAULT NULL, - `ipv6_address_plan_name` varchar(512) DEFAULT NULL, - `ipv4_vrf_name` varchar(512) DEFAULT NULL, - `ipv6_vrf_name` varchar(512) DEFAULT NULL, - `subnet_role` varchar(255) DEFAULT NULL, - `subinterface_indicator` char(1) DEFAULT NULL, - PRIMARY KEY (`seq`), - KEY `IX1_VFC_TO_NETWORK_ROLE_MAPPING` (`vfc_customization_uuid`) -) ENGINE=InnoDB AUTO_INCREMENT=1791 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VF_MODEL` --- - -CREATE TABLE IF NOT EXISTS `VF_MODEL` ( - `customization_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `uuid` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `name` varchar(255) DEFAULT NULL, - `naming_policy` varchar(255) DEFAULT NULL, - `ecomp_generated_naming` char(1) DEFAULT NULL, - `avail_zone_max_count` int(11) DEFAULT NULL, - `nf_function` varchar(255) DEFAULT NULL, - `nf_code` varchar(255) DEFAULT NULL, - `nf_type` varchar(255) DEFAULT NULL, - `nf_role` varchar(255) DEFAULT NULL, - `vendor` varchar(255) DEFAULT NULL, - `vendor_version` varchar(255) DEFAULT NULL, - PRIMARY KEY (`customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VF_MODULE_MODEL` --- - -CREATE TABLE IF NOT EXISTS `VF_MODULE_MODEL` ( - `customization_uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) DEFAULT NULL, - `uuid` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `vf_module_type` varchar(255) DEFAULT NULL, - `availability_zone_count` int(11) DEFAULT NULL, - `ecomp_generated_vm_assignments` char(1) DEFAULT NULL, - PRIMARY KEY (`customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VF_MODULE_TO_VFC_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VF_MODULE_TO_VFC_MAPPING` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `vf_module_customization_uuid` varchar(255) NOT NULL, - `vfc_customization_uuid` varchar(255) NOT NULL, - `vm_type` varchar(255) NOT NULL, - `vm_count` int(11) NOT NULL, - PRIMARY KEY (`seq`), - KEY `IX1_VF_MODULE_TO_VFC_MAPPING` (`vf_module_customization_uuid`) -) ENGINE=InnoDB AUTO_INCREMENT=1591 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VF_TO_NETWORK_ROLE_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VF_TO_NETWORK_ROLE_MAPPING` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `vf_customization_uuid` varchar(255) NOT NULL, - `network_role` varchar(255) NOT NULL, - PRIMARY KEY (`seq`), - KEY `IX1_VF_TO_NETWORK_ROLE_MAPPING` (`vf_customization_uuid`) -) ENGINE=InnoDB AUTO_INCREMENT=348 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VIPR_CONFIGURATION` --- - -CREATE TABLE IF NOT EXISTS `VIPR_CONFIGURATION` ( - `seq` int(11) NOT NULL AUTO_INCREMENT, - `serial_number` varchar(255) DEFAULT NULL, - `vnf_id` varchar(255) DEFAULT NULL, - `vnf_name` varchar(255) DEFAULT NULL, - `ecomp_service_instance_id` varchar(255) DEFAULT NULL, - `vm_name` varchar(255) DEFAULT NULL, - `cloud_region_id` varchar(255) DEFAULT NULL, - `cloud_owner` varchar(255) DEFAULT NULL, - PRIMARY KEY (`seq`) -) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VIPR_SZ_MANAGER_KEY` --- - -CREATE TABLE IF NOT EXISTS `VIPR_SZ_MANAGER_KEY` ( - `vipr_sz_manager_ip_addr` varchar(40) NOT NULL, - `vipr_sz_manager_state` varchar(10) DEFAULT NULL, - `vipr_sz_manager_api_key` varchar(255) DEFAULT NULL, - PRIMARY KEY (`vipr_sz_manager_ip_addr`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_ID_POOL` --- - -CREATE TABLE IF NOT EXISTS `VLAN_ID_POOL` ( - `aic_site_id` varchar(100) NOT NULL, - `purpose` varchar(40) NOT NULL, - `status` varchar(40) NOT NULL, - `vlan_id` int(4) NOT NULL, - `svc_instance_id` varchar(80) DEFAULT NULL, - `availability_zone` varchar(100) DEFAULT NULL, - `vplspe_name` varchar(80) DEFAULT NULL, - PRIMARY KEY (`vlan_id`,`aic_site_id`,`purpose`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_L3INTERFACE_IPV4_ADDRESS` --- - -CREATE TABLE IF NOT EXISTS `VLAN_L3INTERFACE_IPV4_ADDRESS` ( - `vnf_id` varchar(80) NOT NULL, - `interface_name` varchar(255) NOT NULL, - `vlan_interface` varchar(255) NOT NULL, - `l3_interface_ipv4_address` varchar(64) NOT NULL, - `l3_interface_ipv4_prefix_length` varchar(45) DEFAULT NULL, - `vlan_id_inner` varchar(45) DEFAULT NULL, - `vlan_id_outer` varchar(45) DEFAULT NULL, - `is_floating` varchar(1) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv4_address`), - KEY `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`), - CONSTRAINT `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_L3INTERFACE_IPV6_ADDRESS` --- - -CREATE TABLE IF NOT EXISTS `VLAN_L3INTERFACE_IPV6_ADDRESS` ( - `vnf_id` varchar(80) NOT NULL, - `interface_name` varchar(255) NOT NULL, - `vlan_interface` varchar(255) NOT NULL, - `l3_interface_ipv6_address` varchar(64) NOT NULL, - `l3_interface_ipv6_prefix_length` varchar(45) DEFAULT NULL, - `vlan_id_inner` varchar(45) DEFAULT NULL, - `vlan_id_outer` varchar(45) DEFAULT NULL, - `is_floating` varchar(1) DEFAULT NULL, - PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv6_address`), - KEY `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`,`vlan_interface`), - CONSTRAINT `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_PLAN_ID` --- - -CREATE TABLE IF NOT EXISTS `VLAN_PLAN_ID` ( - `plan_type` varchar(40) NOT NULL, - `purpose` varchar(40) NOT NULL, - `vlan_plan_id_count` int(4) NOT NULL, - PRIMARY KEY (`vlan_plan_id_count`,`plan_type`,`purpose`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_POOL` --- - -CREATE TABLE IF NOT EXISTS `VLAN_POOL` ( - `aic_site_id` varchar(100) NOT NULL, - `availability_zone` varchar(100) NOT NULL, - `vlan_plan_id` varchar(100) NOT NULL, - `plan_type` varchar(40) NOT NULL, - `purpose` varchar(40) NOT NULL, - `vlan_id` int(4) NOT NULL, - `status` varchar(40) NOT NULL, - `reserved_id` varchar(80) DEFAULT NULL, - PRIMARY KEY (`aic_site_id`,`availability_zone`,`vlan_plan_id`,`plan_type`,`purpose`,`vlan_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VLAN_RANGES` --- - -CREATE TABLE IF NOT EXISTS `VLAN_RANGES` ( - `vlan_plan_id` varchar(100) NOT NULL, - `plan_type` varchar(40) NOT NULL, - `purpose` varchar(40) NOT NULL, - `range_start` int(4) NOT NULL, - `range_end` int(4) NOT NULL, - `generated` char(1) DEFAULT NULL, - PRIMARY KEY (`vlan_plan_id`,`plan_type`,`purpose`,`range_start`,`range_end`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VM_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `VM_NAME_INDEX` ( - `vm_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`vm_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VM_NETWORKS` --- - -CREATE TABLE IF NOT EXISTS `VM_NETWORKS` ( - `vnf_type` varchar(200) NOT NULL, - `vm_type` varchar(45) NOT NULL, - `network_role` varchar(45) NOT NULL, - `assign_ips` tinyint(1) NOT NULL, - `assign_macs` tinyint(1) NOT NULL, - `assign_floating_ip` tinyint(1) NOT NULL, - `ip_count` int(11) DEFAULT NULL, - PRIMARY KEY (`vnf_type`,`vm_type`,`network_role`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VM_PROFILE` --- - -CREATE TABLE IF NOT EXISTS `VM_PROFILE` ( - `vnf_type` varchar(200) NOT NULL, - `vm_type` varchar(45) NOT NULL, - `vm_count` int(11) NOT NULL, - PRIMARY KEY (`vnf_type`,`vm_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF` --- - -CREATE TABLE IF NOT EXISTS `VNF` ( - `vnf_id` varchar(80) NOT NULL, - `vnf_name` varchar(80) NOT NULL, - `vnf_type` varchar(10) NOT NULL, - `orchestration_status` varchar(20) DEFAULT NULL, - `heat_stack_id` varchar(80) DEFAULT NULL, - `mso_catalog_key` varchar(80) DEFAULT NULL, - `availability_zone` varchar(80) DEFAULT NULL, - `aic_site_id` varchar(80) DEFAULT NULL, - `oam_ipv4_address` varchar(20) DEFAULT NULL, - `vnf_name2` varchar(80) DEFAULT NULL, - `vpe_id` varchar(80) NOT NULL, - `ipv4_loopback0_address` varchar(80) DEFAULT NULL, - `license_key` varchar(256) DEFAULT NULL, - `entitlement_resource_uuid` varchar(256) DEFAULT NULL, - PRIMARY KEY (`vnf_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNFC_DG_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VNFC_DG_MAPPING` ( - `vnfc_dg_mapping_id` int(11) NOT NULL AUTO_INCREMENT, - `action` varchar(50) DEFAULT NULL, - `api_version` varchar(10) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnfc_type` varchar(50) DEFAULT NULL, - `dg_name` varchar(50) NOT NULL, - `dg_version` varchar(50) DEFAULT NULL, - `dg_module` varchar(50) NOT NULL, - PRIMARY KEY (`vnfc_dg_mapping_id`), - UNIQUE KEY `input_constraint` (`action`,`api_version`,`vnf_type`,`vnfc_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNFC_REFERENCE` --- - -CREATE TABLE IF NOT EXISTS `VNFC_REFERENCE` ( - `vnfc_reference_id` int(11) NOT NULL AUTO_INCREMENT, - `action` varchar(50) NOT NULL, - `vnf_type` varchar(50) NOT NULL, - `vm_instance` int(11) NOT NULL, - `vnfc_instance` int(11) NOT NULL, - `vnfc_type` varchar(50) NOT NULL, - `vnfc_function_code` varchar(50) NOT NULL, - `ipaddress_v4_oam_vip` varchar(50) DEFAULT NULL, - `group_notation_type` varchar(50) DEFAULT NULL, - `group_notation_value` varchar(50) DEFAULT NULL, - PRIMARY KEY (`vnfc_reference_id`), - UNIQUE KEY `vnfc_reference_id` (`vnfc_reference_id`) -) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_IMAGE` --- - -CREATE TABLE IF NOT EXISTS `VNF_IMAGE` ( - `application_vendor` varchar(255) NOT NULL, - `application_version` varchar(255) NOT NULL, - `att_uuid` varchar(255) NOT NULL, - `application` varchar(255) DEFAULT NULL, - `selflink` varchar(255) DEFAULT NULL, - PRIMARY KEY (`application_vendor`,`application_version`,`att_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_MODEL_LICENSES` --- - -CREATE TABLE IF NOT EXISTS `VNF_MODEL_LICENSES` ( - `att_part_number` varchar(255) NOT NULL, - `license_assignment_group` varchar(255) NOT NULL, - `license_required` tinyint(1) DEFAULT NULL, - `entitlement_assignment_group` varchar(255) DEFAULT NULL, - `entitlement_required` tinyint(1) DEFAULT '0', - `feature_group_uuid` varchar(255) DEFAULT NULL, - PRIMARY KEY (`att_part_number`,`license_assignment_group`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_MODEL_LICENSE_FEATURES` --- - -CREATE TABLE IF NOT EXISTS `VNF_MODEL_LICENSE_FEATURES` ( - `att_part_number` varchar(255) NOT NULL, - `license_assignment_group` varchar(255) NOT NULL, - `feature` varchar(255) NOT NULL, - PRIMARY KEY (`att_part_number`,`license_assignment_group`,`feature`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_NAME_INDEX` --- - -CREATE TABLE IF NOT EXISTS `VNF_NAME_INDEX` ( - `vnf_name_prefix` varchar(255) NOT NULL, - `index_number` int(11) NOT NULL, - PRIMARY KEY (`vnf_name_prefix`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_NETWORKS` --- - -CREATE TABLE IF NOT EXISTS `VNF_NETWORKS` ( - `vnf_type` varchar(200) NOT NULL, - `network_role` varchar(45) NOT NULL, - PRIMARY KEY (`vnf_type`,`network_role`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_NETWORK_CONNECTION` --- - -CREATE TABLE IF NOT EXISTS `VNF_NETWORK_CONNECTION` ( - `connection_uuid` varchar(80) NOT NULL, - `vnf_id` varchar(80) NOT NULL, - `connection_id` varchar(80) DEFAULT NULL, - `connection_type` varchar(20) DEFAULT NULL, - `neutron_network_id` varchar(80) DEFAULT NULL, - `neutron_network_name` varchar(80) DEFAULT NULL, - `orchestration_status` varchar(20) DEFAULT NULL, - `switch_id` varchar(40) DEFAULT NULL, - `heat_stack_id` varchar(80) DEFAULT NULL, - `mso_catalog_key` varchar(80) DEFAULT NULL, - `provider_network` varchar(80) DEFAULT NULL, - `port_group_id` varchar(80) DEFAULT NULL, - `port_group_name` varchar(80) DEFAULT NULL, - PRIMARY KEY (`connection_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_NETWORK_CONNECTION_VLAN` --- - -CREATE TABLE IF NOT EXISTS `VNF_NETWORK_CONNECTION_VLAN` ( - `vlan_uuid` varchar(80) NOT NULL, - `vlan_id` int(4) NOT NULL, - `vlan_type` varchar(5) NOT NULL, - `connection_uuid` varchar(80) DEFAULT NULL, - PRIMARY KEY (`vlan_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_PROFILE` --- - -CREATE TABLE IF NOT EXISTS `VNF_PROFILE` ( - `vnf_type` varchar(200) NOT NULL, - `availability_zone_count` int(11) NOT NULL, - `equipment_role` varchar(80) NOT NULL, - PRIMARY KEY (`vnf_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VNF_SERVICE_TO_NETWORK_ROLE_FILTER` --- - -CREATE TABLE IF NOT EXISTS `VNF_SERVICE_TO_NETWORK_ROLE_FILTER` ( - `vnf_service_type` varchar(60) NOT NULL, - `network_role_filter` varchar(60) NOT NULL, - PRIMARY KEY (`vnf_service_type`,`network_role_filter`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPE_LOCK` --- - -CREATE TABLE IF NOT EXISTS `VPE_LOCK` ( - `vpe_name` varchar(20) NOT NULL, - `vpn_lock` varchar(20) NOT NULL, - PRIMARY KEY (`vpe_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPE_MAC_ADDRESS_POOL` --- - -CREATE TABLE IF NOT EXISTS `VPE_MAC_ADDRESS_POOL` ( - `id` int(11) NOT NULL, - `mac_address` varchar(50) NOT NULL, - `sw_name` varchar(30) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPE_MAC_ADDRESS_TO_HOSTNAME_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VPE_MAC_ADDRESS_TO_HOSTNAME_MAPPING` ( - `id` int(11) NOT NULL, - `hostname` varchar(50) NOT NULL, - `assigned_user` varchar(25) NOT NULL, - `assigned_date` date DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPE_POOL` --- - -CREATE TABLE IF NOT EXISTS `VPE_POOL` ( - `vpe_name` varchar(20) NOT NULL, - `ipv4_oam_address` varchar(20) NOT NULL, - `loopback0_ipv4_address` varchar(20) NOT NULL, - `provisioning_status` varchar(10) NOT NULL, - `aic_site_id` varchar(100) NOT NULL, - `availability_zone` varchar(100) NOT NULL, - `vlan_id_outer` varchar(20) NOT NULL, - `vendor` varchar(20) NOT NULL, - `physical_intf_name` varchar(40) NOT NULL, - `physical_intf_speed` varchar(20) NOT NULL, - `physical_intf_units` varchar(20) NOT NULL, - `vpe_uuid` varchar(80) DEFAULT NULL, - `vpe_id` varchar(80) NOT NULL, - `image_filename` varchar(100) DEFAULT NULL, - `as_number` varchar(20) NOT NULL, - `loopback5000` varchar(16) DEFAULT NULL, - `loopback10` varchar(16) DEFAULT NULL, - `aic_version` varchar(50) DEFAULT NULL, - `vpe_capacity` int(11) NOT NULL, - PRIMARY KEY (`aic_site_id`,`vpe_name`,`availability_zone`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPLSPE_POOL` --- - -CREATE TABLE IF NOT EXISTS `VPLSPE_POOL` ( - `vplspe_name` varchar(20) NOT NULL, - `aic_site_id` varchar(100) NOT NULL, - `availability_zone` varchar(100) NOT NULL, - `physical_intf_name` varchar(40) NOT NULL, - `physical_intf_speed` varchar(20) NOT NULL, - `physical_intf_units` varchar(20) NOT NULL, - `loopback0_ipv4_address` varchar(20) NOT NULL, - `vlan_id_outer` varchar(20) NOT NULL, - `vplspe_uuid` varchar(80) DEFAULT NULL, - `image_filename` varchar(100) DEFAULT NULL, - `provisioning_status` varchar(10) DEFAULT NULL, - `vendor` varchar(20) DEFAULT NULL, - PRIMARY KEY (`vplspe_name`,`aic_site_id`,`availability_zone`,`physical_intf_name`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VPN_BINDINGS` --- - -CREATE TABLE IF NOT EXISTS `VPN_BINDINGS` ( - `network_customization_uuid` varchar(255) NOT NULL, - `binding_uuid` varchar(255) NOT NULL, - PRIMARY KEY (`network_customization_uuid`,`binding_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VRR_FUNCTION_CODE_VMTYPE_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VRR_FUNCTION_CODE_VMTYPE_MAPPING` ( - `ptnii_function_code` varchar(128) NOT NULL, - `vm_type` varchar(128) NOT NULL, - PRIMARY KEY (`ptnii_function_code`,`vm_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VSERVER` --- - -CREATE TABLE IF NOT EXISTS `VSERVER` ( - `tenant_id` varchar(40) NOT NULL, - `vserver_id` varchar(40) NOT NULL, - `aic_site_id` varchar(100) NOT NULL, - `vendor` varchar(20) NOT NULL, - `image_name` varchar(100) NOT NULL, - `vnf_type` varchar(10) NOT NULL, - `vnf_id` varchar(80) NOT NULL, - PRIMARY KEY (`tenant_id`,`vserver_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VSERVER2` --- - -CREATE TABLE IF NOT EXISTS `VSERVER2` ( - `tenant_id` varchar(255) NOT NULL, - `vserver_id` varchar(128) NOT NULL, - `vserver_name` varchar(255) NOT NULL, - `vserver_name2` varchar(255) DEFAULT NULL, - `prov_status` varchar(20) DEFAULT NULL, - `selflink` varchar(255) DEFAULT NULL, - PRIMARY KEY (`tenant_id`,`vserver_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VSERVER_PSERVER` --- - -CREATE TABLE IF NOT EXISTS `VSERVER_PSERVER` ( - `vserver_id` varchar(128) NOT NULL, - `pserver_hostname` varchar(255) DEFAULT NULL, - PRIMARY KEY (`vserver_id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `VVIG_VM_INSTANCE_TO_CLOUD_REGION_MAPPING` --- - -CREATE TABLE IF NOT EXISTS `VVIG_VM_INSTANCE_TO_CLOUD_REGION_MAPPING` ( - `key_id` varchar(128) NOT NULL, - `cloud_region` varchar(128) NOT NULL, - `key_type` varchar(128) NOT NULL, - PRIMARY KEY (`key_id`,`cloud_region`,`key_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - --- --- Table structure for table `WAN_COMBO_ALLOWABLE` --- - -CREATE TABLE IF NOT EXISTS `WAN_COMBO_ALLOWABLE` ( - `combo_sequence` int(11) NOT NULL AUTO_INCREMENT, - `topology` varchar(16) DEFAULT 'unknown', - `internet_topology` varchar(20) DEFAULT NULL, - `wan1` varchar(40) DEFAULT NULL, - `wan2` varchar(40) DEFAULT NULL, - `new_start_release_flexware` varchar(16) DEFAULT 'unknown', - `is_active_flexware` varchar(1) DEFAULT 'N', - `new_start_release_dhv` varchar(16) DEFAULT 'unknown', - `is_active_dhv` varchar(1) DEFAULT 'N', - `ucpe_type` varchar(32) DEFAULT 'stand-alone', - `description` varchar(128) NOT NULL, - PRIMARY KEY (`combo_sequence`), - UNIQUE KEY `IX1_WAN_COMBO_ALLOWABLE` (`internet_topology`,`wan1`,`wan2`) -) ENGINE=InnoDB AUTO_INCREMENT=147 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `DHCP_MAP` ( - `mac_addr` varchar(128) NOT NULL, - `ip_addr` varchar(128) DEFAULT NULL, - PRIMARY KEY (`mac_addr`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `RESOURCE_GROUP_TO_TARGET_NODE_MAPPING` ( - `group_uuid` varchar(255) NOT NULL, - `parent_uuid` varchar(255) NOT NULL, - `target_node_uuid` varchar(255) NOT NULL, - `target_type` varchar(255) NULL, - `table_name` varchar(255) NULL, - PRIMARY KEY (`group_uuid`, `parent_uuid`, `target_node_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - - -CREATE TABLE IF NOT EXISTS `ATTRIBUTE_VALUE_PAIR` ( - `resource_uuid` varchar(255) NOT NULL, - `attribute_name` varchar(255) NOT NULL, - `resource_type` varchar(255) NOT NULL, - `attribute_value` varchar(255) DEFAULT NULL, - `resource_customization_uuid` varchar(255) DEFAULT NULL, - PRIMARY KEY (`resource_uuid`,`attribute_name`,`resource_type`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `COMPLEX_RESOURCE` ( - `uuid` varchar(255) NOT NULL, - `model_yaml` longblob, - `invariant_uuid` varchar(255) NOT NULL, - `customization_uuid` varchar(255) NOT NULL, - `version` varchar(255) DEFAULT NULL, - `name` varchar(255) DEFAULT NULL, - `description` varchar(255) DEFAULT NULL, - `type` varchar(255) NOT NULL, - PRIMARY KEY (`uuid`,`customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `NODE_CAPABILITY` ( - `capability_id` int(11) NOT NULL AUTO_INCREMENT, - `capability_provider_uuid` varchar(255) NOT NULL, - `capability_provider_customization_uuid` varchar(255) NOT NULL, - `capability_name` varchar(255) DEFAULT NULL, - `capability_type` varchar(255) DEFAULT NULL, - PRIMARY KEY (`capability_id`) -) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `NODE_REQUIREMENT` ( - `requirement_id` int(11) NOT NULL AUTO_INCREMENT, - `capability_id` int(11) DEFAULT NULL, - `capability_provider_uuid` varchar(255) DEFAULT NULL, - `capability_provider_customization_uuid` varchar(255) DEFAULT NULL, - `capability_consumer_uuid` varchar(255) NOT NULL, - `capability_consumer_customization_uuid` varchar(255) NOT NULL, - `requirement_name` varchar(255) NOT NULL, - PRIMARY KEY (`requirement_id`), - KEY `NODE_REQUIREMENT_TO_NODE_CAPABILITY` (`capability_id`) -) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `RELATED_NETWORK_ROLE` ( - `network_model_customization_uuid` varchar(255) NOT NULL, - `related_network_role` varchar(255) NOT NULL, - PRIMARY KEY (`network_model_customization_uuid`,`related_network_role`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `RESOURCE_GROUP` ( - `resource_uuid` varchar(255) NOT NULL, - `group_uuid` varchar(255) NOT NULL, - `group_customization_uuid` varchar(255) DEFAULT NULL, - `group_invariant_uuid` varchar(255) NOT NULL, - `group_name` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `group_type` varchar(255) DEFAULT NULL, - PRIMARY KEY (`resource_uuid`,`group_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `RESOURCE_POLICY` ( - `resource_uuid` varchar(255) NOT NULL, - `policy_uuid` varchar(255) NOT NULL, - `policy_customization_uuid` varchar(255) DEFAULT NULL, - `policy_invariant_uuid` varchar(255) NOT NULL, - `policy_name` varchar(255) DEFAULT NULL, - `version` varchar(255) DEFAULT NULL, - `policy_type` varchar(255) DEFAULT NULL, - `property_type` varchar(255) DEFAULT NULL, - `property_source` varchar(255) DEFAULT NULL, - `property_name` varchar(255) DEFAULT NULL, - PRIMARY KEY (`resource_uuid`,`policy_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `RESOURCE_POLICY_TO_TARGET_NODE_MAPPING` ( - `policy_uuid` varchar(255) NOT NULL, - `parent_uuid` varchar(255) NOT NULL, - `target_node_uuid` varchar(255) NOT NULL, - `target_type` varchar(255) DEFAULT NULL, - `target_node_customization_uuid` varchar(255) DEFAULT NULL, - `policy_customization_uuid` varchar(255) DEFAULT NULL, - PRIMARY KEY (`policy_uuid`,`parent_uuid`,`target_node_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - - -CREATE TABLE IF NOT EXISTS `SERVICE_MODEL_TO_COMPLEX_RESOURCE_MAPPING` ( - `service_uuid` varchar(255) NOT NULL, - `complex_resource_uuid` varchar(255) NOT NULL, - `complex_resource_customization_uuid` varchar(255) NOT NULL, - PRIMARY KEY (`service_uuid`,`complex_resource_uuid`,`complex_resource_customization_uuid`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `VFC_RELATED_NETWORK_ROLE` ( - `vfc_customization_uuid` varchar(255) NOT NULL, - `vm_type` varchar(255) NOT NULL, - `network_role` varchar(255) NOT NULL, - `related_network_role` varchar(255) NOT NULL, - PRIMARY KEY (`vfc_customization_uuid`,`vm_type`,`network_role`,`related_network_role`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `VNF_RELATED_NETWORK_ROLE` ( - `vnf_customization_uuid` varchar(255) NOT NULL, - `network_role` varchar(255) NOT NULL, - `related_network_role` varchar(255) NOT NULL, - PRIMARY KEY (`vnf_customization_uuid`,`network_role`,`related_network_role`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - diff --git a/sliboot/src/main/resources/startSliboot.sh b/sliboot/src/main/resources/startSliboot.sh deleted file mode 100644 index 8c5f723c..00000000 --- a/sliboot/src/main/resources/startSliboot.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash - -### -# ============LICENSE_START======================================================= -# ONAP : CCSDK -# ================================================================================ -# Copyright (C) 2020 AT&T Intellectual Property. All rights -# reserved. -# ================================================================================ -# 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. -# ============LICENSE_END========================================================= -### - -export CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk} -export SLIBOOT_JAR=${SLIBOOT_JAR:-${ccsdk.sliboot.jar}} -export SVCLOGIC_DIR=${SVCLOGIC_DIR:-opt/onap/ccsdk/svclogic/graphs} -export LOG_PATH=${LOG_PATH:-/var/log/onap/ccsdk} -export CCSDK_CONFIG_DIR=${CCSDK_CONFIG_DIR:-/opt/onap/ccsdk/config} -export JAVA_SECURITY_DIR=${JAVA_SECURITY_DIR:-/etc/ssl/certs/java} - -# -# Wait for database -# -echo "Waiting for database" -until mysqladmin ping -h dbhost --silent -do - printf "." - sleep 1 -done -echo -e "\nDatabase ready" - -# Create tablespace and user account - -mysql -h ${MYSQL_DB_HOST} -u root -p${MYSQL_ROOT_PASSWORD} mysql <<-END -CREATE DATABASE ${MYSQL_DB_DATABASE}; -CREATE USER '${MYSQL_DB_USER}'@'localhost' IDENTIFIED BY '${MYSQL_DB_PASSWD}'; -CREATE USER '${MYSQL_DB_USER}'@'%' IDENTIFIED BY '${MYSQL_DB_PASSWD}'; -GRANT ALL PRIVILEGES ON ${MYSQL_DB_DATABASE}.* TO '${MYSQL_DB_USER}'@'localhost' WITH GRANT OPTION; -GRANT ALL PRIVILEGES ON ${MYSQL_DB_DATABASE}.* TO '${MYSQL_DB_USER}'@'%' WITH GRANT OPTION; -commit; -END - -# Initialize schema -mysql -h ${MYSQL_DB_HOST} -u ${MYSQL_DB_USER} -p${MYSQL_DB_PASSWD} ${MYSQL_DB_DATABASE} < ${CCSDK_HOME}/config/schema.sql - -# Install ssl and java certificates -COPY $CCSDK_CONFIG_DIR/truststoreONAPall.jks $JAVA_SECURITY_DIR -RUN keytool -importkeystore -srckeystore $JAVA_SECURITY_DIR/truststoreONAPall.jks -srcstorepass changeit -destkeystore $JAVA_SECURITY_DIR/cacerts -deststorepass changeit - -echo -e "\nCerts ready" - -cd $CCSDK_HOME -java -DserviceLogicDirectory=${SVCLOGIC_DIR} -Dcadi_prop_files=${CCSDK_CONFIG_DIR}/org.onap.sdnc.props -Dserver.ssl.key-store=${CCSDK_CONFIG_DIR}/org.onap.sdnc.p12 -DLOG_PATH=${LOG_PATH} -jar ${CCSDK_HOME}/lib/${SLIBOOT_JAR} - diff --git a/sliboot/src/main/resources/svclogic.properties b/sliboot/src/main/resources/svclogic.properties deleted file mode 100644 index 76865dd1..00000000 --- a/sliboot/src/main/resources/svclogic.properties +++ /dev/null @@ -1,29 +0,0 @@ -### -# ============LICENSE_START======================================================= -# ONAP : CCSDK -# ================================================================================ -# Copyright (C) 2017 AT&T Intellectual Property. All rights -# reserved. -# ================================================================================ -# 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. -# ============LICENSE_END========================================================= -### - -org.onap.ccsdk.sli.dbtype = jdbc -org.onap.ccsdk.sli.jdbc.url=jdbc:mariadb://dbhost:3306/sdnctl -org.onap.ccsdk.sli.jdbc.driver=org.mariadb.jdbc.Driver -org.onap.ccsdk.sli.jdbc.database = sdnctl -org.onap.ccsdk.sli.jdbc.user = sli -org.onap.ccsdk.sli.jdbc.password = abc123 - -sliapi.serviceLogicDirectory=/opt/onap/sdnc/svclogic/graphs diff --git a/sliboot/src/main/resources/truststoreONAPall.jks b/sliboot/src/main/resources/truststoreONAPall.jks Binary files differdeleted file mode 100644 index ff844b10..00000000 --- a/sliboot/src/main/resources/truststoreONAPall.jks +++ /dev/null |