Fix bbs dgs bug,replace 'vendor' by 'manufacturer'
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_network-topology-operation.json
index 290ff48..2440c43 100644 (file)
                 "cddace48.d73d5",
                 "33ae8b87.cdb6f4",
                 "c9c439a4.644948",
-                "f54feb4a.839528"
+                "f1964d76.299a5"
             ]
         ]
     },
     {
         "id": "89198a1c.591aa8",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-create-huawei",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-create-huawei' mode='sync' >\n",
+        "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,
     {
         "id": "8096a9b3.539768",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-delete-huawei",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-delete-huawei' mode='sync' >\n",
+        "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,
         "xml": "<outcome value='ChangeInternetProfileInstance'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 869.5104484558105,
-        "y": 1329.0105285644531,
+        "x": 1242.5105171203613,
+        "y": 1339.0106048583984,
         "z": "8219a869.858648",
         "wires": [
             [
     {
         "id": "3cb12a93.93f446",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-change-huawei",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-change-huawei' mode='sync' >\n",
+        "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": 2568.511257171631,
-        "y": 1264.01070022583,
+        "x": 2928.5113372802734,
+        "y": 1267.0107669830322,
         "z": "8219a869.858648",
         "wires": [
             []
     {
         "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",
+        "name": "switch:manufacturer",
+        "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
         "comments": "",
         "outputs": 1,
         "x": 2033.5001487731934,
     {
         "id": "b35e15c3.b29238",
         "type": "switchNode",
-        "name": "switch:vendor value",
+        "name": "switch:manufacturer value",
         "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
         "comments": "",
         "outputs": 1,
     {
         "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",
+        "name": "switch:manufacturer",
+        "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
         "comments": "",
         "outputs": 1,
         "x": 2062.4994201660156,
     {
         "id": "949f9c2f.46255",
         "type": "switchNode",
-        "name": "switch:vendor value",
+        "name": "switch:manufacturer value",
         "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
         "comments": "",
         "outputs": 1,
         "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!'`\" />",
+        "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 manufacturer,please check!'`\" />",
         "comments": "",
         "x": 3051.666831970215,
         "y": 2025.6670513153076,
         "xml": "<for index='idx' start='0' end='`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`' >\n",
         "comments": "",
         "outputs": 1,
-        "x": 1206.6666526794434,
-        "y": 1335.0002002716064,
+        "x": 1566.666732788086,
+        "y": 1338.0002670288086,
         "z": "8219a869.858648",
         "wires": [
             [
     {
         "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",
+        "name": "switch:manufacturer",
+        "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
         "comments": "",
         "outputs": 1,
-        "x": 1453.8329429626465,
-        "y": 1335.0002174377441,
+        "x": 1813.833023071289,
+        "y": 1338.0002841949463,
         "z": "8219a869.858648",
         "wires": [
             [
         "xml": "<outcome value='true'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1641.8328285217285,
-        "y": 1337.000379562378,
+        "x": 2001.832908630371,
+        "y": 1340.00044631958,
         "z": "8219a869.858648",
         "wires": [
             [
     {
         "id": "30948650.291b5a",
         "type": "switchNode",
-        "name": "switch:vendor value",
+        "name": "switch:manufacturer value",
         "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 1852.8334693908691,
-        "y": 1337.0007047653198,
+        "x": 2212.8335494995117,
+        "y": 1340.000771522522,
         "z": "8219a869.858648",
         "wires": [
             [
         "xml": "<outcome value='HUAWEI'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 2104.666702270508,
-        "y": 1263.0003681182861,
+        "x": 2464.6667823791504,
+        "y": 1266.0004348754883,
         "z": "8219a869.858648",
         "wires": [
             [
         "xml": "<outcome value='NOKIA'>\n",
         "comments": "",
         "outputs": 1,
-        "x": 2102.666702270508,
-        "y": 1338.0003700256348,
+        "x": 2462.6667823791504,
+        "y": 1341.000436782837,
         "z": "8219a869.858648",
         "wires": [
             [
     {
         "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",
+        "name": "switch:manufacturer",
+        "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
         "comments": "",
         "outputs": 1,
         "x": 2058.832878112793,
     {
         "id": "247f3edd.baaa82",
         "type": "switchNode",
-        "name": "switch:vendor value",
+        "name": "switch:manufacturer value",
         "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
         "comments": "",
         "outputs": 1,
     {
         "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",
+        "name": "switch:manufacturer",
+        "xml": "<switch test=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].name == 'manufacturer'`\">\n",
         "comments": "",
         "outputs": 1,
         "x": 2030.833065032959,
     {
         "id": "2f27817.d741d7e",
         "type": "switchNode",
-        "name": "switch:vendor value",
+        "name": "switch:manufacturer value",
         "xml": "<switch test='`$network-topology-operation-input.network-request-input.network-input-parameters.param[$idx].value`'>\n",
         "comments": "",
         "outputs": 1,
     {
         "id": "3ee98359.6c3dac",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-create-nokia",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-create-nokia' mode='sync' >\n",
+        "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,
     {
         "id": "bad37761.4aea08",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-delete-nokia",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-delete-nokia' mode='sync' >\n",
+        "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,
     {
         "id": "f5c766f7.632b38",
         "type": "call",
-        "name": "call GENERIC-RESOURCE-API:bbs-internet-network-topology-operation-change-nokia",
-        "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-network-topology-operation-change-nokia' mode='sync' >\n",
+        "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": 2563.666774749756,
-        "y": 1335.0002002716064,
+        "x": 2923.6668548583984,
+        "y": 1338.0002670288086,
         "z": "8219a869.858648",
         "wires": [
             []
         "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