aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.json790
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.json545
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json229
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.json875
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.json229
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json229
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json2068
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json504
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml167
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.xml110
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.xml46
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml183
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.xml46
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.xml46
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation.xml121
-rw-r--r--platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.xml118
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json39
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json11
-rw-r--r--platform-logic/restapi-templates/src/main/json/bbs-token-template.json5
19 files changed, 5713 insertions, 648 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.json
new file mode 100644
index 00000000..2fa02b5e
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.json
@@ -0,0 +1,790 @@
+[
+ {
+ "id": "a54774d9.aada78",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 324.50035095214844,
+ "y": 302.0000333786011,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "34dc66ca.55442a"
+ ]
+ ]
+ },
+ {
+ "id": "34dc66ca.55442a",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 632.5,
+ "y": 302.00005531311035,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "c70722ad.71e9d"
+ ]
+ ]
+ },
+ {
+ "id": "c70722ad.71e9d",
+ "type": "method",
+ "name": "method:bbs-access-connectivity-network-topology-operation-create-huawei",
+ "xml": "<method rpc='bbs-access-connectivity-network-topology-operation-create-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 630.5,
+ "y": 498.00009536743164,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "425fe8.32825018"
+ ]
+ ]
+ },
+ {
+ "id": "425fe8.32825018",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.5002136230469,
+ "y": 499.00009536743164,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "4e95f514.5341fc",
+ "95f559b6.afb318",
+ "983471bb.6920f",
+ "424890ee.daa33",
+ "e118a9e4.09bbf8",
+ "fedbef6e.9dc7a",
+ "723fb390.b4b4fc"
+ ]
+ ]
+ },
+ {
+ "id": "4e95f514.5341fc",
+ "type": "execute",
+ "name": "excute:readProperties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.5003204345703,
+ "y": 398.1111755371094,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95f559b6.afb318",
+ "type": "call",
+ "name": "call:validate-bbs-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1415.5003204345703,
+ "y": 182.00000476837158,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fedbef6e.9dc7a",
+ "type": "execute",
+ "name": "execute:createAccessConnectivityService",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-access-connectivity-create.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/ActiveOnt'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"customHttpHeaders\" value=\"`'X-Auth-Token=' + $prop.sdncRestApi.token_id`\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1424.1510467529297,
+ "y": 922.9608020782471,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "1e3eeee0.ada741",
+ "b6d7fd8.04aea"
+ ]
+ ]
+ },
+ {
+ "id": "1e3eeee0.ada741",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1734.4839401245117,
+ "y": 997.9608039855957,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "f3966fd0.78da2"
+ ]
+ ]
+ },
+ {
+ "id": "b6d7fd8.04aea",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1725.4840278625488,
+ "y": 922.9608020782471,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "1dd43d47.6553e3"
+ ]
+ ]
+ },
+ {
+ "id": "723fb390.b4b4fc",
+ "type": "execute",
+ "name": "execute:querryTokenID",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-token-template.json'`\"/>\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`\"/>\n <parameter name=\"format\" value=\"json\"/>\n <parameter name=\"httpMethod\" value=\"put\"/>\n <parameter name=\"responsePrefix\" value=\"token-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1352.500576019287,
+ "y": 747.000186920166,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "7cf66799.d744a8",
+ "c263919e.a1402"
+ ]
+ ]
+ },
+ {
+ "id": "c263919e.a1402",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1652.6673698425293,
+ "y": 744.2501883506775,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "779dec10.3fa0e4"
+ ]
+ ]
+ },
+ {
+ "id": "7cf66799.d744a8",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1845.6674880981445,
+ "y": 822.250186920166,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "1dd43d47.6553e3"
+ ]
+ ]
+ },
+ {
+ "id": "1dd43d47.6553e3",
+ "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 token rest api\" />\n",
+ "comments": "",
+ "x": 2234.417640686035,
+ "y": 923.2503499984741,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "6d927619.f2a628",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.5006675720215,
+ "y": 816.0003490447998,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "1dd43d47.6553e3"
+ ]
+ ]
+ },
+ {
+ "id": "779dec10.3fa0e4",
+ "type": "switchNode",
+ "name": "switch:token ",
+ "xml": "<switch test='`$token-result.accessSession`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1842.500545501709,
+ "y": 743.0001888275146,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "6d927619.f2a628",
+ "5f896a8b.ae7194"
+ ]
+ ]
+ },
+ {
+ "id": "5f896a8b.ae7194",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2029.5005531311035,
+ "y": 742.0001859664917,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "99e97b64.61ea78"
+ ]
+ ]
+ },
+ {
+ "id": "99e97b64.61ea78",
+ "type": "set",
+ "name": "set:token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.accessSession`' />\n",
+ "comments": "",
+ "x": 2240.000560760498,
+ "y": 742.250186920166,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "983471bb.6920f",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='https://swisscom.onap.inhuawei.com:26335' />\n<parameter name='prop.bbs.HsiPackage' value='50M' />\n<parameter name='prop.bbs.HsiType' value='IPoE' />\n",
+ "comments": "",
+ "x": 1314.5008506774902,
+ "y": 288.0002107620239,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "2cc6bd19.ab2f32",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"`$prop.bbs.accessID`\" />\n <parameter name=\"field3\" value=\"`$prop.bbs.ONTSN`\" />\n <parameter name=\"field4\" value=\"`$prop.bbs.CVLAN`\" />\n <parameter name=\"field5\" value=\"`$prop.bbs.SVLAN`\" />\n <parameter name=\"field6\" value=\"`$prop.bbs.HsiPackage`\" />\n <parameter name=\"field7\" value=\"`$prop.bbs.HsiType`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.5006484985352,
+ "y": 556.0001792907715,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "173959a3.be4fe6",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"createAccessConnectivityService success!\" />\n <parameter name=\"field2\" value=\"`$service-result.accessE2Eservice.serviceID`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2563.500068664551,
+ "y": 1083.0000324249268,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3966fd0.78da2",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1969.5000610351562,
+ "y": 997.0000991821289,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "f5e2fc15.e5fc2",
+ "1933683f.76be88"
+ ]
+ ]
+ },
+ {
+ "id": "f5e2fc15.e5fc2",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2195.500400543213,
+ "y": 998.0001926422119,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "4dab1db0.0ecf64"
+ ]
+ ]
+ },
+ {
+ "id": "1933683f.76be88",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205.5001068115234,
+ "y": 1084.0000591278076,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "4496d8e0.3fa648"
+ ]
+ ]
+ },
+ {
+ "id": "44c00950.df1618",
+ "type": "record",
+ "name": "log error",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"createAccessConnectivityService falied!\" />\n <parameter name=\"field2\" value=\"`$service-result.errors.error[0].error-info.error-code`\" />\n <parameter name=\"field3\" value=\"`$service-result.errors.error[0].error-message`\" />\n <parameter name=\"field4\" value=\"`$service-result.errors.error[0].error-tag`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2698.500556945801,
+ "y": 1000.0001926422119,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38713ccb.cc7554",
+ "type": "save",
+ "name": "save:serviceID",
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='cp' key='$ltp.ltp-role = \"UNI\" AND cp.pon-uni.oltName = $ltp.ne-id' >\n<parameter name=\"cp.pon-uni.oltName\" value=\"`$ltp.ne-id`\"/>\n<parameter name=\"xxx.serviceID\" value=\"`$service-result.accessE2Eservice.serviceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2768.5003967285156,
+ "y": 1086.0002756118774,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e118a9e4.09bbf8",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.0006866455078,
+ "y": 497.00017738342285,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "7e281c4.73218e4"
+ ]
+ ]
+ },
+ {
+ "id": "96ad937a.4c8ed",
+ "type": "switchNode",
+ "name": "switch:accessID",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'accessID'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779.000659942627,
+ "y": 294.00020027160645,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "6420de27.c79da"
+ ]
+ ]
+ },
+ {
+ "id": "6420de27.c79da",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.0005798339844,
+ "y": 294.00017166137695,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "56e09421.b99cfc"
+ ]
+ ]
+ },
+ {
+ "id": "827faee2.62b61",
+ "type": "set",
+ "name": "set:accessID",
+ "xml": "<set>\n<parameter name='prop.bbs.accessID' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2517.0003356933594,
+ "y": 292.6001777648926,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "7e281c4.73218e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1569.000732421875,
+ "y": 495.0002145767212,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "96ad937a.4c8ed",
+ "a0441e4c.12a32",
+ "409981ac.caf34",
+ "402634ee.c9d2ec"
+ ]
+ ]
+ },
+ {
+ "id": "a0441e4c.12a32",
+ "type": "switchNode",
+ "name": "switch:ONTSN",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ONTSN'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.8524551391602,
+ "y": 355.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "db7da2f9.db5f7"
+ ]
+ ]
+ },
+ {
+ "id": "db7da2f9.db5f7",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.8523578643799,
+ "y": 355.0002660751343,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "57debd41.98bbf4"
+ ]
+ ]
+ },
+ {
+ "id": "4de1ae6e.627d3",
+ "type": "set",
+ "name": "set:ONTSN",
+ "xml": "<set>\n<parameter name='prop.bbs.ONTSN' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2515.852642059326,
+ "y": 354.6002426147461,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "409981ac.caf34",
+ "type": "switchNode",
+ "name": "switch:CVLAN",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'CVLAN'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.8525276184082,
+ "y": 415.00025177001953,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "98222b2b.1be258"
+ ]
+ ]
+ },
+ {
+ "id": "98222b2b.1be258",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.8523864746094,
+ "y": 415.0002632141113,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "1a88c40e.919bec"
+ ]
+ ]
+ },
+ {
+ "id": "af00f8ef.c77b28",
+ "type": "set",
+ "name": "set:CVLAN",
+ "xml": "<set>\n<parameter name='prop.bbs.CVLAN' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2513.8523864746094,
+ "y": 415.6002388000488,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "402634ee.c9d2ec",
+ "type": "switchNode",
+ "name": "switch:SVLAN",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'SVLAN'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1775.8525352478027,
+ "y": 491.22251892089844,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "640c1f16.f13d"
+ ]
+ ]
+ },
+ {
+ "id": "640c1f16.f13d",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1948.8524198532104,
+ "y": 490.2225170135498,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "9452bbef.1a7198"
+ ]
+ ]
+ },
+ {
+ "id": "7fc6d5a6.6ec01c",
+ "type": "set",
+ "name": "set:SVLAN",
+ "xml": "<set>\n<parameter name='prop.bbs.SVLAN' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2519.8523864746094,
+ "y": 489.8225288391113,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "56e09421.b99cfc",
+ "type": "switchNode",
+ "name": "switch:acceccID value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2126.0005798339844,
+ "y": 293.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "894b7143.02cc3",
+ "7eedfab0.187154"
+ ]
+ ]
+ },
+ {
+ "id": "7eedfab0.187154",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2332.0005798339844,
+ "y": 292.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "827faee2.62b61"
+ ]
+ ]
+ },
+ {
+ "id": "894b7143.02cc3",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2330.000988006592,
+ "y": 223.00018119812012,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "3b95a67d.17872a"
+ ]
+ ]
+ },
+ {
+ "id": "57debd41.98bbf4",
+ "type": "switchNode",
+ "name": "switch:ONTSN value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2126.0005798339844,
+ "y": 355.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "894b7143.02cc3",
+ "4b80652a.e00c7c"
+ ]
+ ]
+ },
+ {
+ "id": "4b80652a.e00c7c",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2334.0005798339844,
+ "y": 355.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "4de1ae6e.627d3"
+ ]
+ ]
+ },
+ {
+ "id": "1a88c40e.919bec",
+ "type": "switchNode",
+ "name": "switch:CVLAN value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2129.0005798339844,
+ "y": 416.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "894b7143.02cc3",
+ "798d2c51.91beb4"
+ ]
+ ]
+ },
+ {
+ "id": "798d2c51.91beb4",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2335.0005798339844,
+ "y": 415.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "af00f8ef.c77b28"
+ ]
+ ]
+ },
+ {
+ "id": "9452bbef.1a7198",
+ "type": "switchNode",
+ "name": "switch:SVLAN value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2130.0005798339844,
+ "y": 490.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "894b7143.02cc3",
+ "acd0ac82.71cb3"
+ ]
+ ]
+ },
+ {
+ "id": "acd0ac82.71cb3",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2338.0005798339844,
+ "y": 491.0002021789551,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ [
+ "7fc6d5a6.6ec01c"
+ ]
+ ]
+ },
+ {
+ "id": "424890ee.daa33",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1326.9999923706055,
+ "y": 1098.000036239624,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "4496d8e0.3fa648",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2363.666736602783,
+ "y": 1085.0000343322754,
+ "z": "f55e2a79.4bc078",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dab1db0.0ecf64",
+ "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 createAccessConnectivityService failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2382.000068664551,
+ "y": 998.0000295639038,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ },
+ {
+ "id": "3b95a67d.17872a",
+ "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=\"`$network-input-parameters.param[$idx].name +' value is null, please check it.'`\" />\n",
+ "comments": "",
+ "x": 2513.0000762939453,
+ "y": 223.0000057220459,
+ "z": "f55e2a79.4bc078",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.json
new file mode 100644
index 00000000..6e56cc62
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.json
@@ -0,0 +1,545 @@
+[
+ {
+ "id": "9258ad5d.d05ba",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 289.50011825561523,
+ "y": 436.0000114440918,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "377de850.27cec8"
+ ]
+ ]
+ },
+ {
+ "id": "377de850.27cec8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 677.5,
+ "y": 436.0000162124634,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "7334f5ac.b08f4c"
+ ]
+ ]
+ },
+ {
+ "id": "7334f5ac.b08f4c",
+ "type": "method",
+ "name": "method:bbs-access-connectivity-network-topology-operation-delete-huawei",
+ "xml": "<method rpc='bbs-access-connectivity-network-topology-operation-delete-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 640.5,
+ "y": 555.0000162124634,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "a88453d9.f253b"
+ ]
+ ]
+ },
+ {
+ "id": "a88453d9.f253b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.5001068115234,
+ "y": 554.0000162124634,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "cb91ee20.76b95",
+ "ca9aad5d.392e5",
+ "c4485241.e819a",
+ "c4d9d4a8.396518",
+ "2637d1ad.97175e",
+ "bc596678.34ee28",
+ "c3d1b49e.311728"
+ ]
+ ]
+ },
+ {
+ "id": "cb91ee20.76b95",
+ "type": "execute",
+ "name": "excute:readProperties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1480.5004043579102,
+ "y": 408.11109733581543,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc596678.34ee28",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.5004272460938,
+ "y": 629.999942779541,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "e67c3291.c9f3e"
+ ]
+ ]
+ },
+ {
+ "id": "2637d1ad.97175e",
+ "type": "execute",
+ "name": "execute:querryTokenID",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-token-template.json'`\"/>\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`\"/>\n <parameter name=\"format\" value=\"json\"/>\n <parameter name=\"httpMethod\" value=\"put\"/>\n <parameter name=\"responsePrefix\" value=\"token-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.5004272460938,
+ "y": 540.0000190734863,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "3ddf50e9.7ad19",
+ "6fb4fdec.445914"
+ ]
+ ]
+ },
+ {
+ "id": "6fb4fdec.445914",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1774.6670532226562,
+ "y": 536.2500190734863,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "bb09478d.013828"
+ ]
+ ]
+ },
+ {
+ "id": "3ddf50e9.7ad19",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1770.6670532226562,
+ "y": 430.2499885559082,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "cafa7f31.58fb9"
+ ]
+ ]
+ },
+ {
+ "id": "cafa7f31.58fb9",
+ "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 token rest api\" />\n",
+ "comments": "",
+ "x": 2341.4171752929688,
+ "y": 422.2499885559082,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "b7ad2681.5938c8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2141.5004348754883,
+ "y": 478.9999752044678,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "cafa7f31.58fb9"
+ ]
+ ]
+ },
+ {
+ "id": "bb09478d.013828",
+ "type": "switchNode",
+ "name": "switch:token ",
+ "xml": "<switch test='`$token-result.accessSession`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1973.5004348754883,
+ "y": 536.9999752044678,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "b7ad2681.5938c8",
+ "c64cc196.0b01"
+ ]
+ ]
+ },
+ {
+ "id": "c64cc196.0b01",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2142.5004348754883,
+ "y": 535.9999752044678,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "4a6b446f.138e7c"
+ ]
+ ]
+ },
+ {
+ "id": "4a6b446f.138e7c",
+ "type": "set",
+ "name": "set:token-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.accessSession`' />\n",
+ "comments": "",
+ "x": 2317.0004272460938,
+ "y": 535.2500190734863,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "69330fca.c0655",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"sucess executing Get token rest api\" />\n <parameter name=\"field3\" value=\"`$token-result.accessSession`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2528.5004272460938,
+ "y": 532.9999580383301,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4d9d4a8.396518",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='https://swisscom.onap.inhuawei.com:26335' />\n<parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />\n",
+ "comments": "",
+ "x": 1446.5004043579102,
+ "y": 328.0001735687256,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "c3d1b49e.311728",
+ "type": "execute",
+ "name": "execute:deleteAccessConnectivityService",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/DeactivateOnt?serviceID='+$prop.bbs.serviceID`\" />\n <parameter name=\"httpMethod\" value=\"get\"/>\n <parameter name=\"contentType\" value=\"application/x-www-form-urlencoded\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"customHttpHeaders\" value=\"`'X-Auth-Token=' + $prop.sdncRestApi.token_id`\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1536.500690460205,
+ "y": 810.0001218318939,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "5321d4ef.5d4d2c",
+ "d9cf5692.a52db8"
+ ]
+ ]
+ },
+ {
+ "id": "5321d4ef.5d4d2c",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.5007057189941,
+ "y": 750.0001029968262,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "b0348a26.8427e8"
+ ]
+ ]
+ },
+ {
+ "id": "d9cf5692.a52db8",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.5006790161133,
+ "y": 809.0001027584076,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "de1193ab.e5312"
+ ]
+ ]
+ },
+ {
+ "id": "1e90d7c8.353078",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2327.500789642334,
+ "y": 706.0000369548798,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "b0348a26.8427e8"
+ ]
+ ]
+ },
+ {
+ "id": "b0348a26.8427e8",
+ "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=\"invalid network-input-parameters.param in bbs-access-connectivity-network-topology-operation-delete\" />\n",
+ "comments": "",
+ "x": 2531.5006313323975,
+ "y": 745.0000369548798,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "e67c3291.c9f3e",
+ "type": "switchNode",
+ "name": "switch:serviceID",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'serviceID'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5004539489746,
+ "y": 629.0000305175781,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "fb75295a.8000b8"
+ ]
+ ]
+ },
+ {
+ "id": "fb75295a.8000b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1932.5003385543823,
+ "y": 628.0000286102295,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "c27015c2.2e9f58"
+ ]
+ ]
+ },
+ {
+ "id": "7c852ec3.9bf23",
+ "type": "set",
+ "name": "set:serviceID",
+ "xml": "<set>\n<parameter name='prop.bbs.serviceID' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 2503.5003051757812,
+ "y": 627.600040435791,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "c27015c2.2e9f58",
+ "type": "switchNode",
+ "name": "switch:serviceID value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2113.6484985351562,
+ "y": 627.7777137756348,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "9c90b9c1.bc3cb8",
+ "1e90d7c8.353078"
+ ]
+ ]
+ },
+ {
+ "id": "9c90b9c1.bc3cb8",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2321.6484985351562,
+ "y": 628.7777137756348,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "7c852ec3.9bf23"
+ ]
+ ]
+ },
+ {
+ "id": "ca9aad5d.392e5",
+ "type": "call",
+ "name": "call:validate-bbs-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1558.0000305175781,
+ "y": 247.00002479553223,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "477b70c6.2a5c9",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"deleteAccessConnectivityService success!\" />\n <parameter name=\"field2\" value=\"`$service-result.accessE2Eservice.serviceID`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2885.0005645751953,
+ "y": 911.0001068115234,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de1193ab.e5312",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2018.0004768371582,
+ "y": 810.0002808570862,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "754aabd8.cabdb4"
+ ]
+ ]
+ },
+ {
+ "id": "754aabd8.cabdb4",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2236.0003547668457,
+ "y": 809.0001282691956,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "2dd16d0d.e63022",
+ "c62a673d.9cf0e8"
+ ]
+ ]
+ },
+ {
+ "id": "2dd16d0d.e63022",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2470.000400543213,
+ "y": 810.0000882148743,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "6c15beca.e4e8a"
+ ]
+ ]
+ },
+ {
+ "id": "c62a673d.9cf0e8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2472.000400543213,
+ "y": 896.0000882148743,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ [
+ "c04ee5c.68b7018"
+ ]
+ ]
+ },
+ {
+ "id": "5e21416c.565be",
+ "type": "record",
+ "name": "log error",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"deleteAccessConnectivityService falied!\" />\n <parameter name=\"field2\" value=\"`$service-result.errors.error[0].error-info.error-code`\" />\n <parameter name=\"field3\" value=\"`$service-result.errors.error[0].error-message`\" />\n <parameter name=\"field4\" value=\"`$service-result.errors.error[0].error-tag`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2910.0005645751953,
+ "y": 797.0001049041748,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4485241.e819a",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1438.000244140625,
+ "y": 948.0000305175781,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "6c15beca.e4e8a",
+ "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 deleteAccessConnectivityService failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2670.0000762939453,
+ "y": 810.0000228881836,
+ "z": "828aeb02.de4ff8",
+ "wires": []
+ },
+ {
+ "id": "c04ee5c.68b7018",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2656.0000762939453,
+ "y": 898.0000267028809,
+ "z": "828aeb02.de4ff8",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
new file mode 100644
index 00000000..d8498007
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
@@ -0,0 +1,229 @@
+[
+ {
+ "id": "6fc09f6d.0870b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 395,
+ "y": 364,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "17053a75.1de276"
+ ]
+ ]
+ },
+ {
+ "id": "17053a75.1de276",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 702.9996490478516,
+ "y": 364.0000219345093,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "31b28a93.bc7546"
+ ]
+ ]
+ },
+ {
+ "id": "31b28a93.bc7546",
+ "type": "method",
+ "name": "method:bbs-internet-profile-network-topology-operation-change-huawei",
+ "xml": "<method rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.9996490478516,
+ "y": 560.0000619888306,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "6078be8e.3dc1b"
+ ]
+ ]
+ },
+ {
+ "id": "6078be8e.3dc1b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1107.9998626708984,
+ "y": 561.0000619888306,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "18b0a0e1.bc2b9f",
+ "d8d2c4cf.831298",
+ "a7f761b1.d0d6"
+ ]
+ ]
+ },
+ {
+ "id": "d8d2c4cf.831298",
+ "type": "execute",
+ "name": "execute:ChangeInternetProfileInstance",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1435,
+ "y": 562,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "6653aa52.b5a3e4",
+ "5cfea4a3.4063fc"
+ ]
+ ]
+ },
+ {
+ "id": "5cfea4a3.4063fc",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1736.3329811096191,
+ "y": 562,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "18532102.a9364f"
+ ]
+ ]
+ },
+ {
+ "id": "6653aa52.b5a3e4",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1745.332893371582,
+ "y": 637.0000019073486,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "fee00388.9b406"
+ ]
+ ]
+ },
+ {
+ "id": "fee00388.9b406",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980.3490142822266,
+ "y": 636.0392971038818,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "842854c5.b1e1c8",
+ "e77a86f6.1bffc8"
+ ]
+ ]
+ },
+ {
+ "id": "18532102.a9364f",
+ "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=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`\" />\n",
+ "comments": "",
+ "x": 2245.2665939331055,
+ "y": 562.289547920227,
+ "z": "42dfc057.bac69",
+ "wires": []
+ },
+ {
+ "id": "842854c5.b1e1c8",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2206.349353790283,
+ "y": 637.0393905639648,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "b066a3a6.b8196"
+ ]
+ ]
+ },
+ {
+ "id": "e77a86f6.1bffc8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2216.3490600585938,
+ "y": 723.0392570495605,
+ "z": "42dfc057.bac69",
+ "wires": [
+ [
+ "cf2d9b30.93fde8"
+ ]
+ ]
+ },
+ {
+ "id": "b066a3a6.b8196",
+ "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 ChangeInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2392.849021911621,
+ "y": 637.0392274856567,
+ "z": "42dfc057.bac69",
+ "wires": []
+ },
+ {
+ "id": "cf2d9b30.93fde8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2374.5156898498535,
+ "y": 724.0392322540283,
+ "z": "42dfc057.bac69",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7f761b1.d0d6",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1350.8489570617676,
+ "y": 644.0393257141113,
+ "z": "42dfc057.bac69",
+ "wires": []
+ },
+ {
+ "id": "18b0a0e1.bc2b9f",
+ "type": "call",
+ "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1537.015869140625,
+ "y": 476.03915786743164,
+ "z": "42dfc057.bac69",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.json
new file mode 100644
index 00000000..0643b698
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.json
@@ -0,0 +1,875 @@
+[
+ {
+ "id": "f10269e9.df7498",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 775.6666870117188,
+ "y": 312,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "c12bcf3b.bb05e"
+ ]
+ ]
+ },
+ {
+ "id": "c12bcf3b.bb05e",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 1083.6663360595703,
+ "y": 312.0000219345093,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d31f19c6.9a2f48"
+ ]
+ ]
+ },
+ {
+ "id": "d31f19c6.9a2f48",
+ "type": "method",
+ "name": "method:bbs-internet-profile-network-topology-operation-common-huawei",
+ "xml": "<method rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1081.6663513183594,
+ "y": 532.0000991821289,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "e74f77eb.1000f8"
+ ]
+ ]
+ },
+ {
+ "id": "e74f77eb.1000f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1505.6665496826172,
+ "y": 531.0000991821289,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "da3c5279.38fd5",
+ "134f88fe.350da7",
+ "5508b339.a1114c",
+ "af4311d2.58cf3"
+ ]
+ ]
+ },
+ {
+ "id": "da3c5279.38fd5",
+ "type": "call",
+ "name": "call:validate-bbs-network-input-parameters",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1971.6667175292969,
+ "y": 210.00000953674316,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "134f88fe.350da7",
+ "type": "set",
+ "name": "set:variables",
+ "xml": "<set>\n<parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='http://172.30.0.121:5000' />\n\n",
+ "comments": "",
+ "x": 1861.6672172546387,
+ "y": 316.00020599365234,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "5508b339.a1114c",
+ "type": "execute",
+ "name": "excute:readProperties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.6666870117188,
+ "y": 426.1111707687378,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af4311d2.58cf3",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.1670532226562,
+ "y": 525.0001726150513,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d398654e.b34478"
+ ]
+ ]
+ },
+ {
+ "id": "9d40c0ce.78fd9",
+ "type": "switchNode",
+ "name": "switch:access_id",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'access_id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2502.1671142578125,
+ "y": 306.00020694732666,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "73200882.d46168"
+ ]
+ ]
+ },
+ {
+ "id": "73200882.d46168",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.16703414917,
+ "y": 306.00017833709717,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "ef73e02f.cdd2b"
+ ]
+ ]
+ },
+ {
+ "id": "7fb39d4.2f12264",
+ "type": "set",
+ "name": "set:access_id",
+ "xml": "<set>\n<parameter name='prop.bbs.access_id' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3425.16739654541,
+ "y": 299.60026264190674,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "d398654e.b34478",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2151.167095184326,
+ "y": 524.0001811981201,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "9d40c0ce.78fd9",
+ "b543b4c2.8bc0f8",
+ "e879270a.b17da8",
+ "59bd1f4a.c9cda",
+ "8cdcb93e.555918",
+ "6098eadd.045e54",
+ "71c4f1fc.edbb3",
+ "7561ea5b.dc7884",
+ "9b583213.a2a04"
+ ]
+ ]
+ },
+ {
+ "id": "b543b4c2.8bc0f8",
+ "type": "switchNode",
+ "name": "switch:ont_sn",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'ont_sn'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2502.0189094543457,
+ "y": 367.0002088546753,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d486cb64.e5cc88"
+ ]
+ ]
+ },
+ {
+ "id": "d486cb64.e5cc88",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.0188121795654,
+ "y": 367.0002727508545,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "ec7666af.6addb8"
+ ]
+ ]
+ },
+ {
+ "id": "b9b321b1.332a6",
+ "type": "set",
+ "name": "set:ont_sn",
+ "xml": "<set>\n<parameter name='prop.bbs.ont_sn' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3424.019702911377,
+ "y": 361.60032749176025,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "e879270a.b17da8",
+ "type": "switchNode",
+ "name": "switch:c_vlan",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'c_vlan'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2497.0191650390625,
+ "y": 726.0003833770752,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "69b98671.7d9698"
+ ]
+ ]
+ },
+ {
+ "id": "69b98671.7d9698",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2700.0190238952637,
+ "y": 726.000394821167,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d82c6439.435768"
+ ]
+ ]
+ },
+ {
+ "id": "9515222a.16723",
+ "type": "set",
+ "name": "set:c_vlan",
+ "xml": "<set>\n<parameter name='prop.bbs.c_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3419.0197143554688,
+ "y": 722.6004438400269,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "59bd1f4a.c9cda",
+ "type": "switchNode",
+ "name": "switch:s_vlan",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 's_vlan'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2492.019172668457,
+ "y": 669.2226104736328,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "f5723673.bf6868"
+ ]
+ ]
+ },
+ {
+ "id": "f5723673.bf6868",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2701.0190572738647,
+ "y": 668.2226085662842,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d2a653cd.d6a14"
+ ]
+ ]
+ },
+ {
+ "id": "ddf0943.130d368",
+ "type": "set",
+ "name": "set:s_vlan",
+ "xml": "<set>\n<parameter name='prop.bbs.s_vlan' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3421.019630432129,
+ "y": 662.8226985931396,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "ef73e02f.cdd2b",
+ "type": "switchNode",
+ "name": "switch:accecc_id value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2917.16703414917,
+ "y": 305.0002088546753,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "355a14da.2c5f3c",
+ "54ae716c.b1246"
+ ]
+ ]
+ },
+ {
+ "id": "54ae716c.b1246",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3218.1674423217773,
+ "y": 299.00030040740967,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "7fb39d4.2f12264"
+ ]
+ ]
+ },
+ {
+ "id": "ec7666af.6addb8",
+ "type": "switchNode",
+ "name": "switch:ont_sn value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2917.16703414917,
+ "y": 367.0002088546753,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "355a14da.2c5f3c",
+ "28d7a120.f6fdbe"
+ ]
+ ]
+ },
+ {
+ "id": "28d7a120.f6fdbe",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3220.1674423217773,
+ "y": 362.00030040740967,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "b9b321b1.332a6"
+ ]
+ ]
+ },
+ {
+ "id": "d82c6439.435768",
+ "type": "switchNode",
+ "name": "switch:c_vlan value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2915.1672172546387,
+ "y": 727.0003337860107,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "355a14da.2c5f3c",
+ "ec5e8e39.5e084"
+ ]
+ ]
+ },
+ {
+ "id": "ec5e8e39.5e084",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3219.1678161621094,
+ "y": 724.0004281997681,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "9515222a.16723"
+ ]
+ ]
+ },
+ {
+ "id": "d2a653cd.d6a14",
+ "type": "switchNode",
+ "name": "switch:s_vlan value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2914.1672172546387,
+ "y": 668.0002937316895,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "355a14da.2c5f3c",
+ "8b4cb76b.dd9ee8"
+ ]
+ ]
+ },
+ {
+ "id": "8b4cb76b.dd9ee8",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3217.167625427246,
+ "y": 664.0003852844238,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "ddf0943.130d368"
+ ]
+ ]
+ },
+ {
+ "id": "355a14da.2c5f3c",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.1674194335938,
+ "y": 142.0002098083496,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "e20e053a.4de768"
+ ]
+ ]
+ },
+ {
+ "id": "6098eadd.045e54",
+ "type": "switchNode",
+ "name": "switch:service_type",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service_type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2499.0002975463867,
+ "y": 427.00010681152344,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "6659ed9b.487de4"
+ ]
+ ]
+ },
+ {
+ "id": "6659ed9b.487de4",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2708.0001821517944,
+ "y": 426.0001049041748,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "e9936527.8493c8"
+ ]
+ ]
+ },
+ {
+ "id": "1c7da636.5cc66a",
+ "type": "set",
+ "name": "set:service_type",
+ "xml": "<set>\n<parameter name='prop.bbs.service_type' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3428.0007553100586,
+ "y": 420.6001949310303,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "e9936527.8493c8",
+ "type": "switchNode",
+ "name": "switch:service_type value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2921.1483421325684,
+ "y": 425.7777900695801,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "66781327.c6dddc",
+ "355a14da.2c5f3c"
+ ]
+ ]
+ },
+ {
+ "id": "66781327.c6dddc",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3224.148750305176,
+ "y": 421.77788162231445,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "1c7da636.5cc66a"
+ ]
+ ]
+ },
+ {
+ "id": "71c4f1fc.edbb3",
+ "type": "switchNode",
+ "name": "switch:mac",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'mac'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2497.0002975463867,
+ "y": 487.00010871887207,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "de221b93.5fc2f8"
+ ]
+ ]
+ },
+ {
+ "id": "de221b93.5fc2f8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2706.0001821517944,
+ "y": 486.00010681152344,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "e7646b83.e7a718"
+ ]
+ ]
+ },
+ {
+ "id": "f8a1e6ae.961418",
+ "type": "set",
+ "name": "set:mac",
+ "xml": "<set>\n<parameter name='prop.bbs.mac' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3415.0006713867188,
+ "y": 480.6002368927002,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "e7646b83.e7a718",
+ "type": "switchNode",
+ "name": "switch:mac value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2919.1483421325684,
+ "y": 485.7777919769287,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "75a2ecd5.593954",
+ "355a14da.2c5f3c"
+ ]
+ ]
+ },
+ {
+ "id": "75a2ecd5.593954",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3222.148750305176,
+ "y": 481.7778835296631,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "f8a1e6ae.961418"
+ ]
+ ]
+ },
+ {
+ "id": "9b583213.a2a04",
+ "type": "switchNode",
+ "name": "switch:down_speed",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'down_speed'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2496.000457763672,
+ "y": 609.0002136230469,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "839f1adb.47c768"
+ ]
+ ]
+ },
+ {
+ "id": "839f1adb.47c768",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.0003423690796,
+ "y": 608.0002117156982,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "ed0be0e1.46321"
+ ]
+ ]
+ },
+ {
+ "id": "1e0d2a0e.760fd6",
+ "type": "set",
+ "name": "set:down_speed",
+ "xml": "<set>\n<parameter name='prop.bbs.down_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3425.0009155273438,
+ "y": 602.6003017425537,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "ed0be0e1.46321",
+ "type": "switchNode",
+ "name": "switch:down_speed value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2918.1485023498535,
+ "y": 607.7778968811035,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "ff264a18.42cc48",
+ "355a14da.2c5f3c"
+ ]
+ ]
+ },
+ {
+ "id": "ff264a18.42cc48",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.148910522461,
+ "y": 603.7779884338379,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "1e0d2a0e.760fd6"
+ ]
+ ]
+ },
+ {
+ "id": "8cdcb93e.555918",
+ "type": "switchNode",
+ "name": "switch:service-id",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'service-id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2507.0001487731934,
+ "y": 248.0000114440918,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "33540082.2a40f"
+ ]
+ ]
+ },
+ {
+ "id": "33540082.2a40f",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2711.000068664551,
+ "y": 247.9999828338623,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "fe661f10.07386"
+ ]
+ ]
+ },
+ {
+ "id": "4530ebf6.2aea14",
+ "type": "set",
+ "name": "set:service-id",
+ "xml": "<set>\n<parameter name='prop.bbs.service-id' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3430.000431060791,
+ "y": 241.60006713867188,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "fe661f10.07386",
+ "type": "switchNode",
+ "name": "switch:service-id value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2922.000068664551,
+ "y": 247.00001335144043,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "a6af343c.4c8b58",
+ "355a14da.2c5f3c"
+ ]
+ ]
+ },
+ {
+ "id": "a6af343c.4c8b58",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3223.000476837158,
+ "y": 241.0001049041748,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "4530ebf6.2aea14"
+ ]
+ ]
+ },
+ {
+ "id": "7561ea5b.dc7884",
+ "type": "switchNode",
+ "name": "switch:up_speed",
+ "xml": "<switch test=\"`$network-input-parameters.param[$idx].name == 'up_speed'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2496.000617980957,
+ "y": 548.0001907348633,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "d4e39c0e.85738"
+ ]
+ ]
+ },
+ {
+ "id": "d4e39c0e.85738",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.0005025863647,
+ "y": 547.0001888275146,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "b7e84644.caee48"
+ ]
+ ]
+ },
+ {
+ "id": "414afbc2.506fc4",
+ "type": "set",
+ "name": "set:up_speed",
+ "xml": "<set>\n<parameter name='prop.bbs.up_speed' value='`$network-input-parameters.param[$idx].value`' />\n",
+ "comments": "",
+ "x": 3425.001075744629,
+ "y": 541.6002788543701,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "b7e84644.caee48",
+ "type": "switchNode",
+ "name": "switch:up_speed value",
+ "xml": "<switch test='`$network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2918.1486625671387,
+ "y": 546.7778739929199,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "c8f1867c.dd8f78",
+ "355a14da.2c5f3c"
+ ]
+ ]
+ },
+ {
+ "id": "c8f1867c.dd8f78",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.149070739746,
+ "y": 542.7779655456543,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ [
+ "414afbc2.506fc4"
+ ]
+ ]
+ },
+ {
+ "id": "e20e053a.4de768",
+ "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=\"`$network-input-parameters.param[$idx].name +' value is null, please check it.'`\" />\n",
+ "comments": "",
+ "x": 3416.9999389648438,
+ "y": 141,
+ "z": "55c43f0b.2cfc8",
+ "wires": []
+ },
+ {
+ "id": "8b23f70.e290f08",
+ "type": "record",
+ "name": "log file",
+ "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"bbs-internet-profile-common\" />\n <parameter name=\"field2\" value=\"`$prop.bbs.service-id`\" />\n <parameter name=\"field3\" value=\"`$prop.bbs.access_id`\" />\n <parameter name=\"field4\" value=\"`$prop.bbs.ont_sn`\" />\n <parameter name=\"field5\" value=\"`$prop.bbs.service_type`\" />\n <parameter name=\"field6\" value=\"`$prop.bbs.mac`\" />\n <parameter name=\"field7\" value=\"`$prop.bbs.up_speed`\" />\n <parameter name=\"field8\" value=\"`$prop.bbs.down_speed`\" />\n <parameter name=\"field9\" value=\"`$prop.bbs.s_vlan`\" />\n <parameter name=\"field10\" value=\"`$prop.bbs.c_vlan`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1837.6666259765625,
+ "y": 656,
+ "z": "55c43f0b.2cfc8",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.json
new file mode 100644
index 00000000..dd449497
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.json
@@ -0,0 +1,229 @@
+[
+ {
+ "id": "2d7f5053.43f88",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 161,
+ "y": 430,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "72df2435.5886ec"
+ ]
+ ]
+ },
+ {
+ "id": "72df2435.5886ec",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 468.99964904785156,
+ "y": 430.0000219345093,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "ffb91d40.32d4b"
+ ]
+ ]
+ },
+ {
+ "id": "ffb91d40.32d4b",
+ "type": "method",
+ "name": "method:bbs-internet-profile-network-topology-operation-create-huawei",
+ "xml": "<method rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 466.9996643066406,
+ "y": 650.0000991821289,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "53f797bd.cfd8e8"
+ ]
+ ]
+ },
+ {
+ "id": "53f797bd.cfd8e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 890.9998626708984,
+ "y": 649.0000991821289,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "370af337.5154fc",
+ "4e0ef08b.97054",
+ "f93c1da.de250e"
+ ]
+ ]
+ },
+ {
+ "id": "370af337.5154fc",
+ "type": "call",
+ "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1407.0001525878906,
+ "y": 562.0000190734863,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e0ef08b.97054",
+ "type": "execute",
+ "name": "execute:CreateInternetProfileInstance",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/CreateInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1296.6507873535156,
+ "y": 647.9608345031738,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "e4c140e5.037d7",
+ "d8bbe45d.2352e8"
+ ]
+ ]
+ },
+ {
+ "id": "d8bbe45d.2352e8",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.9837684631348,
+ "y": 647.9608345031738,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "1df15208.d8ff4e"
+ ]
+ ]
+ },
+ {
+ "id": "e4c140e5.037d7",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1606.9836807250977,
+ "y": 722.9608364105225,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "facb658d.68f2f8"
+ ]
+ ]
+ },
+ {
+ "id": "facb658d.68f2f8",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.9998016357422,
+ "y": 722.0001316070557,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "6422cd06.ccef54",
+ "d37ab755.7eae88"
+ ]
+ ]
+ },
+ {
+ "id": "1df15208.d8ff4e",
+ "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=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/CreateInternetProfileInstance'`\" />\n",
+ "comments": "",
+ "x": 2106.917381286621,
+ "y": 648.2503824234009,
+ "z": "ad27a06a.ac6cb",
+ "wires": []
+ },
+ {
+ "id": "6422cd06.ccef54",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.000141143799,
+ "y": 723.0002250671387,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "8b2e9879.6244c8"
+ ]
+ ]
+ },
+ {
+ "id": "d37ab755.7eae88",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.9998474121094,
+ "y": 809.0000915527344,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ [
+ "684bf460.d7a28c"
+ ]
+ ]
+ },
+ {
+ "id": "8b2e9879.6244c8",
+ "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 CreateInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2254.4998092651367,
+ "y": 723.0000619888306,
+ "z": "ad27a06a.ac6cb",
+ "wires": []
+ },
+ {
+ "id": "684bf460.d7a28c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2236.166477203369,
+ "y": 810.0000667572021,
+ "z": "ad27a06a.ac6cb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f93c1da.de250e",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1217.4998321533203,
+ "y": 742.0001058578491,
+ "z": "ad27a06a.ac6cb",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
new file mode 100644
index 00000000..3d478c21
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.json
@@ -0,0 +1,229 @@
+[
+ {
+ "id": "5e265471.e67f7c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 344,
+ "y": 400,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "d75b37ac.e738e8"
+ ]
+ ]
+ },
+ {
+ "id": "d75b37ac.e738e8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 651.9996490478516,
+ "y": 400.0000219345093,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "f2820cf8.0bd53"
+ ]
+ ]
+ },
+ {
+ "id": "f2820cf8.0bd53",
+ "type": "method",
+ "name": "method:bbs-internet-profile-network-topology-operation-delete-huawei",
+ "xml": "<method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 649.9996337890625,
+ "y": 596.0000982284546,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "9b232b7e.58e2b8"
+ ]
+ ]
+ },
+ {
+ "id": "9b232b7e.58e2b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1056.9998626708984,
+ "y": 597.0000619888306,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "9eb1d9e6.392fa8",
+ "7617ea2e.9a48d4",
+ "5d716cef.c08464"
+ ]
+ ]
+ },
+ {
+ "id": "9eb1d9e6.392fa8",
+ "type": "execute",
+ "name": "execute:DeleteInternetProfileInstance",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1445.6509246826172,
+ "y": 600.9608850479126,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "2862e76.2bc8318",
+ "a6a0cc88.189c9"
+ ]
+ ]
+ },
+ {
+ "id": "a6a0cc88.189c9",
+ "type": "outcome",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1746.9839057922363,
+ "y": 600.9608850479126,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "68923169.94f92"
+ ]
+ ]
+ },
+ {
+ "id": "2862e76.2bc8318",
+ "type": "outcome",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1755.9838180541992,
+ "y": 675.9608869552612,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "de6ab4f4.b99d68"
+ ]
+ ]
+ },
+ {
+ "id": "de6ab4f4.b99d68",
+ "type": "switchNode",
+ "name": "switch:service-result",
+ "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.9999389648438,
+ "y": 675.0001821517944,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "4603a7e2.b0ee88",
+ "e87dbd8d.effaf"
+ ]
+ ]
+ },
+ {
+ "id": "68923169.94f92",
+ "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=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`\" />\n",
+ "comments": "",
+ "x": 2255.9175186157227,
+ "y": 601.2504329681396,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "4603a7e2.b0ee88",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2217.0002784729004,
+ "y": 676.0002756118774,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "43e7a5db.efe9bc"
+ ]
+ ]
+ },
+ {
+ "id": "e87dbd8d.effaf",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.999984741211,
+ "y": 762.0001420974731,
+ "z": "5f22295c.f35688",
+ "wires": [
+ [
+ "22f84f13.a10ce"
+ ]
+ ]
+ },
+ {
+ "id": "43e7a5db.efe9bc",
+ "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 DeleteInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "comments": "",
+ "x": 2403.4999465942383,
+ "y": 676.0001125335693,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "22f84f13.a10ce",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.1666145324707,
+ "y": 763.0001173019409,
+ "z": "5f22295c.f35688",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7617ea2e.9a48d4",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1365.4999160766602,
+ "y": 685.0001831054688,
+ "z": "5f22295c.f35688",
+ "wires": []
+ },
+ {
+ "id": "5d716cef.c08464",
+ "type": "call",
+ "name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1557.6669082641602,
+ "y": 517.0000553131104,
+ "z": "5f22295c.f35688",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
index f0e80c3a..c122c541 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_network-topology-operation.json
@@ -1,20 +1,20 @@
[
{
- "id": "c19fae6.fd4f15",
+ "id": "1e27a7c7.a2c0e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 156,
- "y": 91.77774620056152,
- "z": "b2ff82f0.56033",
+ "x": 136.54763793945312,
+ "y": 74.77775239944458,
+ "z": "8219a869.858648",
"wires": [
[
- "d41d69a6.549648"
+ "f9f6328.32a5bd"
]
]
},
{
- "id": "d41d69a6.549648",
+ "id": "f9f6328.32a5bd",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1948 +22,2722 @@
"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='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 237.95236206054688,
- "y": 132.01585865020752,
- "z": "b2ff82f0.56033",
+ "x": 177.5,
+ "y": 115.01585865020752,
+ "z": "8219a869.858648",
"wires": [
[
- "c18fe015.f338a"
+ "9142b902.63a7b8"
]
]
},
{
- "id": "c18fe015.f338a",
+ "id": "9142b902.63a7b8",
"type": "method",
"name": "network-topology-operation",
"xml": "<method rpc='network-topology-operation' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 217.4286346435547,
- "y": 182.77775192260742,
- "z": "b2ff82f0.56033",
+ "x": 156.9762725830078,
+ "y": 165.77775192260742,
+ "z": "8219a869.858648",
"wires": [
[
- "7bb97745.a09f58"
+ "7da65c0d.1905f4"
]
]
},
{
- "id": "9dc3ada0.6983e",
+ "id": "eaaf8ee8.f9877",
"type": "comment",
"name": " NETWORK-TOPOLOGY-OPERATION ",
"info": "",
"comments": "",
- "x": 550.344856262207,
- "y": 39.36408996582031,
- "z": "b2ff82f0.56033",
+ "x": 489.89249420166016,
+ "y": 22.364089965820312,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "7bb97745.a09f58",
+ "id": "7da65c0d.1905f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 270.0000305175781,
- "y": 255.22122955322266,
- "z": "b2ff82f0.56033",
+ "x": 209.54766845703125,
+ "y": 238.22122955322266,
+ "z": "8219a869.858648",
"wires": [
[
- "852074bb.b92d38",
- "5d9f602.f8cd8a",
- "a9b65525.597998",
- "d2f271fb.1251e"
+ "c46d40a7.05467",
+ "a800b823.efeff8",
+ "1b7cacb4.3eb843",
+ "c653bf24.72f6f"
]
]
},
{
- "id": "852074bb.b92d38",
+ "id": "c46d40a7.05467",
"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=\"`$error-message`\" />\n",
"comments": "",
- "x": 474.0834045410156,
- "y": 1281.3138828277588,
- "z": "b2ff82f0.56033",
+ "x": 413.63104248046875,
+ "y": 1264.3138828277588,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "5d9f602.f8cd8a",
+ "id": "a800b823.efeff8",
"type": "switchNode",
"name": "switch svc-action",
"xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 496.7142639160156,
- "y": 485.6349239349365,
- "z": "b2ff82f0.56033",
+ "x": 436.26190185546875,
+ "y": 468.6349239349365,
+ "z": "8219a869.858648",
"wires": [
[
- "1a068b2f.ec1c25",
- "c32a4d78.480ba",
- "5471c0fe.38f1d",
- "ef9f174e.95c598",
- "e2c37c63.95631",
- "933967a8.61f458",
- "1ec9b1c2.d7896e",
- "7621e17b.a9522",
- "a3ec8288.4b45b"
+ "579ade78.9686f",
+ "90ee633e.22142",
+ "1c22494b.adce57",
+ "b2a49821.7d4d28",
+ "1b830aa8.7a2e35",
+ "e65a5795.2aa7e8",
+ "cddace48.d73d5",
+ "33ae8b87.cdb6f4",
+ "c9c439a4.644948",
+ "f1964d76.299a5"
]
]
},
{
- "id": "1a068b2f.ec1c25",
+ "id": "579ade78.9686f",
"type": "other",
"name": "assign",
"xml": "<outcome value='assign'>\n",
"comments": "",
"outputs": 1,
- "x": 711.190502166748,
- "y": 257.9206027984619,
- "z": "b2ff82f0.56033",
+ "x": 650.7381401062012,
+ "y": 240.9206027984619,
+ "z": "8219a869.858648",
"wires": [
[
- "2d8f5a2d.0637b6"
+ "154b49d6.8d5566"
]
]
},
{
- "id": "2d8f5a2d.0637b6",
+ "id": "154b49d6.8d5566",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 883.4286727905273,
- "y": 255.92073154449463,
- "z": "b2ff82f0.56033",
+ "x": 822.9763107299805,
+ "y": 238.92073154449463,
+ "z": "8219a869.858648",
"wires": [
[
- "edbce417.bd23e8"
+ "41bdfec0.46d4c"
]
]
},
{
- "id": "a9b65525.597998",
+ "id": "1b7cacb4.3eb843",
"type": "call",
"name": "call GENERIC-RESOURCE-API:validate-network-input",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-network-input' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 606.9999885559082,
- "y": 195.77775311470032,
- "z": "b2ff82f0.56033",
+ "x": 546.5476264953613,
+ "y": 178.77775311470032,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "c32a4d78.480ba",
+ "id": "90ee633e.22142",
"type": "other",
"name": "activate",
"xml": "<outcome value='activate'>\n",
"comments": "",
"outputs": 1,
- "x": 714.0000419616699,
- "y": 347.7777404785156,
- "z": "b2ff82f0.56033",
+ "x": 653.547679901123,
+ "y": 330.7777404785156,
+ "z": "8219a869.858648",
"wires": [
[
- "3e56973c.7167e8"
+ "b4a2c51c.9bf118"
]
]
},
{
- "id": "91cf810e.16ded",
+ "id": "660cc5db.d692ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1169.2383575439453,
- "y": 432.77799224853516,
- "z": "b2ff82f0.56033",
+ "x": 1108.7859954833984,
+ "y": 415.77799224853516,
+ "z": "8219a869.858648",
"wires": [
[
- "510a8ba.2d0a674",
- "c320966e.dcfd18",
- "d140ba03.9488f8"
+ "153b5df3.1aa3b2",
+ "861a03d4.b6c46",
+ "4d5d1a6.1ffe7e4"
]
]
},
{
- "id": "60aaff20.5a112",
+ "id": "df4a2853.72a188",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2361.059928894043,
- "y": 936.38498878479,
- "z": "b2ff82f0.56033",
+ "x": 2300.607566833496,
+ "y": 919.38498878479,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "5471c0fe.38f1d",
+ "id": "1c22494b.adce57",
"type": "other",
"name": "deactivate",
"xml": "<outcome value='deactivate'>\n",
"comments": "",
"outputs": 1,
- "x": 708.0000343322754,
- "y": 579.777738571167,
- "z": "b2ff82f0.56033",
+ "x": 647.5476722717285,
+ "y": 562.777738571167,
+ "z": "8219a869.858648",
"wires": [
[
- "ac8744c.c01bcb8"
+ "3ba10e57.029e32"
]
]
},
{
- "id": "955e93bb.ba042",
+ "id": "9519eead.4ec21",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1145.2383346557617,
- "y": 819.7780523300171,
- "z": "b2ff82f0.56033",
+ "x": 1084.7859725952148,
+ "y": 802.7780523300171,
+ "z": "8219a869.858648",
"wires": [
[
- "510a8ba.2d0a674",
- "1d230c90.43d433",
- "d140ba03.9488f8"
+ "153b5df3.1aa3b2",
+ "372adf7c.eb4d6",
+ "4d5d1a6.1ffe7e4"
]
]
},
{
- "id": "1d230c90.43d433",
+ "id": "372adf7c.eb4d6",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1689.2265319824219,
- "y": 1024.6350364685059,
- "z": "b2ff82f0.56033",
+ "x": 1628.774169921875,
+ "y": 1007.6350364685059,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "ef9f174e.95c598",
+ "id": "b2a49821.7d4d28",
"type": "other",
"name": "unassign",
"xml": "<outcome value='unassign'>\n",
"comments": "",
"outputs": 1,
- "x": 705.0000534057617,
- "y": 831.7777881622314,
- "z": "b2ff82f0.56033",
+ "x": 644.5476913452148,
+ "y": 814.7777881622314,
+ "z": "8219a869.858648",
"wires": [
[
- "94357376.87b42"
+ "6b94ffdc.ca5fd"
]
]
},
{
- "id": "94357376.87b42",
+ "id": "6b94ffdc.ca5fd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 886.2382125854492,
- "y": 832.777910232544,
- "z": "b2ff82f0.56033",
+ "x": 825.7858505249023,
+ "y": 815.777910232544,
+ "z": "8219a869.858648",
"wires": [
[
- "510a8ba.2d0a674",
- "1a2ab749.8c5249",
- "d140ba03.9488f8"
+ "153b5df3.1aa3b2",
+ "ff44806e.c3ac7",
+ "4d5d1a6.1ffe7e4"
]
]
},
{
- "id": "4a11ad47.8a00e4",
+ "id": "23dd09f6.b62806",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-unassign",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-unassign' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2356.8097915649414,
- "y": 1129.884958267212,
- "z": "b2ff82f0.56033",
+ "x": 2296.3574295043945,
+ "y": 1112.884958267212,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "e2c37c63.95631",
+ "id": "1b830aa8.7a2e35",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 689.0000534057617,
- "y": 1086.7777848243713,
- "z": "b2ff82f0.56033",
+ "x": 589.5477180480957,
+ "y": 2568.777879714966,
+ "z": "8219a869.858648",
"wires": [
[
- "b262823a.325c8"
+ "4fcc3aef.d47ee4"
]
]
},
{
- "id": "b262823a.325c8",
+ "id": "4fcc3aef.d47ee4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"sdnc-request-header.svc-action is a required input\" />\n",
"comments": "",
- "x": 871.0000495910645,
- "y": 1085.7777943611145,
- "z": "b2ff82f0.56033",
+ "x": 771.5477142333984,
+ "y": 2567.777889251709,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "d2f271fb.1251e",
+ "id": "c653bf24.72f6f",
"type": "set",
"name": "Set final indicator to Y",
"xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
"comments": "",
- "x": 493.11109924316406,
- "y": 1240.4722213745117,
- "z": "b2ff82f0.56033",
+ "x": 432.6587371826172,
+ "y": 1223.4722213745117,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "f1cdaba4.4b1468",
+ "id": "2a7f7b48.96f564",
"type": "for",
"name": "for nidx..service-data.networks.network[]",
"xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2225.730457305908,
- "y": 474.5396976470947,
- "z": "b2ff82f0.56033",
+ "x": 2165.2780952453613,
+ "y": 457.5396976470947,
+ "z": "8219a869.858648",
"wires": [
[
- "1ce3aa4.6cf4256"
+ "fc661165.b5a09"
]
]
},
{
- "id": "510a8ba.2d0a674",
+ "id": "153b5df3.1aa3b2",
"type": "switchNode",
"name": "switch service-data.networks.network_length",
"xml": "<switch test='`$service-data.networks.network_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1503.1946144104004,
- "y": 442.8610897064209,
- "z": "b2ff82f0.56033",
+ "x": 1442.7422523498535,
+ "y": 425.8610897064209,
+ "z": "8219a869.858648",
"wires": [
[
- "8d10209.2f0f7e",
- "b8f3d29c.ee262"
+ "c17a83fc.bbfb5",
+ "8fc5b6b7.783f98"
]
]
},
{
- "id": "8d10209.2f0f7e",
+ "id": "c17a83fc.bbfb5",
"type": "other",
"name": "outcome Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1802.444492340088,
- "y": 441.11108779907227,
- "z": "b2ff82f0.56033",
+ "x": 1741.992130279541,
+ "y": 424.11108779907227,
+ "z": "8219a869.858648",
"wires": [
[
- "6f9c2eea.df9cc"
+ "5486cd52.37da04"
]
]
},
{
- "id": "b8f3d29c.ee262",
+ "id": "8fc5b6b7.783f98",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1756.444522857666,
- "y": 474.1111087799072,
- "z": "b2ff82f0.56033",
+ "x": 1695.9921607971191,
+ "y": 457.1111087799072,
+ "z": "8219a869.858648",
"wires": [
[
- "f1ccef3b.7d9c6"
+ "a18e3ac0.fbf2a8"
]
]
},
{
- "id": "1ce3aa4.6cf4256",
+ "id": "fc661165.b5a09",
"type": "switchNode",
"name": "switch networkid found",
"xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2516.159008026123,
- "y": 473.78978157043457,
- "z": "b2ff82f0.56033",
+ "x": 2455.706645965576,
+ "y": 456.78978157043457,
+ "z": "8219a869.858648",
"wires": [
[
- "702929b4.6bd008"
+ "bed52f1.91ac3d"
]
]
},
{
- "id": "702929b4.6bd008",
+ "id": "bed52f1.91ac3d",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2705.1113624572754,
- "y": 474.6825199127197,
- "z": "b2ff82f0.56033",
+ "x": 2644.6590003967285,
+ "y": 457.6825199127197,
+ "z": "8219a869.858648",
"wires": [
[
- "46381e91.19efd"
+ "779dc900.b644d8"
]
]
},
{
- "id": "46381e91.19efd",
+ "id": "779dc900.b644d8",
"type": "set",
"name": "set tmp.nidx and network-data",
"xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
"comments": "",
- "x": 2938.6431312561035,
- "y": 473.43252754211426,
- "z": "b2ff82f0.56033",
+ "x": 2878.1907691955566,
+ "y": 456.43252754211426,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "1e4f1e53.bd5ab2",
+ "id": "6906d42b.83dd1c",
"type": "comment",
"name": "Find the index to service data for this network - save id in tmp.nidx, save service-data",
"info": "",
"comments": "",
- "x": 1653.555908203125,
- "y": 408.11110973358154,
- "z": "b2ff82f0.56033",
+ "x": 1593.1035461425781,
+ "y": 391.11110973358154,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "3eb7337.d523acc",
+ "id": "95465718.254478",
"type": "comment",
"name": "service-data will not be stored until we have a network-id",
"info": "",
"comments": "",
- "x": 1221.6667938232422,
- "y": 37,
- "z": "b2ff82f0.56033",
+ "x": 1161.2144317626953,
+ "y": 20,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "6f9c2eea.df9cc",
+ "id": "5486cd52.37da04",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
"comments": "",
- "x": 1994.2220497131348,
- "y": 439.0000858306885,
- "z": "b2ff82f0.56033",
+ "x": 1933.769687652588,
+ "y": 422.0000858306885,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "f1ccef3b.7d9c6",
+ "id": "a18e3ac0.fbf2a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1923.7144889831543,
- "y": 473.6656856536865,
- "z": "b2ff82f0.56033",
+ "x": 1863.2621269226074,
+ "y": 456.6656856536865,
+ "z": "8219a869.858648",
"wires": [
[
- "f1cdaba4.4b1468",
- "b70c43a4.8f446"
+ "2a7f7b48.96f564",
+ "6c047532.adeb9c"
]
]
},
{
- "id": "b70c43a4.8f446",
+ "id": "6c047532.adeb9c",
"type": "switchNode",
"name": "switch tmp.nidx ",
"xml": "<switch test=\"`$tmp.nidx`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 2152.7820014953613,
- "y": 524.0228967666626,
- "z": "b2ff82f0.56033",
+ "x": 2092.3296394348145,
+ "y": 507.0228967666626,
+ "z": "8219a869.858648",
"wires": [
[
- "f9fd607e.a7a39",
- "6229e67b.dcc688"
+ "c8b50e00.37e21",
+ "2459b978.6eeb96"
]
]
},
{
- "id": "f043129c.def34",
+ "id": "a4b154d2.d24a98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
"comments": "",
- "x": 2505.638984680176,
- "y": 519.737138748169,
- "z": "b2ff82f0.56033",
+ "x": 2445.186622619629,
+ "y": 502.73713874816895,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "f9fd607e.a7a39",
+ "id": "c8b50e00.37e21",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2324.210536956787,
- "y": 522.5942821502686,
- "z": "b2ff82f0.56033",
+ "x": 2263.7581748962402,
+ "y": 505.59428215026855,
+ "z": "8219a869.858648",
"wires": [
[
- "f043129c.def34"
+ "a4b154d2.d24a98"
]
]
},
{
- "id": "c320966e.dcfd18",
+ "id": "861a03d4.b6c46",
"type": "switchNode",
"name": "switch network-level-oper-status",
"xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments": "",
"outputs": 1,
- "x": 1574.0281600952148,
- "y": 936.336389541626,
- "z": "b2ff82f0.56033",
+ "x": 1513.575798034668,
+ "y": 919.336389541626,
+ "z": "8219a869.858648",
"wires": [
[
- "8fc07d73.2176e",
- "97dffa6e.212f38"
+ "35d066f7.c8c83a",
+ "5db6e1dd.9c034"
]
]
},
{
- "id": "8fc07d73.2176e",
+ "id": "35d066f7.c8c83a",
"type": "outcome",
"name": "outcome PendingCreate",
"xml": "<outcome value='PendingCreate'>\n",
"comments": "",
"outputs": 1,
- "x": 1939.0281397501622,
- "y": 936.3363742828369,
- "z": "b2ff82f0.56033",
+ "x": 1878.5757776896153,
+ "y": 919.3363742828369,
+ "z": "8219a869.858648",
"wires": [
[
- "60aaff20.5a112"
+ "df4a2853.72a188"
]
]
},
{
- "id": "97dffa6e.212f38",
+ "id": "5db6e1dd.9c034",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1889.0281867980957,
- "y": 976.336404800415,
- "z": "b2ff82f0.56033",
+ "x": 1828.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
"wires": [
[
- "1160d210.ecd43e"
+ "95937dfc.560a6"
]
]
},
{
- "id": "1160d210.ecd43e",
+ "id": "95937dfc.560a6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments": "",
- "x": 2059.0281867980957,
- "y": 976.336404800415,
- "z": "b2ff82f0.56033",
+ "x": 1998.5758247375488,
+ "y": 959.336404800415,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "1a2ab749.8c5249",
+ "id": "ff44806e.c3ac7",
"type": "switchNode",
"name": "switch network-level-oper-status",
"xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments": "",
"outputs": 1,
- "x": 1563.6311721801758,
- "y": 1131.4891605377197,
- "z": "b2ff82f0.56033",
+ "x": 1503.178810119629,
+ "y": 1114.4891605377197,
+ "z": "8219a869.858648",
"wires": [
[
- "f2a9aed4.f72e6",
- "873cbb6b.299728",
- "adb06f51.82448"
+ "6af81e00.f4b56",
+ "36399347.d4563c",
+ "63cca36.d07f25c"
]
]
},
{
- "id": "f2a9aed4.f72e6",
+ "id": "6af81e00.f4b56",
"type": "outcome",
"name": "outcome PendingCreate",
"xml": "<outcome value='PendingCreate'>\n",
"comments": "",
"outputs": 1,
- "x": 1923.6311416625977,
- "y": 1131.4891910552979,
- "z": "b2ff82f0.56033",
+ "x": 1863.1787796020508,
+ "y": 1114.4891910552979,
+ "z": "8219a869.858648",
"wires": [
[
- "4a11ad47.8a00e4"
+ "23dd09f6.b62806"
]
]
},
{
- "id": "873cbb6b.299728",
+ "id": "36399347.d4563c",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1879.3810653686523,
- "y": 1202.9892539978027,
- "z": "b2ff82f0.56033",
+ "x": 1818.9287033081055,
+ "y": 1185.9892539978027,
+ "z": "8219a869.858648",
"wires": [
[
- "4806b0a4.c6ffb"
+ "2aee0aed.346576"
]
]
},
{
- "id": "4806b0a4.c6ffb",
+ "id": "2aee0aed.346576",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for unassign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments": "",
- "x": 2070.714485168457,
- "y": 1201.6558828353882,
- "z": "b2ff82f0.56033",
+ "x": 2010.2621231079102,
+ "y": 1184.6558828353882,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "adb06f51.82448",
+ "id": "63cca36.d07f25c",
"type": "outcome",
"name": "outcome PendingDelete",
"xml": "<outcome value='PendingDelete'>\n",
"comments": "",
"outputs": 1,
- "x": 1926.8613662719727,
- "y": 1169.3363590240479,
- "z": "b2ff82f0.56033",
+ "x": 1866.4090042114258,
+ "y": 1152.3363590240479,
+ "z": "8219a869.858648",
"wires": [
[
- "4a11ad47.8a00e4"
+ "23dd09f6.b62806"
]
]
},
{
- "id": "933967a8.61f458",
+ "id": "e65a5795.2aa7e8",
"type": "other",
"name": "changeassign",
"xml": "<outcome value='changeassign'>",
"comments": "",
"outputs": 1,
- "x": 716.000072479248,
- "y": 482.77777099609375,
- "z": "b2ff82f0.56033",
+ "x": 655.5477104187012,
+ "y": 465.77777099609375,
+ "z": "8219a869.858648",
"wires": [
[
- "cab994c6.fcf578"
+ "651cd10b.8f5c7"
]
]
},
{
- "id": "cab994c6.fcf578",
+ "id": "651cd10b.8f5c7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1088.2500114440918,
- "y": 479.7777624130249,
- "z": "b2ff82f0.56033",
+ "x": 1027.797649383545,
+ "y": 462.7777624130249,
+ "z": "8219a869.858648",
"wires": [
[
- "510a8ba.2d0a674",
- "9f741f0f.86e65"
+ "153b5df3.1aa3b2",
+ "33a32095.1d0ca"
]
]
},
{
- "id": "c5852511.ea0668",
+ "id": "7b6569f0.cbf838",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-assign",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-assign' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1857.0001945495605,
- "y": 177.77776336669922,
- "z": "b2ff82f0.56033",
+ "x": 1796.5478324890137,
+ "y": 160.77776336669922,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "edbce417.bd23e8",
+ "id": "41bdfec0.46d4c",
"type": "switchNode",
"name": "switch network-level-oper-status",
"xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
"comments": "",
"outputs": 1,
- "x": 1152.9682502746582,
- "y": 115.72915458679199,
- "z": "b2ff82f0.56033",
+ "x": 1092.5158882141113,
+ "y": 98.72915458679199,
+ "z": "8219a869.858648",
"wires": [
[
- "5138e78a.bf2918",
- "ce27f2ab.d7a5d",
- "c8c8edc5.558e4",
- "ae55af74.56f3c"
+ "6d381eb0.53f11",
+ "209a7a19.1e7e26",
+ "e5e4f036.48102",
+ "9c6fbbbd.33ee08"
]
]
},
{
- "id": "5138e78a.bf2918",
+ "id": "6d381eb0.53f11",
"type": "outcome",
"name": "outcome PendingCreate",
"xml": "<outcome value='PendingCreate'>\n",
"comments": "",
"outputs": 1,
- "x": 1538.9682960510254,
- "y": 135.72913646697998,
- "z": "b2ff82f0.56033",
+ "x": 1478.5159339904785,
+ "y": 118.72913646697998,
+ "z": "8219a869.858648",
"wires": [
[
- "c7dca56e.257ca8"
+ "629dce5f.1c7a9"
]
]
},
{
- "id": "ce27f2ab.d7a5d",
+ "id": "209a7a19.1e7e26",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1486.9682922363281,
- "y": 177.72916793823242,
- "z": "b2ff82f0.56033",
+ "x": 1426.5159301757812,
+ "y": 160.72916793823242,
+ "z": "8219a869.858648",
"wires": [
[
- "c5852511.ea0668"
+ "7b6569f0.cbf838"
]
]
},
{
- "id": "c7dca56e.257ca8",
+ "id": "629dce5f.1c7a9",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Network is not in appropriate state for assign. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
"comments": "",
- "x": 1813.9685173034668,
- "y": 131.72918510437012,
- "z": "b2ff82f0.56033",
+ "x": 1753.51615524292,
+ "y": 114.72918510437012,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "ae55af74.56f3c",
+ "id": "9c6fbbbd.33ee08",
"type": "outcome",
"name": "outcome PendingDelete",
"xml": "<outcome value='PendingDelete'>\n",
"comments": "",
"outputs": 1,
- "x": 1537.0000343322754,
- "y": 100.77775192260742,
- "z": "b2ff82f0.56033",
+ "x": 1476.5476722717285,
+ "y": 83.77775192260742,
+ "z": "8219a869.858648",
"wires": [
[
- "c7dca56e.257ca8"
+ "629dce5f.1c7a9"
]
]
},
{
- "id": "c8c8edc5.558e4",
+ "id": "e5e4f036.48102",
"type": "outcome",
"name": "outcome Created",
"xml": "<outcome value='Created'>\n",
"comments": "",
"outputs": 1,
- "x": 1517.000072479248,
- "y": 65.77775382995605,
- "z": "b2ff82f0.56033",
+ "x": 1456.5477104187012,
+ "y": 48.777753829956055,
+ "z": "8219a869.858648",
"wires": [
[
- "c7dca56e.257ca8"
+ "629dce5f.1c7a9"
]
]
},
{
- "id": "9f741f0f.86e65",
+ "id": "33a32095.1d0ca",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-changeassign",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-changeassign' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1666.2464065551758,
- "y": 868.2738800048828,
- "z": "b2ff82f0.56033",
+ "x": 1605.794044494629,
+ "y": 851.2738800048828,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "d140ba03.9488f8",
+ "id": "4d5d1a6.1ffe7e4",
"type": "switchNode",
"name": "switch network-information.network-instance-group-id",
"xml": "<switch test='`$network-topology-operation-input.network-information.network-instance-group-id`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1578.438648223877,
- "y": 700.2787666320801,
- "z": "b2ff82f0.56033",
+ "x": 1517.98628616333,
+ "y": 683.2787666320801,
+ "z": "8219a869.858648",
"wires": [
[
- "19350a2.00944f6",
- "2ac3adf2.61df12"
+ "eb364fb8.96141",
+ "a1559a9d.cb90f8"
]
]
},
{
- "id": "19350a2.00944f6",
+ "id": "eb364fb8.96141",
"type": "other",
"name": "Other",
"xml": "<outcome value='Other'>",
"comments": "",
"outputs": 1,
- "x": 1865.1885299682617,
- "y": 738.4454336166382,
- "z": "b2ff82f0.56033",
+ "x": 1804.7361679077148,
+ "y": 721.4454336166382,
+ "z": "8219a869.858648",
"wires": [
[
- "c6e7b54f.a386d8"
+ "ce978c0d.77ec9"
]
]
},
{
- "id": "2ac3adf2.61df12",
+ "id": "a1559a9d.cb90f8",
"type": "other",
"name": "NULL",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1862.85542678833,
- "y": 705.4453077316284,
- "z": "b2ff82f0.56033",
+ "x": 1802.4030647277832,
+ "y": 688.4453077316284,
+ "z": "8219a869.858648",
"wires": [
[
- "4c785d2a.b22b24"
+ "49ad5a08.53a714"
]
]
},
{
- "id": "4c785d2a.b22b24",
+ "id": "49ad5a08.53a714",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n",
"comments": "",
- "x": 2023.1886558532715,
- "y": 702.4453649520874,
- "z": "b2ff82f0.56033",
+ "x": 1962.7362937927246,
+ "y": 685.4453649520874,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "7082d0a5.d6ea",
+ "id": "12e43bf5.2639c4",
"type": "switchNode",
"name": "service-data.network-instance-groups.network-instance-group_length",
"xml": "<switch test='`$service-data.network-instance-groups.network-instance-group_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 2358.2642707824707,
- "y": 731.7111825942993,
- "z": "b2ff82f0.56033",
+ "x": 2297.811908721924,
+ "y": 714.7111825942993,
+ "z": "8219a869.858648",
"wires": [
[
- "e3d6d488.f4d528",
- "bf586b63.f59aa8"
+ "2728faf9.9c4456",
+ "d59945c0.d5a2f8"
]
]
},
{
- "id": "e3d6d488.f4d528",
+ "id": "2728faf9.9c4456",
"type": "other",
"name": "outcome Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2717.513961791992,
- "y": 688.7111854553223,
- "z": "b2ff82f0.56033",
+ "x": 2657.0615997314453,
+ "y": 671.7111854553223,
+ "z": "8219a869.858648",
"wires": [
[
- "ada3072f.b79978"
+ "554c5dd5.7e8644"
]
]
},
{
- "id": "bf586b63.f59aa8",
+ "id": "d59945c0.d5a2f8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2697.513961791992,
- "y": 723.7111854553223,
- "z": "b2ff82f0.56033",
+ "x": 2637.0615997314453,
+ "y": 706.7111854553223,
+ "z": "8219a869.858648",
"wires": [
[
- "8992cd4d.3eddd"
+ "cadc09d7.9813e8"
]
]
},
{
- "id": "c6e7b54f.a386d8",
+ "id": "ce978c0d.77ec9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1999.2997856140137,
- "y": 738.889838218689,
- "z": "b2ff82f0.56033",
+ "x": 1938.8474235534668,
+ "y": 721.889838218689,
+ "z": "8219a869.858648",
"wires": [
[
- "7082d0a5.d6ea"
+ "12e43bf5.2639c4"
]
]
},
{
- "id": "74dc02ac.b7191c",
+ "id": "72580ae5.e78014",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4121.507778167725,
- "y": 666.9217891693115,
- "z": "b2ff82f0.56033",
+ "x": 4061.0554161071777,
+ "y": 649.9217891693115,
+ "z": "8219a869.858648",
"wires": [
[
- "e21a7b71.ed73e8"
+ "5bc3963b.959598"
]
]
},
{
- "id": "a41523ea.9b6f2",
+ "id": "34e31311.24b3ec",
"type": "set",
"name": "set tmp.ngidx and ctx.network-instance-group-data",
"xml": "<set>\n<parameter name='tmp.ngidx' value='`$ngidx`' />\n<parameter name='ctx.network-instance-group-data.' value='`$service-data.network-instance-groups.network-instance-group[$ngidx].`' />\n",
"comments": "",
- "x": 4564.039745330811,
- "y": 666.6718139648438,
- "z": "b2ff82f0.56033",
+ "x": 4503.587383270264,
+ "y": 649.6718139648438,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "e21a7b71.ed73e8",
+ "id": "5bc3963b.959598",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 4270.126216888428,
- "y": 666.778974533081,
- "z": "b2ff82f0.56033",
+ "x": 4209.673854827881,
+ "y": 649.778974533081,
+ "z": "8219a869.858648",
"wires": [
[
- "a41523ea.9b6f2"
+ "34e31311.24b3ec"
]
]
},
{
- "id": "b5ea24ff.8906d8",
+ "id": "54948c78.13e924",
"type": "for",
"name": "for ngidx..service-data.network-instance-groups.network-instance-group[]",
"xml": "<for index='ngidx' start='0' end='`$service-data.network-instance-groups.network-instance-_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3304.3761825561523,
- "y": 727.0287618637085,
- "z": "b2ff82f0.56033",
+ "x": 3243.9238204956055,
+ "y": 710.0287618637085,
+ "z": "8219a869.858648",
"wires": [
[
- "f7b04893.75f7b8"
+ "75f9e2f5.e8041c"
]
]
},
{
- "id": "f7b04893.75f7b8",
+ "id": "75f9e2f5.e8041c",
"type": "switchNode",
"name": "switch network-instance-group-id found",
"xml": "<switch test=\"`$service-data.network-instance-groups.network-instance-group[$nidx].network-instance-group-id == $network-topology-operation-input.network-information.network-instance-group-id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 3749.8047790527344,
- "y": 726.7789306640625,
- "z": "b2ff82f0.56033",
+ "x": 3689.3524169921875,
+ "y": 709.7789306640625,
+ "z": "8219a869.858648",
"wires": [
[
- "74dc02ac.b7191c"
+ "72580ae5.e78014"
]
]
},
{
- "id": "8992cd4d.3eddd",
+ "id": "cadc09d7.9813e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2916.360061645508,
- "y": 724.9046869277954,
- "z": "b2ff82f0.56033",
+ "x": 2855.907699584961,
+ "y": 707.9046869277954,
+ "z": "8219a869.858648",
"wires": [
[
- "b5ea24ff.8906d8"
+ "54948c78.13e924"
]
]
},
{
- "id": "ada3072f.b79978",
+ "id": "554c5dd5.7e8644",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"network-topology-operation-input.network-request-input.network-instance-group-id not found in service-data\" />\n",
"comments": "",
- "x": 2909.0636138916016,
- "y": 688.2787523269653,
- "z": "b2ff82f0.56033",
+ "x": 2848.6112518310547,
+ "y": 671.2787523269653,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "6229e67b.dcc688",
+ "id": "2459b978.6eeb96",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2323.7461891174316,
- "y": 553.5238647460938,
- "z": "b2ff82f0.56033",
+ "x": 2263.2938270568848,
+ "y": 536.5238647460938,
+ "z": "8219a869.858648",
"wires": [
[
- "3eb1e370.0868ec"
+ "1ed328e0.6f16c7"
]
]
},
{
- "id": "3eb1e370.0868ec",
+ "id": "1ed328e0.6f16c7",
"type": "set",
"name": "set nidx",
"xml": "<set>\n<parameter name='nidx' value='`$tmp.nidx`' />\n",
"comments": "",
- "x": 2480.7461891174316,
- "y": 554.5238647460938,
- "z": "b2ff82f0.56033",
+ "x": 2420.2938270568848,
+ "y": 537.5238647460938,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "3e56973c.7167e8",
+ "id": "b4a2c51c.9bf118",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 905.1111869812012,
- "y": 340.2326765060425,
- "z": "b2ff82f0.56033",
+ "x": 844.6588249206543,
+ "y": 323.2326765060425,
+ "z": "8219a869.858648",
"wires": [
[
- "35e94c82.e258f4",
- "3e5ff33f.47870c",
- "e06b8831.66ddf8",
- "28b987dd.785e58"
+ "d150a8f6.70cf98",
+ "6fd60384.6df67c",
+ "bf7ed4ea.d9a8d8",
+ "861169d6.7df5d8"
]
]
},
{
- "id": "35e94c82.e258f4",
+ "id": "d150a8f6.70cf98",
"type": "outcome",
"name": "ActivateDCINetworkInstance",
"xml": "<outcome value='ActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1201.4444122314453,
- "y": 285.23250579833984,
- "z": "b2ff82f0.56033",
+ "x": 1140.9920501708984,
+ "y": 268.23250579833984,
+ "z": "8219a869.858648",
"wires": [
[
- "155e6231.f6ae8e"
+ "7f681a35.b52204"
]
]
},
{
- "id": "155e6231.f6ae8e",
+ "id": "7f681a35.b52204",
"type": "call",
"name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1716.4444885253906,
- "y": 284.8993377685547,
- "z": "b2ff82f0.56033",
+ "x": 1655.9921264648438,
+ "y": 267.8993377685547,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "3e5ff33f.47870c",
+ "id": "6fd60384.6df67c",
"type": "outcome",
"name": "other",
"xml": "<outcome value='other'>",
"comments": "",
"outputs": 1,
- "x": 1038.4445304870605,
- "y": 389.8992614746094,
- "z": "b2ff82f0.56033",
+ "x": 977.9921684265137,
+ "y": 372.8992614746094,
+ "z": "8219a869.858648",
"wires": [
[
- "dd8ef6f1.b78588"
+ "434dbd2e.fa1f54"
]
]
},
{
- "id": "ac8744c.c01bcb8",
+ "id": "3ba10e57.029e32",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 909.6667366027832,
- "y": 581.6770572662354,
- "z": "b2ff82f0.56033",
+ "x": 849.2143745422363,
+ "y": 564.6770572662354,
+ "z": "8219a869.858648",
"wires": [
[
- "4bae5f0b.cedde",
- "675d1751.d19a88",
- "8a4a4e41.b5515",
- "59dbfd81.6f2924"
+ "a1c407eb.c47c08",
+ "91991218.67145",
+ "b71277b2.22fdf8",
+ "ebbb06dc.f2bfa8"
]
]
},
{
- "id": "4bae5f0b.cedde",
+ "id": "a1c407eb.c47c08",
"type": "outcome",
"name": "DeactivateSOTNConnectivityInstance",
"xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1199.4446144104004,
- "y": 525.8991947174072,
- "z": "b2ff82f0.56033",
+ "x": 1138.9922523498535,
+ "y": 508.8991947174072,
+ "z": "8219a869.858648",
"wires": [
[
- "64bcaf0e.b9bc4"
+ "78112491.20419c"
]
]
},
{
- "id": "675d1751.d19a88",
+ "id": "91991218.67145",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1058.8897018432617,
- "y": 672.5908031463623,
- "z": "b2ff82f0.56033",
+ "x": 998.4373397827148,
+ "y": 655.5908031463623,
+ "z": "8219a869.858648",
"wires": [
[
- "3130c731.b83a38"
+ "abc50963.ab6478"
]
]
},
{
- "id": "64bcaf0e.b9bc4",
+ "id": "78112491.20419c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1690.8018798828125,
- "y": 524.1825675964355,
- "z": "b2ff82f0.56033",
+ "x": 1630.3495178222656,
+ "y": 507.18256759643555,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "1ec9b1c2.d7896e",
+ "id": "cddace48.d73d5",
"type": "other",
"name": "create",
"xml": "<outcome value='create'>\n",
"comments": "",
"outputs": 1,
- "x": 695.3335037231445,
- "y": 921.0105962753296,
- "z": "b2ff82f0.56033",
+ "x": 645.8812637329102,
+ "y": 1678.0111122131348,
+ "z": "8219a869.858648",
"wires": [
[
- "d8080c3a.ae819"
+ "3df48f11.4089a"
]
]
},
{
- "id": "d8080c3a.ae819",
+ "id": "3df48f11.4089a",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 895.6473236083984,
- "y": 920.7882690429688,
- "z": "b2ff82f0.56033",
+ "x": 882.1951904296875,
+ "y": 1679.788782119751,
+ "z": "8219a869.858648",
"wires": [
[
- "36fb281c.5a7318",
- "81edc8f4.ef4398",
- "7cf33cd4.4d9ff4"
+ "5c4c45b6.3e8bec",
+ "e597f8fd.b63538",
+ "89c5bd67.beb3d",
+ "b245425a.5411b",
+ "6fa2e05d.13256"
]
]
},
{
- "id": "7621e17b.a9522",
+ "id": "33ae8b87.cdb6f4",
"type": "other",
"name": "delete",
"xml": "<outcome value='delete'>\n",
"comments": "",
"outputs": 1,
- "x": 693.3335075378418,
- "y": 998.0106000900269,
- "z": "b2ff82f0.56033",
+ "x": 616.8812217712402,
+ "y": 2161.0111112594604,
+ "z": "8219a869.858648",
"wires": [
[
- "f6b6bca8.c4f78"
+ "5367f2bb.287a1c"
]
]
},
{
- "id": "f6b6bca8.c4f78",
+ "id": "5367f2bb.287a1c",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 895.6217651367188,
- "y": 999.071400642395,
- "z": "b2ff82f0.56033",
+ "x": 924.1696014404297,
+ "y": 2164.071994781494,
+ "z": "8219a869.858648",
"wires": [
[
- "f30dd932.31da78",
- "5aa4890e.c66fd8",
- "9d76e3e7.e3dc5"
+ "3bf00019.dedb6",
+ "c6bf5c14.5523d",
+ "91ce26b2.4e44a8",
+ "aaa99683.0e1448",
+ "d0e5186c.eb1d88"
]
]
},
{
- "id": "17812524.ab993b",
+ "id": "a8bc2791.422188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1627.4448852539062,
- "y": 1411.8994827270508,
- "z": "b2ff82f0.56033",
+ "x": 2023.9927444458008,
+ "y": 1605.8997869491577,
+ "z": "8219a869.858648",
"wires": [
[
- "ee06cc7e.4911c"
+ "41977cb1.c3a6a4"
]
]
},
{
- "id": "c39b7ecf.bd11",
+ "id": "b1a9c895.331728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1593.8891830444336,
- "y": 1707.4552936553955,
- "z": "b2ff82f0.56033",
+ "x": 1999.437068939209,
+ "y": 2117.4554653167725,
+ "z": "8219a869.858648",
"wires": [
[
- "389a961d.5233ca"
+ "c716166e.8a9e68"
]
]
},
{
- "id": "ee06cc7e.4911c",
+ "id": "41977cb1.c3a6a4",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1993.111328125,
- "y": 1408.3441352844238,
- "z": "b2ff82f0.56033",
+ "x": 2448.6592559814453,
+ "y": 1605.3442859649658,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "389a961d.5233ca",
+ "id": "c716166e.8a9e68",
"type": "call",
"name": "call GENERIC-RESOURCE-API:network-topology-operation-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='network-topology-operation-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1958.8891067504883,
- "y": 1706.4552221298218,
- "z": "b2ff82f0.56033",
+ "x": 2412.4369163513184,
+ "y": 2118.455466270447,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "36fb281c.5a7318",
+ "id": "5c4c45b6.3e8bec",
"type": "outcome",
"name": "other",
"xml": "<outcome value='other'>",
"comments": "",
"outputs": 1,
- "x": 1457.6473083496094,
- "y": 1357.677001953125,
- "z": "b2ff82f0.56033",
+ "x": 1369.195026397705,
+ "y": 1572.6771278381348,
+ "z": "8219a869.858648",
"wires": [
[
- "60512a1c.621c74"
+ "185d380.33372c8"
]
]
},
{
- "id": "81edc8f4.ef4398",
+ "id": "e597f8fd.b63538",
"type": "outcome",
"name": "CreateSOTNConnectivityInstance",
"xml": "<outcome value='CreateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1537.314037322998,
- "y": 1258.4549032608047,
- "z": "b2ff82f0.56033",
+ "x": 1472.8617095947266,
+ "y": 1433.45497955475,
+ "z": "8219a869.858648",
"wires": [
[
- "97483d5f.4254d"
+ "29253322.d4803c"
]
]
},
{
- "id": "97483d5f.4254d",
+ "id": "29253322.d4803c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2016.2028541564941,
- "y": 1260.6770855346695,
- "z": "b2ff82f0.56033",
+ "x": 1951.7505264282227,
+ "y": 1435.6771618286148,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "5aa4890e.c66fd8",
+ "id": "c6bf5c14.5523d",
"type": "outcome",
"name": "DeleteSOTNConnectivityInstance",
"xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1530.7332000732422,
- "y": 1515.6271324157715,
- "z": "b2ff82f0.56033",
+ "x": 1438.28076171875,
+ "y": 1931.627236366272,
+ "z": "8219a869.858648",
"wires": [
[
- "976fa25c.f8c0f"
+ "f1c2223c.beb3c"
]
]
},
{
- "id": "976fa25c.f8c0f",
+ "id": "f1c2223c.beb3c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1997.6220169067383,
- "y": 1517.8493146896362,
- "z": "b2ff82f0.56033",
+ "x": 1905.169578552246,
+ "y": 1933.8494186401367,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "f30dd932.31da78",
+ "id": "3bf00019.dedb6",
"type": "outcome",
"name": "other",
"xml": "<outcome value='other'>",
"comments": "",
"outputs": 1,
- "x": 1449.0663375854492,
- "y": 1626.8492712974548,
- "z": "b2ff82f0.56033",
+ "x": 1330.6140060424805,
+ "y": 2079.8494815826416,
+ "z": "8219a869.858648",
"wires": [
[
- "b8c67313.e4837"
+ "37973a6d.201656"
]
]
},
{
- "id": "e06b8831.66ddf8",
+ "id": "bf7ed4ea.d9a8d8",
"type": "outcome",
"name": "ActivateSOTNConnectivityInstance",
"xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1221.4445037841797,
- "y": 236.01041412353516,
- "z": "b2ff82f0.56033",
+ "x": 1160.9921417236328,
+ "y": 219.01041412353516,
+ "z": "8219a869.858648",
"wires": [
[
- "ca6079d7.52d3f8"
+ "d0819ca8.4d92c"
]
]
},
{
- "id": "ca6079d7.52d3f8",
+ "id": "d0819ca8.4d92c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1675.6667175292969,
- "y": 237.24494552612305,
- "z": "b2ff82f0.56033",
+ "x": 1615.21435546875,
+ "y": 220.24494552612305,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "8a4a4e41.b5515",
+ "id": "b71277b2.22fdf8",
"type": "outcome",
"name": "DeActivateDCINetworkInstance",
"xml": "<outcome value='DeActivateDCINetworkInstance'>",
"comments": "",
"outputs": 1,
- "x": 1179.5451545715332,
- "y": 568.9999942779541,
- "z": "b2ff82f0.56033",
+ "x": 1119.0927925109863,
+ "y": 551.9999942779541,
+ "z": "8219a869.858648",
"wires": [
[
- "dfad3438.d76388"
+ "da012b7b.4be5d8"
]
]
},
{
- "id": "dfad3438.d76388",
+ "id": "da012b7b.4be5d8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:dci-connects-network-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='dci-connects-network-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1719.5455322265625,
- "y": 572.666805267334,
- "z": "b2ff82f0.56033",
+ "x": 1659.0931701660156,
+ "y": 555.666805267334,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "28b987dd.785e58",
+ "id": "861169d6.7df5d8",
"type": "outcome",
"name": "ActivateSDWANConnectivityInstance",
"xml": "<outcome value='ActivateSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1222.9896392822266,
- "y": 336.0000190734863,
- "z": "b2ff82f0.56033",
+ "x": 1162.5372772216797,
+ "y": 319.0000190734863,
+ "z": "8219a869.858648",
"wires": [
[
- "ba274317.79471"
+ "3c510c0.a7335f4"
]
]
},
{
- "id": "ba274317.79471",
+ "id": "3c510c0.a7335f4",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1742.9898376464844,
- "y": 330.66687393188477,
- "z": "b2ff82f0.56033",
+ "x": 1682.5374755859375,
+ "y": 313.66687393188477,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "59dbfd81.6f2924",
+ "id": "ebbb06dc.f2bfa8",
"type": "outcome",
"name": "DeactivateSDWANConnectivityInstance",
"xml": "<outcome value='DeactivateSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1196.9895935058594,
- "y": 622,
- "z": "b2ff82f0.56033",
+ "x": 1136.5372314453125,
+ "y": 605,
+ "z": "8219a869.858648",
"wires": [
[
- "3ea2e33f.e9bfac"
+ "d1da9a73.781588"
]
]
},
{
- "id": "3ea2e33f.e9bfac",
+ "id": "d1da9a73.781588",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1710.9898681640625,
- "y": 619.6668519973755,
- "z": "b2ff82f0.56033",
+ "x": 1650.5375061035156,
+ "y": 602.6668519973755,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "7cf33cd4.4d9ff4",
+ "id": "89c5bd67.beb3d",
"type": "outcome",
"name": "CreateSDWANConnectivityInstance",
"xml": "<outcome value='CreateSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1542.9895935058594,
- "y": 1307,
- "z": "b2ff82f0.56033",
+ "x": 1478.537265777588,
+ "y": 1482.0000762939453,
+ "z": "8219a869.858648",
"wires": [
[
- "229eb427.523f3c"
+ "40fbf632.88fe18"
]
]
},
{
- "id": "229eb427.523f3c",
+ "id": "40fbf632.88fe18",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1985.9897842407227,
- "y": 1304.6668286323547,
- "z": "b2ff82f0.56033",
+ "x": 1921.5374565124512,
+ "y": 1479.6669049263,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "9d76e3e7.e3dc5",
+ "id": "91ce26b2.4e44a8",
"type": "outcome",
"name": "DeleteSDWANConnectivityInstance",
"xml": "<outcome value='DeleteSDWANConnectivityInstance'>",
"comments": "",
"outputs": 1,
- "x": 1531.989658355713,
- "y": 1566.0001797676086,
- "z": "b2ff82f0.56033",
+ "x": 1439.5372200012207,
+ "y": 1982.0002837181091,
+ "z": "8219a869.858648",
"wires": [
[
- "8830d064.6046"
+ "459d472a.0c60d8"
]
]
},
{
- "id": "8830d064.6046",
+ "id": "459d472a.0c60d8",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sdwan-network-topology-operation-delete",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-network-topology-operation-delete' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1998.878475189209,
- "y": 1568.2223620414734,
- "z": "b2ff82f0.56033",
+ "x": 1906.4260368347168,
+ "y": 1984.2224659919739,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "dd8ef6f1.b78588",
+ "id": "434dbd2e.fa1f54",
"type": "execute",
"name": "contains wan-connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1228.8954391479492,
- "y": 375.0065197944641,
- "z": "b2ff82f0.56033",
+ "x": 1168.4430770874023,
+ "y": 358.0065197944641,
+ "z": "8219a869.858648",
"wires": [
[
- "4305e223.93e80c",
- "c6d3360e.e46bb8"
+ "5f6618b4.0e5d78",
+ "821088b.093c578"
]
]
},
{
- "id": "4305e223.93e80c",
+ "id": "5f6618b4.0e5d78",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1434.895492553711,
- "y": 370.11759185791016,
- "z": "b2ff82f0.56033",
+ "x": 1374.443130493164,
+ "y": 353.11759185791016,
+ "z": "8219a869.858648",
"wires": [
[
- "efbbd6dd.74a268"
+ "124f981d.b61768"
]
]
},
{
- "id": "efbbd6dd.74a268",
+ "id": "124f981d.b61768",
"type": "call",
"name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-activate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-activate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1819.8955917358398,
- "y": 372.1176052093506,
- "z": "b2ff82f0.56033",
+ "x": 1759.443229675293,
+ "y": 355.1176052093506,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "c6d3360e.e46bb8",
+ "id": "821088b.093c578",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1007.1176147460938,
- "y": 437.0064754486084,
- "z": "b2ff82f0.56033",
+ "x": 946.6652526855469,
+ "y": 420.0064754486084,
+ "z": "8219a869.858648",
"wires": [
[
- "91cf810e.16ded"
+ "660cc5db.d692ac"
]
]
},
{
- "id": "3130c731.b83a38",
+ "id": "abc50963.ab6478",
"type": "execute",
"name": "contains wan-connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1244.6732025146484,
- "y": 663.2287330627441,
- "z": "b2ff82f0.56033",
+ "x": 1184.2208404541016,
+ "y": 646.2287330627441,
+ "z": "8219a869.858648",
"wires": [
[
- "ac9a367d.5109a8",
- "d701c806.67d1c8"
+ "2465070f.de4968",
+ "c9d29535.2c2568"
]
]
},
{
- "id": "ac9a367d.5109a8",
+ "id": "2465070f.de4968",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1445.6733589172363,
- "y": 662.339765548706,
- "z": "b2ff82f0.56033",
+ "x": 1385.2209968566895,
+ "y": 645.339765548706,
+ "z": "8219a869.858648",
"wires": [
[
- "85b225fb.948668"
+ "77cd47f1.624f38"
]
]
},
{
- "id": "85b225fb.948668",
+ "id": "77cd47f1.624f38",
"type": "call",
"name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1811.673324584961,
- "y": 659.3397808074951,
- "z": "b2ff82f0.56033",
+ "x": 1751.220962524414,
+ "y": 642.3397808074951,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "d701c806.67d1c8",
+ "id": "c9d29535.2c2568",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1091.673252105713,
- "y": 726.1176118850708,
- "z": "b2ff82f0.56033",
+ "x": 1031.220890045166,
+ "y": 709.1176118850708,
+ "z": "8219a869.858648",
"wires": [
[
- "955e93bb.ba042"
+ "9519eead.4ec21"
]
]
},
{
- "id": "60512a1c.621c74",
+ "id": "185d380.33372c8",
"type": "execute",
"name": "contains wan-connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1642.895492553711,
- "y": 1363.6731243133545,
- "z": "b2ff82f0.56033",
+ "x": 1583.4430770874023,
+ "y": 1571.6732215881348,
+ "z": "8219a869.858648",
"wires": [
[
- "dbd50474.6c2188",
- "8590bbfd.3e1818"
+ "3b7bff63.4b1b4",
+ "8bbd2288.4844a"
]
]
},
{
- "id": "8590bbfd.3e1818",
+ "id": "8bbd2288.4844a",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1449.8954315185547,
- "y": 1410.562126159668,
- "z": "b2ff82f0.56033",
+ "x": 1816.4430847167969,
+ "y": 1604.5622215270996,
+ "z": "8219a869.858648",
"wires": [
[
- "17812524.ab993b"
+ "a8bc2791.422188"
]
]
},
{
- "id": "dbd50474.6c2188",
+ "id": "3b7bff63.4b1b4",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1848.895565032959,
- "y": 1355.7841815948486,
- "z": "b2ff82f0.56033",
+ "x": 1822.4432487487793,
+ "y": 1535.784550666809,
+ "z": "8219a869.858648",
"wires": [
[
- "1cb02075.d69fc"
+ "3ac71314.c8661c"
]
]
},
{
- "id": "1cb02075.d69fc",
+ "id": "3ac71314.c8661c",
"type": "call",
"name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-create",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-create' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2207.895492553711,
- "y": 1356.7842350006104,
- "z": "b2ff82f0.56033",
+ "x": 2229.443084716797,
+ "y": 1531.784387588501,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "b8c67313.e4837",
+ "id": "37973a6d.201656",
"type": "execute",
"name": "contains wan-connection",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n <parameter name=\"source\" value=\"`$network-topology-operation-input.service-information.onap-model-information.model-name`\"/>\n <parameter name=\"target\" value=\"wan-connection\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1655.56201171875,
- "y": 1635.0065059661865,
- "z": "b2ff82f0.56033",
+ "x": 1547.109619140625,
+ "y": 2080.006546020508,
+ "z": "8219a869.858648",
"wires": [
[
- "3f6aae39.2b27c2",
- "d69b4681.c4d078"
+ "cad9a24f.96c87",
+ "dafe3faf.8122a"
]
]
},
{
- "id": "d69b4681.c4d078",
+ "id": "dafe3faf.8122a",
"type": "outcomeTrue",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1440.562026977539,
- "y": 1710.895429611206,
- "z": "b2ff82f0.56033",
+ "x": 1765.109951019287,
+ "y": 2117.8958702087402,
+ "z": "8219a869.858648",
"wires": [
[
- "c39b7ecf.bd11"
+ "b1a9c895.331728"
]
]
},
{
- "id": "3f6aae39.2b27c2",
+ "id": "cad9a24f.96c87",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1856.562168121338,
- "y": 1634.1175384521484,
- "z": "b2ff82f0.56033",
+ "x": 1776.1097526550293,
+ "y": 2043.117735862732,
+ "z": "8219a869.858648",
"wires": [
[
- "2b872d7d.587eb2"
+ "421b10a5.36efb"
]
]
},
{
- "id": "2b872d7d.587eb2",
+ "id": "421b10a5.36efb",
"type": "call",
"name": "call GENERIC-RESOURCE-API:wan-connection-topology-operation-deactivate",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-topology-operation-deactivate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2222.5621337890625,
- "y": 1631.1175537109375,
- "z": "b2ff82f0.56033",
+ "x": 2223.109664916992,
+ "y": 2044.1177101135254,
+ "z": "8219a869.858648",
"wires": [
[]
]
},
{
- "id": "34673e4d.5f2892",
+ "id": "a6f9e65c.cf2798",
"type": "set",
"name": "set network-level-oper-status",
"xml": "<set>\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-rpc-action' value='`$network-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.last-action' value='`$network-topology-operation-input.request-information.request-action`' />\n",
"comments": "",
- "x": 544.7866706848145,
- "y": 1191.9571886062622,
- "z": "b2ff82f0.56033",
+ "x": 484.3343086242676,
+ "y": 1174.9571886062622,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "8cdfa6fc.6f3bc8",
+ "id": "1ee985f4.f7191a",
"type": "set",
"name": "set object-path",
"xml": "<set>\n<parameter name='network-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $network-topology-operation-input.service-information.service-instance-id\n + '/service-data/networks/network/'\n + $networkId\n + '/network-data/network-topology/'` \" />\n \n",
"comments": "",
- "x": 502.5009765625,
- "y": 1146.528715133667,
- "z": "b2ff82f0.56033",
+ "x": 442.0486145019531,
+ "y": 1129.528715133667,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "e2dc53b9.ec394",
+ "id": "53ab77b.4fd6f88",
"type": "set",
"name": "set networkId",
"xml": "<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n",
"comments": "",
- "x": 496.7866096496582,
- "y": 1109.385823249817,
- "z": "b2ff82f0.56033",
+ "x": 436.3342475891113,
+ "y": 1092.385823249817,
+ "z": "8219a869.858648",
"wires": []
},
{
- "id": "a3ec8288.4b45b",
+ "id": "c9c439a4.644948",
"type": "other",
"name": "reoptimize",
"xml": "<outcome value='reoptimize'>\n",
"comments": "",
"outputs": 1,
- "x": 693,
- "y": 1034,
- "z": "b2ff82f0.56033",
+ "x": 613.5477676391602,
+ "y": 2399.0000400543213,
+ "z": "8219a869.858648",
"wires": [
[
- "ee626a29.366388"
+ "c2ec08b5.baf898"
]
]
},
{
- "id": "ee626a29.366388",
+ "id": "c2ec08b5.baf898",
"type": "switchNode",
"name": "switch request-action",
"xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
"comments": "",
"outputs": 1,
- "x": 888,
- "y": 1038,
- "z": "b2ff82f0.56033",
+ "x": 808.5477676391602,
+ "y": 2403.0000400543213,
+ "z": "8219a869.858648",
"wires": [
[
- "5c17b026.118b2"
+ "9516703a.f0424"
]
]
},
{
- "id": "5c17b026.118b2",
+ "id": "9516703a.f0424",
"type": "outcome",
"name": "ReoptimizeSOTNInstance",
"xml": "<outcome value='ReoptimizeSOTNInstance'>",
"comments": "",
"outputs": 1,
- "x": 1540,
- "y": 1781,
- "z": "b2ff82f0.56033",
+ "x": 1416.54789352417,
+ "y": 2563.0000762939453,
+ "z": "8219a869.858648",
"wires": [
[
- "674f0e13.78aad"
+ "a5056bc.49bb798"
]
]
},
{
- "id": "674f0e13.78aad",
+ "id": "a5056bc.49bb798",
"type": "call",
"name": "call GENERIC-RESOURCE-API:sotn-network-topology-operation-reoptimize",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-network-topology-operation-reoptimize' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1955,
- "y": 1779,
- "z": "b2ff82f0.56033",
+ "x": 1982.5479011535645,
+ "y": 2559.0000762939453,
+ "z": "8219a869.858648",
"wires": [
[]
]
+ },
+ {
+ "id": "b245425a.5411b",
+ "type": "outcome",
+ "name": "CreateAccessConnectivityInstance",
+ "xml": "<outcome value='CreateAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1436.6775550842285,
+ "y": 1824.0107040405273,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3c846975.cd4d66"
+ ]
+ ]
+ },
+ {
+ "id": "59b0ffc3.f1bd",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-create-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3201.6779022216797,
+ "y": 1796.0109305381775,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaa99683.0e1448",
+ "type": "outcome",
+ "name": "DeleteAccessConnectivityInstance",
+ "xml": "<outcome value='DeleteAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1402.5100364685059,
+ "y": 2269.0106382369995,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "96e7eafa.2dbc88"
+ ]
+ ]
+ },
+ {
+ "id": "eb4a3230.bafb7",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-delete-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3301.5108337402344,
+ "y": 2189.011200904846,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fa2e05d.13256",
+ "type": "outcome",
+ "name": "CreateInternetProfileInstance",
+ "xml": "<outcome value='CreateInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1434.5104866027832,
+ "y": 1703.0105381011963,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "114697cf.26bbe8"
+ ]
+ ]
+ },
+ {
+ "id": "89198a1c.591aa8",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-create-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3139.510673522949,
+ "y": 1666.010917186737,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0e5186c.eb1d88",
+ "type": "outcome",
+ "name": "DeleteInternetProfileInstance",
+ "xml": "<outcome value='DeleteInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.5101318359375,
+ "y": 2390.010486602783,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f9740169.a8e11"
+ ]
+ ]
+ },
+ {
+ "id": "8096a9b3.539768",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-delete-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3231.510498046875,
+ "y": 2339.010486602783,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f54feb4a.839528",
+ "type": "outcome",
+ "name": "ChangeInternetProfileInstance",
+ "xml": "<outcome value='ChangeInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1242.5105171203613,
+ "y": 1339.0106048583984,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "8d49145e.10dd78"
+ ]
+ ]
+ },
+ {
+ "id": "3cb12a93.93f446",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-change-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2928.5113372802734,
+ "y": 1267.0107669830322,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c846975.cd4d66",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.3337440490723,
+ "y": 1825.0007762908936,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2daf54e0.ce83cc"
+ ]
+ ]
+ },
+ {
+ "id": "2daf54e0.ce83cc",
+ "type": "switchNode",
+ "name": "switch:vendor",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033.5001487731934,
+ "y": 1827.0006608963013,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "7f439058.f48ce"
+ ]
+ ]
+ },
+ {
+ "id": "7f439058.f48ce",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221.5000343322754,
+ "y": 1829.000823020935,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "b35e15c3.b29238"
+ ]
+ ]
+ },
+ {
+ "id": "b35e15c3.b29238",
+ "type": "switchNode",
+ "name": "switch:vendor value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.500675201416,
+ "y": 1829.001148223877,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "62efdf5e.8189e",
+ "b2bc4ac6.6914e8",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "62efdf5e.8189e",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2707.3338508605957,
+ "y": 1797.000850200653,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "59b0ffc3.f1bd"
+ ]
+ ]
+ },
+ {
+ "id": "b2bc4ac6.6914e8",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2705.3338508605957,
+ "y": 1872.0008521080017,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "58b98712.7c3b88"
+ ]
+ ]
+ },
+ {
+ "id": "58b98712.7c3b88",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-create-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3198.0009765625,
+ "y": 1870.001187801361,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96e7eafa.2dbc88",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1815.3332290649414,
+ "y": 2267.000326156616,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "1fcee7a4.020b98"
+ ]
+ ]
+ },
+ {
+ "id": "1fcee7a4.020b98",
+ "type": "switchNode",
+ "name": "switch:vendor",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2062.4994201660156,
+ "y": 2265.000326156616,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9c3c582a.8de768"
+ ]
+ ]
+ },
+ {
+ "id": "9c3c582a.8de768",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.499608039856,
+ "y": 2264.0002365112305,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "949f9c2f.46255"
+ ]
+ ]
+ },
+ {
+ "id": "949f9c2f.46255",
+ "type": "switchNode",
+ "name": "switch:vendor value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2453.4999351501465,
+ "y": 2262.0003995895386,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "39ae5c62.e189c4",
+ "4d832448.f75fec",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "39ae5c62.e189c4",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2829.333309173584,
+ "y": 2188.0002784729004,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "eb4a3230.bafb7"
+ ]
+ ]
+ },
+ {
+ "id": "4d832448.f75fec",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2827.333309173584,
+ "y": 2263.000280380249,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "de93b523.307248"
+ ]
+ ]
+ },
+ {
+ "id": "81f5fb4.8cd9808",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2850.3338165283203,
+ "y": 2027.0003852844238,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "247872c4.a3df6e"
+ ]
+ ]
+ },
+ {
+ "id": "247872c4.a3df6e",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`\" />",
+ "comments": "",
+ "x": 3051.666831970215,
+ "y": 2025.6670513153076,
+ "z": "8219a869.858648",
+ "wires": []
+ },
+ {
+ "id": "8d49145e.10dd78",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.666732788086,
+ "y": 1338.0002670288086,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "94d7db37.7a3d78"
+ ]
+ ]
+ },
+ {
+ "id": "94d7db37.7a3d78",
+ "type": "switchNode",
+ "name": "switch:vendor",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1813.833023071289,
+ "y": 1338.0002841949463,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "83ef8135.5e95e"
+ ]
+ ]
+ },
+ {
+ "id": "83ef8135.5e95e",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2001.832908630371,
+ "y": 1340.00044631958,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "30948650.291b5a"
+ ]
+ ]
+ },
+ {
+ "id": "30948650.291b5a",
+ "type": "switchNode",
+ "name": "switch:vendor value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2212.8335494995117,
+ "y": 1340.000771522522,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "569be9cc.6ad218",
+ "1b3ee4fb.4831eb",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "569be9cc.6ad218",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2464.6667823791504,
+ "y": 1266.0004348754883,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3cb12a93.93f446"
+ ]
+ ]
+ },
+ {
+ "id": "1b3ee4fb.4831eb",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2462.6667823791504,
+ "y": 1341.000436782837,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f5c766f7.632b38"
+ ]
+ ]
+ },
+ {
+ "id": "f9740169.a8e11",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.6667175292969,
+ "y": 2395.0000705718994,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "da232470.f93ec8"
+ ]
+ ]
+ },
+ {
+ "id": "da232470.f93ec8",
+ "type": "switchNode",
+ "name": "switch:vendor",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2058.832878112793,
+ "y": 2397.000023841858,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "9033ab67.390c18"
+ ]
+ ]
+ },
+ {
+ "id": "9033ab67.390c18",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2246.832763671875,
+ "y": 2399.0001859664917,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "247f3edd.baaa82"
+ ]
+ ]
+ },
+ {
+ "id": "247f3edd.baaa82",
+ "type": "switchNode",
+ "name": "switch:vendor value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2457.8334045410156,
+ "y": 2399.0005111694336,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bcef4611.8a23b8",
+ "4ab5aba5.008864",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "bcef4611.8a23b8",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2752.666748046875,
+ "y": 2338.000557899475,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "8096a9b3.539768"
+ ]
+ ]
+ },
+ {
+ "id": "4ab5aba5.008864",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2747.666748046875,
+ "y": 2396.0003967285156,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "bad37761.4aea08"
+ ]
+ ]
+ },
+ {
+ "id": "114697cf.26bbe8",
+ "type": "for",
+ "name": "for:network-input-paramters",
+ "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1783.6667747497559,
+ "y": 1704.0000638961792,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3c9fb8cf.9cb2f8"
+ ]
+ ]
+ },
+ {
+ "id": "3c9fb8cf.9cb2f8",
+ "type": "switchNode",
+ "name": "switch:vendor",
+ "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.833065032959,
+ "y": 1704.000081062317,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3500de32.7ecec2"
+ ]
+ ]
+ },
+ {
+ "id": "3500de32.7ecec2",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2218.832950592041,
+ "y": 1706.0002431869507,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "2f27817.d741d7e"
+ ]
+ ]
+ },
+ {
+ "id": "2f27817.d741d7e",
+ "type": "switchNode",
+ "name": "switch:vendor value",
+ "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2429.8335914611816,
+ "y": 1706.0005683898926,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "747fb887.a58af8",
+ "e6c3e120.b571f",
+ "81f5fb4.8cd9808"
+ ]
+ ]
+ },
+ {
+ "id": "747fb887.a58af8",
+ "type": "outcomeTrue",
+ "name": "HUAWEI",
+ "xml": "<outcome value='HUAWEI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2704.6667671203613,
+ "y": 1674.0002703666687,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "89198a1c.591aa8"
+ ]
+ ]
+ },
+ {
+ "id": "e6c3e120.b571f",
+ "type": "outcomeTrue",
+ "name": "NOKIA",
+ "xml": "<outcome value='NOKIA'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2702.6667671203613,
+ "y": 1749.0002722740173,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "3ee98359.6c3dac"
+ ]
+ ]
+ },
+ {
+ "id": "3ee98359.6c3dac",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-create-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.6669311523438,
+ "y": 1739.000180721283,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bad37761.4aea08",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-delete-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.666748046875,
+ "y": 2402.0000705718994,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5c766f7.632b38",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-internet-profile-network-topology-operation-change-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2923.6668548583984,
+ "y": 1338.0002670288086,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de93b523.307248",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:bbs-access-connectivity-network-topology-operation-delete-nokia",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-nokia' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3297.666748046875,
+ "y": 2262.000555038452,
+ "z": "8219a869.858648",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1964d76.299a5",
+ "type": "other",
+ "name": "update",
+ "xml": "<outcome value='update'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 641.0000152587891,
+ "y": 1336.0000400543213,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "e4d29c5d.bd523"
+ ]
+ ]
+ },
+ {
+ "id": "e4d29c5d.bd523",
+ "type": "switchNode",
+ "name": "switch request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 873.0000152587891,
+ "y": 1337.00004196167,
+ "z": "8219a869.858648",
+ "wires": [
+ [
+ "f54feb4a.839528"
+ ]
+ ]
}
-]
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json
new file mode 100644
index 00000000..ae60784e
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.json
@@ -0,0 +1,504 @@
+[
+ {
+ "id": "d045979f.3719e8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 124,
+ "y": 188,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "8d3f3543.6c42e8"
+ ]
+ ]
+ },
+ {
+ "id": "8d3f3543.6c42e8",
+ "type": "service-logic",
+ "name": "GENERIC-RESOURCE-API ${project.version}",
+ "module": "GENERIC-RESOURCE-API",
+ "version": "${project.version}",
+ "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='GENERIC-RESOURCE-API' version='${project.version}'>",
+ "outputs": 1,
+ "x": 394,
+ "y": 188,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "3f8a94c6.a0a66c"
+ ]
+ ]
+ },
+ {
+ "id": "3f8a94c6.a0a66c",
+ "type": "method",
+ "name": "method:validate-bbs-network-input-parameters",
+ "xml": "<method rpc='validate-bbs-network-input-parameters' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 785.9998779296875,
+ "y": 188,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "1e5fc75a.b61f49"
+ ]
+ ]
+ },
+ {
+ "id": "1e5fc75a.b61f49",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 497,
+ "y": 275.00001525878906,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "4a6bc0d8.329b8"
+ ]
+ ]
+ },
+ {
+ "id": "4a6bc0d8.329b8",
+ "type": "switchNode",
+ "name": "switch:svc-action",
+ "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.00000762939453,
+ "y": 369.00000762939453,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "482e0838.ec1d68",
+ "96e69929.afbb48",
+ "d6f2cc10.9d71b",
+ "fad55640.134b28",
+ "f069bb63.bbd458"
+ ]
+ ]
+ },
+ {
+ "id": "482e0838.ec1d68",
+ "type": "outcome",
+ "name": "create",
+ "xml": "<outcome value='create'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 704,
+ "y": 369.0000305175781,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "8fc78fa0.182da"
+ ]
+ ]
+ },
+ {
+ "id": "96e69929.afbb48",
+ "type": "outcome",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 703,
+ "y": 433,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "85d15bba.4297b8"
+ ]
+ ]
+ },
+ {
+ "id": "d6f2cc10.9d71b",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.0000343322754,
+ "y": 738.0000343322754,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "7cf97256.70f88c"
+ ]
+ ]
+ },
+ {
+ "id": "8fc78fa0.182da",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 930.3333358764648,
+ "y": 368.00002670288086,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "b2fd3772.24cfb8"
+ ]
+ ]
+ },
+ {
+ "id": "85d15bba.4297b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 930.3333358764648,
+ "y": 432.00000858306885,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "d36a1fc8.b9675"
+ ]
+ ]
+ },
+ {
+ "id": "b2fd3772.24cfb8",
+ "type": "switchNode",
+ "name": "switch:request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1142.333339691162,
+ "y": 367.00000762939453,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "1c7784fc.a4c1eb",
+ "8bd1d68a.0c8288",
+ "da93535.10b02b"
+ ]
+ ]
+ },
+ {
+ "id": "d36a1fc8.b9675",
+ "type": "switchNode",
+ "name": "switch:request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.3333435058594,
+ "y": 431.00000858306885,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "1c7784fc.a4c1eb",
+ "81a3a010.345d7",
+ "11996730.5866f9"
+ ]
+ ]
+ },
+ {
+ "id": "1c7784fc.a4c1eb",
+ "type": "outcome",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1432.3333740234375,
+ "y": 575.0000162124634,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "2f3d74cb.5ebd0c"
+ ]
+ ]
+ },
+ {
+ "id": "8bd1d68a.0c8288",
+ "type": "outcome",
+ "name": "CreateAccessConnectivityInstance",
+ "xml": "<outcome value='CreateAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1495.0000457763672,
+ "y": 279.00000762939453,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "a82faec.9ceee5"
+ ]
+ ]
+ },
+ {
+ "id": "da93535.10b02b",
+ "type": "outcome",
+ "name": "CreateInternetProfileInstance",
+ "xml": "<outcome value='CreateInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1473.0000457763672,
+ "y": 349.00000953674316,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "506c0969.c19a98"
+ ]
+ ]
+ },
+ {
+ "id": "81a3a010.345d7",
+ "type": "outcome",
+ "name": "DeleteAccessConnectivityInstance",
+ "xml": "<outcome value='DeleteAccessConnectivityInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.0000457763672,
+ "y": 431.00001335144043,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "ce6760e0.df132"
+ ]
+ ]
+ },
+ {
+ "id": "cbd80c8f.d9e71",
+ "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=\"svc-action is null\" />\n\n",
+ "comments": "",
+ "x": 909.6667060852051,
+ "y": 801.0000228881836,
+ "z": "fc0675dc.b60ce8",
+ "wires": []
+ },
+ {
+ "id": "2f3d74cb.5ebd0c",
+ "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 invalid request-action\" />\n\n",
+ "comments": "",
+ "x": 1783.6667137145996,
+ "y": 571.0000219345093,
+ "z": "fc0675dc.b60ce8",
+ "wires": []
+ },
+ {
+ "id": "506c0969.c19a98",
+ "type": "switchNode",
+ "name": "switch:param_length",
+ "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1787.0000534057617,
+ "y": 348.00000953674316,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "e77456a.57d2ea8"
+ ]
+ ]
+ },
+ {
+ "id": "a82faec.9ceee5",
+ "type": "switchNode",
+ "name": "switch:param_length",
+ "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1781.0000457763672,
+ "y": 279.0000047683716,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "e77456a.57d2ea8"
+ ]
+ ]
+ },
+ {
+ "id": "e77456a.57d2ea8",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2119.0000610351562,
+ "y": 363.00000953674316,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "acdaf629.bd5418"
+ ]
+ ]
+ },
+ {
+ "id": "ce6760e0.df132",
+ "type": "switchNode",
+ "name": "switch:param_length",
+ "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1791.0000495910645,
+ "y": 431.0000114440918,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "e77456a.57d2ea8"
+ ]
+ ]
+ },
+ {
+ "id": "acdaf629.bd5418",
+ "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 invalid request-action\" />\n\n",
+ "comments": "",
+ "x": 2301.0000610351562,
+ "y": 363.00001335144043,
+ "z": "fc0675dc.b60ce8",
+ "wires": []
+ },
+ {
+ "id": "fad55640.134b28",
+ "type": "outcome",
+ "name": "null",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.0000190734863,
+ "y": 801.0000228881836,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "cbd80c8f.d9e71"
+ ]
+ ]
+ },
+ {
+ "id": "7cf97256.70f88c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
+ "comments": "",
+ "x": 912.0000190734863,
+ "y": 739.0000228881836,
+ "z": "fc0675dc.b60ce8",
+ "wires": []
+ },
+ {
+ "id": "11996730.5866f9",
+ "type": "outcome",
+ "name": "DeleteInternetProfileInstance",
+ "xml": "<outcome value='DeleteInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1475.0000457763672,
+ "y": 499.00001525878906,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "bdd985a1.b57348"
+ ]
+ ]
+ },
+ {
+ "id": "bdd985a1.b57348",
+ "type": "switchNode",
+ "name": "switch:param_length",
+ "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1799.0000495910645,
+ "y": 498.0000157356262,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "e77456a.57d2ea8"
+ ]
+ ]
+ },
+ {
+ "id": "f069bb63.bbd458",
+ "type": "outcome",
+ "name": "update",
+ "xml": "<outcome value='update'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.0000190734863,
+ "y": 634.000018119812,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "44f31586.32dc9c"
+ ]
+ ]
+ },
+ {
+ "id": "44f31586.32dc9c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 924.0000228881836,
+ "y": 634.0000171661377,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "892c807b.e3bd"
+ ]
+ ]
+ },
+ {
+ "id": "892c807b.e3bd",
+ "type": "switchNode",
+ "name": "switch:request-action",
+ "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.0000305175781,
+ "y": 634.0000171661377,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "a891bcca.f40e3",
+ "1c7784fc.a4c1eb"
+ ]
+ ]
+ },
+ {
+ "id": "a891bcca.f40e3",
+ "type": "outcome",
+ "name": "ChangeInternetProfileInstance",
+ "xml": "<outcome value='ChangeInternetProfileInstance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1478.6667938232422,
+ "y": 634.0000190734863,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "fb90f1b4.602af"
+ ]
+ ]
+ },
+ {
+ "id": "fb90f1b4.602af",
+ "type": "switchNode",
+ "name": "switch:param_length",
+ "xml": "<switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1785.6667175292969,
+ "y": 632.0000190734863,
+ "z": "fc0675dc.b60ce8",
+ "wires": [
+ [
+ "e77456a.57d2ea8"
+ ]
+ ]
+ }
+] \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml
new file mode 100644
index 00000000..14564b93
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-create-huawei.xml
@@ -0,0 +1,167 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-access-connectivity-network-topology-operation-create-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' ></call>
+ <set>
+ <parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='https://swisscom.onap.inhuawei.com:26335' />
+ <parameter name='prop.bbs.HsiPackage' value='50M' />
+ <parameter name='prop.bbs.HsiType' value='IPoE' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <for index='idx' start='0' end='`$network-input-parameters.param_length`' >
+ <block>
+ <switch test="`$network-input-parameters.param[$idx].name == 'accessID'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.accessID' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'ONTSN'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.ONTSN' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'CVLAN'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.CVLAN' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'SVLAN'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.SVLAN' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-token-template.json'`"/>
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`"/>
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="put"/>
+ <parameter name="responsePrefix" value="token-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='success'>
+ <switch test='`$token-result.accessSession`'>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.sdncRestApi.token_id' value='`$token-result.accessSession`' />
+ </set>
+ </outcome>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing Get token rest api" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing Get token rest api" />
+ </return>
+ </outcome>
+ </execute>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-access-connectivity-create.json'`" />
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/ActiveOnt'`" />
+ <parameter name="contentType" value="application/json"/>
+ <parameter name="httpMethod" value="post"/>
+ <parameter name="responsePrefix" value="service-result"/>
+ <parameter name="customHttpHeaders" value="`'X-Auth-Token=' + $prop.sdncRestApi.token_id`"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing Get token rest api" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <switch test="`$service-result.errors.error[0].error-message`">
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Error createAccessConnectivityService failed: '+$service-result.errors.error[0].error-message`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ </switch>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.xml
new file mode 100644
index 00000000..b0dc0c9d
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-access-connectivity-network-topology-operation-delete-huawei.xml
@@ -0,0 +1,110 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-access-connectivity-network-topology-operation-delete-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' ></call>
+ <set>
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='https://swisscom.onap.inhuawei.com:26335' />
+ <parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-token-template.json'`"/>
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`"/>
+ <parameter name="format" value="json"/>
+ <parameter name="httpMethod" value="put"/>
+ <parameter name="responsePrefix" value="token-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing Get token rest api" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <switch test='`$token-result.accessSession`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error executing Get token rest api" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.sdncRestApi.token_id' value='`$token-result.accessSession`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </execute>
+ <for index='idx' start='0' end='`$network-input-parameters.param_length`' >
+ <switch test="`$network-input-parameters.param[$idx].name == 'serviceID'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.serviceID' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="invalid network-input-parameters.param in bbs-access-connectivity-network-topology-operation-delete" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/DeactivateOnt?serviceID='+$prop.bbs.serviceID`" />
+ <parameter name="httpMethod" value="get"/>
+ <parameter name="contentType" value="application/x-www-form-urlencoded"/>
+ <parameter name="responsePrefix" value="service-result"/>
+ <parameter name="customHttpHeaders" value="`'X-Auth-Token=' + $prop.sdncRestApi.token_id`"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="invalid network-input-parameters.param in bbs-access-connectivity-network-topology-operation-delete" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <block atomic="true">
+ <switch test="`$service-result.errors.error[0].error-message`">
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Error deleteAccessConnectivityService failed: '+$service-result.errors.error[0].error-message`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.xml
new file mode 100644
index 00000000..21936173
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.xml
@@ -0,0 +1,46 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' ></call>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`" />
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`" />
+ <parameter name="contentType" value="application/json"/>
+ <parameter name="httpMethod" value="post"/>
+ <parameter name="responsePrefix" value="service-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <switch test="`$service-result.errors.error[0].error-message`">
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Error ChangeInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ </switch>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml
new file mode 100644
index 00000000..d13c0fd1
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-common-huawei.xml
@@ -0,0 +1,183 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='validate-bbs-network-input-parameters' mode='sync' ></call>
+ <set>
+ <parameter name='network-input-parameters.' value='`$network-topology-operation-input.network-request-input.network-input-parameters.`' />
+ <parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='http://172.30.0.121:5000' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <for index='idx' start='0' end='`$network-input-parameters.param_length`' >
+ <block>
+ <switch test="`$network-input-parameters.param[$idx].name == 'service-id'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.service-id' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'access_id'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.access_id' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'ont_sn'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.ont_sn' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'service_type'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.service_type' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'mac'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.mac' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'up_speed'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.up_speed' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'down_speed'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.down_speed' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 's_vlan'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.s_vlan' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <switch test="`$network-input-parameters.param[$idx].name == 'c_vlan'`">
+ <outcome value='true'>
+ <switch test='`$network-input-parameters.param[$idx].value`'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-input-parameters.param[$idx].name +' value is null, please check it.'`" />
+ </return>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name='prop.bbs.c_vlan' value='`$network-input-parameters.param[$idx].value`' />
+ </set>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.xml
new file mode 100644
index 00000000..386adf5b
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-create-huawei.xml
@@ -0,0 +1,46 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' ></call>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`" />
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/CreateInternetProfileInstance'`" />
+ <parameter name="contentType" value="application/json"/>
+ <parameter name="httpMethod" value="post"/>
+ <parameter name="responsePrefix" value="service-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/CreateInternetProfileInstance'`" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <switch test="`$service-result.errors.error[0].error-message`">
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Error CreateInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ </switch>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.xml
new file mode 100644
index 00000000..10da0f80
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-delete-huawei.xml
@@ -0,0 +1,46 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync'>
+ <block atomic="true">
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' ></call>
+ <execute plugin="org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode" method="sendRequest">
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`" />
+ <parameter name="restapiUrl" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`" />
+ <parameter name="contentType" value="application/json"/>
+ <parameter name="httpMethod" value="post"/>
+ <parameter name="responsePrefix" value="service-result"/>
+ <parameter name="trustStoreFileName" value="/opt/onap/sdnc/data/stores/truststore.onap.client.jks"/>
+ <parameter name="trustStorePassword" value="adminadmin"/>
+ <parameter name="keyStoreFileName" value="/opt/onap/sdnc/data/stores/sdnc.p12"/>
+ <parameter name="keyStorePassword" value="adminadmin"/>
+ <outcome value='failure'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$prop.sdncRestApi.thirdpartySdnc.url + '/DeleteInternetProfileInstance'`" />
+ </return>
+ </outcome>
+ <outcome value='success'>
+ <switch test="`$service-result.errors.error[0].error-message`">
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`'Error DeleteInternetProfileInstance failed: '+$service-result.errors.error[0].error-message`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <block></block>
+ </outcome>
+ </switch>
+ </outcome>
+ </execute>
+ <return status='success'>
+ <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="`$error-message`" />
+ </return>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation.xml
index 663135a2..06456da7 100644
--- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation.xml
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_network-topology-operation.xml
@@ -376,6 +376,33 @@
</switch>
</block>
</outcome>
+ <outcome value='update'>
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='ChangeInternetProfileInstance'>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`">
+ <outcome value='true'>
+ <switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>
+ <outcome value='HUAWEI'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync' ></call>
+ </outcome>
+ <outcome value='NOKIA'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-change-nokia' mode='sync' ></call>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ </switch>
+ </outcome>
<outcome value='create'>
<switch test='`$network-topology-operation-input.request-information.request-action`'>
<outcome value='CreateSOTNConnectivityInstance'>
@@ -398,6 +425,52 @@
</outcome>
</execute>
</outcome>
+ <outcome value='CreateInternetProfileInstance'>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`">
+ <outcome value='true'>
+ <switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>
+ <outcome value='HUAWEI'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-huawei' mode='sync' ></call>
+ </outcome>
+ <outcome value='NOKIA'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-create-nokia' mode='sync' ></call>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='CreateAccessConnectivityInstance'>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`">
+ <outcome value='true'>
+ <switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>
+ <outcome value='HUAWEI'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-huawei' mode='sync' ></call>
+ </outcome>
+ <outcome value='NOKIA'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-create-nokia' mode='sync' ></call>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
</switch>
</outcome>
<outcome value='delete'>
@@ -422,6 +495,52 @@
</outcome>
</execute>
</outcome>
+ <outcome value='DeleteAccessConnectivityInstance'>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`">
+ <outcome value='true'>
+ <switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`" />
+ </return>
+ </outcome>
+ <outcome value='HUAWEI'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-huawei' mode='sync' ></call>
+ </outcome>
+ <outcome value='NOKIA'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-access-connectivity-network-topology-operation-delete-nokia' mode='sync' ></call>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
+ <outcome value='DeleteInternetProfileInstance'>
+ <for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >
+ <switch test="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'vendor'`">
+ <outcome value='true'>
+ <switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name+' is invalid vendor,please check!'`" />
+ </return>
+ </outcome>
+ <outcome value='HUAWEI'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-huawei' mode='sync' ></call>
+ </outcome>
+ <outcome value='NOKIA'>
+ <call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-delete-nokia' mode='sync' ></call>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </for>
+ </outcome>
</switch>
</outcome>
<outcome value='reoptimize'>
@@ -449,4 +568,4 @@
</return>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.xml
new file mode 100644
index 00000000..73bb52d6
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-bbs-network-input-parameters.xml
@@ -0,0 +1,118 @@
+<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='GENERIC-RESOURCE-API' version='${project.version}'>
+ <method rpc='validate-bbs-network-input-parameters' mode='sync'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>
+ <outcome value='create'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='CreateAccessConnectivityInstance'>
+ <switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='CreateInternetProfileInstance'>
+ <switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='delete'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='DeleteAccessConnectivityInstance'>
+ <switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='DeleteInternetProfileInstance'>
+ <switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='update'>
+ <block atomic="true">
+ <switch test='`$network-topology-operation-input.request-information.request-action`'>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ <outcome value='ChangeInternetProfileInstance'>
+ <switch test='$network-topology-operation-input.network-request-input.network-input-parameters.param_length'>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error invalid request-action" />
+ </return>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='Other'>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="`$network-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`" />
+ </return>
+ </outcome>
+ <outcome value=''>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="svc-action is null" />
+ </return>
+ </outcome>
+ </switch>
+ </block>
+ </method>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
new file mode 100644
index 00000000..0cab56ef
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-access-connectivity-create.json
@@ -0,0 +1,39 @@
+{
+"accessE2Eservice" : {
+ "serviceID" : "",
+ "subscriberInfo" : {
+ "accessID" : "",
+ "extendParas" : {},
+"dpName":""
+ },
+ "aEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "ontSN" : ${prop.bbs.ONTSN},
+ "cVlanID" : ${prop.bbs.CVLAN}
+ }
+ },
+ "zEnd" : {
+ "endNeName" : "",
+ "endPort" : "",
+ "extendParas" : {
+ "sVlanID" : ${prop.bbs.SVLAN}
+ }
+ },
+ "serviceInfo" : {
+ "serviceBasciInfo" : {
+ "serviceType" : "HSI"
+ },
+ "hsiServiceInfo" : {
+ "hsiServiceType" : ${prop.bbs.HsiType},
+ "hsiPackage" : ${prop.bbs.HsiPackage},
+ "lineProfileName" : "",
+ "serviceProfileName" : "",
+ "vaProfileName" : "",
+ "trafficProfileName" : "",
+ "extendParas" : {}
+ }
+ }
+ }
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
new file mode 100644
index 00000000..3ad3a9c5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-internet-profile-operation.json
@@ -0,0 +1,11 @@
+{
+ "service-id":${prop.bbs.service-id},
+ "access_id":${prop.bbs.access_id},
+ "ont_sn":${prop.bbs.ont_sn},
+ "service_type":${prop.bbs.service_type},
+ "mac":${prop.bbs.mac},
+ "up_speed":${prop.bbs.up_speed},
+ "down_speed":${prop.bbs.down_speed},
+ "s_vlan":${prop.bbs.s_vlan},
+ "c_vlan":${prop.bbs.c_vlan}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/bbs-token-template.json b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
new file mode 100644
index 00000000..d2526713
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/bbs-token-template.json
@@ -0,0 +1,5 @@
+{
+"userName":"tokenUser",
+"grantType":"password",
+"value":"Test_12345"
+}