diff options
author | 2020-05-07 18:16:58 +0000 | |
---|---|---|
committer | 2020-05-07 19:00:22 +0000 | |
commit | bb560f77ea1ebfc01ecd907ed5e2e61521da596e (patch) | |
tree | 9e6690ff5ff5cf61f40e63814d0eda00c42d8f08 /platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json | |
parent | 81045e243e0249556719835252d59c7128bd6ed9 (diff) |
NNI-based Service creation DG bug fixes (uni, l2vpn, and underlay resources).
- This is needed for F release
Issue-ID: SDNC-1184
Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com>
Change-Id: Ib35d7a70e862c6068d9e3edc10f7d80ba5764e6a
(cherry picked from commit ccf839a4815dc7e26deaf36627d04c0a4587780b [formerly f515a8831e0036414d69d73030e871dec88180f8])
Former-commit-id: fe1e29bd322bdb230b2bcf69fd3823567f11f7f2
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json | 578 |
1 files changed, 424 insertions, 154 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json index 26e9f8fe..8b19b0e4 100644 --- a/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json +++ b/platform-logic/generic-resource-api/src/main/json/sotn_nni/GENERIC-RESOURCE-API_sotn-create-otn-tunnel.json @@ -1,20 +1,20 @@ [
{
- "id": "2d787bd1.a214b4",
+ "id": "317d0413.97b404",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 92,
- "y": 22,
- "z": "17040f2b.d4a821",
+ "x": 125,
+ "y": 61,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "99a6e8f9.6615a8"
+ "56043ae0.d8ae54"
]
]
},
{
- "id": "99a6e8f9.6615a8",
+ "id": "56043ae0.d8ae54",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,427 +22,697 @@ "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": 206,
- "y": 125.00003051757812,
- "z": "17040f2b.d4a821",
+ "x": 239,
+ "y": 164.00003051757812,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "d3f739cf.6d5a28"
+ "1b0e9fc8.fec538"
]
]
},
{
- "id": "d3f739cf.6d5a28",
+ "id": "1b0e9fc8.fec538",
"type": "method",
"name": "sotn-create-otn-tunnel",
"xml": "<method rpc='sotn-create-otn-tunnel' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 217.0001220703125,
- "y": 297,
- "z": "17040f2b.d4a821",
+ "x": 250.0001220703125,
+ "y": 336,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "eb49715b.e15e8"
+ "c6ff1d9b.4f5f78"
]
]
},
{
- "id": "acad5285.a3e1a",
+ "id": "95a2379b.0d1ce",
"type": "comment",
"name": "get cross-domain-link information",
"info": "",
"comments": "",
- "x": 449.5001220703125,
- "y": 31.286468505859375,
- "z": "17040f2b.d4a821",
+ "x": 482.5001220703125,
+ "y": 70.28646850585938,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "eb49715b.e15e8",
+ "id": "c6ff1d9b.4f5f78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 336.9688720703125,
- "y": 425.74163818359375,
- "z": "17040f2b.d4a821",
+ "x": 369.9688720703125,
+ "y": 464.74163818359375,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "96ed9e8f.b90f",
- "f1e66bd.f624698",
- "386c8b8a.515584"
+ "26b2f75.3503708",
+ "f64991bb.7d2d3",
+ "f13f2135.894b48"
]
]
},
{
- "id": "96ed9e8f.b90f",
+ "id": "26b2f75.3503708",
"type": "switchNode",
"name": "switch prop.sdncRestApi.token_id",
"xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",
"comments": "",
"outputs": 1,
- "x": 586,
- "y": 625,
- "z": "17040f2b.d4a821",
+ "x": 616,
+ "y": 1203,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "f9d6c529.483238",
- "aec39761.70cfc8"
+ "6717edba.dd315c",
+ "9d26d203.bf1448"
]
]
},
{
- "id": "f9d6c529.483238",
+ "id": "6717edba.dd315c",
"type": "other",
"name": "Null",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 882.8438110351562,
- "y": 580.1218872070312,
- "z": "17040f2b.d4a821",
+ "x": 912.8438110351562,
+ "y": 1158.1218872070312,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "cb912ed0.0c0a3"
+ "84d1cb1a.eb2fc8"
]
]
},
{
- "id": "aec39761.70cfc8",
+ "id": "9d26d203.bf1448",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 881.5,
- "y": 659,
- "z": "17040f2b.d4a821",
+ "x": 911.5,
+ "y": 1237,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "a260c7eb.1e65d8"
+ "2182e897.132d8"
]
]
},
{
- "id": "a260c7eb.1e65d8",
+ "id": "2182e897.132d8",
"type": "execute",
- "name": "execute RestconfApiCallNode Create ethernet Service with token",
+ "name": "execute RestconfApiCallNode Create OTN tunnel with token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",
"comments": "",
"outputs": 1,
- "x": 1193,
- "y": 661,
- "z": "17040f2b.d4a821",
+ "x": 1223,
+ "y": 1239,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "b31b1f14.b450e",
- "31c0814c.e11a0e"
+ "1b911a1d.a19f46",
+ "ab8d3cb8.cfa08"
]
]
},
{
- "id": "cb912ed0.0c0a3",
+ "id": "84d1cb1a.eb2fc8",
"type": "execute",
- "name": "execute RestconfApiCallNode Create ethernet Service without token",
+ "name": "execute RestconfApiCallNode Creat OTN tunnel without token",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-te:te'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-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": 1205,
- "y": 584,
- "z": "17040f2b.d4a821",
+ "x": 1235,
+ "y": 1162,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "31c0814c.e11a0e",
- "b31b1f14.b450e"
+ "ab8d3cb8.cfa08",
+ "1b911a1d.a19f46"
]
]
},
{
- "id": "b31b1f14.b450e",
+ "id": "1b911a1d.a19f46",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1626.5,
- "y": 652,
- "z": "17040f2b.d4a821",
+ "x": 1656.5,
+ "y": 1230,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "6b799b05.9369c4"
+ "21fe6b2e.6608f4"
]
]
},
{
- "id": "6b799b05.9369c4",
+ "id": "21fe6b2e.6608f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1821,
- "y": 645,
- "z": "17040f2b.d4a821",
+ "x": 1851,
+ "y": 1223,
+ "z": "3b47dc40.0a0c44",
"wires": [
[]
]
},
{
- "id": "401bdd4e.60ff34",
+ "id": "3680634b.3b9a5c",
"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=\"Error executing Create vpn rest api\" />\n",
"comments": "",
- "x": 1795.5,
- "y": 583,
- "z": "17040f2b.d4a821",
+ "x": 1825.5,
+ "y": 1161,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "31c0814c.e11a0e",
+ "id": "ab8d3cb8.cfa08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1611.5,
- "y": 587,
- "z": "17040f2b.d4a821",
+ "x": 1641.5,
+ "y": 1165,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "401bdd4e.60ff34"
+ "3680634b.3b9a5c"
]
]
},
{
- "id": "f1e66bd.f624698",
+ "id": "161d9ba6.9cb994",
"type": "switchNode",
"name": "switch eth topo's provider-id",
"xml": "<switch test='`$oof.vpn.access-provider-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 594,
- "y": 173,
- "z": "17040f2b.d4a821",
+ "x": 627,
+ "y": 212,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "daa01201.b40fe",
- "ffd4b2da.f2213"
+ "5e06ab69.dbc5bc",
+ "85ad793.798f588"
]
]
},
{
- "id": "daa01201.b40fe",
+ "id": "5e06ab69.dbc5bc",
"type": "outcome",
"name": "domain A's OTN topo's provider ID",
- "xml": "<outcome value='`$domain-A.provider-id`'>\n\u0001",
+ "xml": "<outcome value='`$domain-A.provider-id`'>",
"comments": "",
"outputs": 1,
- "x": 897.285888671875,
- "y": 108.82177734375,
- "z": "17040f2b.d4a821",
+ "x": 930.285888671875,
+ "y": 147.82177734375,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "647bcb79.cd9c24"
+ "319f4a6b.cd0bbe"
]
]
},
{
- "id": "647bcb79.cd9c24",
+ "id": "319f4a6b.cd0bbe",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1154.117431640625,
- "y": 107.34027099609375,
- "z": "17040f2b.d4a821",
+ "x": 1187.117431640625,
+ "y": 146.34027099609375,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "7c841c48.339f24"
+ "a3bb1ab9.1257c"
]
]
},
{
- "id": "ffd4b2da.f2213",
+ "id": "85ad793.798f588",
"type": "outcome",
"name": "domain B's OTN topo's provider ID",
- "xml": "<outcome value='`$domain-B.provider-id`'>\n\u0001",
+ "xml": "<outcome value='`$domain-B.provider-id`'>",
"comments": "",
"outputs": 1,
- "x": 895,
- "y": 212,
- "z": "17040f2b.d4a821",
+ "x": 928,
+ "y": 251,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "ada6a164.5b7e9"
+ "91623acb.3dd5b"
]
]
},
{
- "id": "7c841c48.339f24",
+ "id": "a3bb1ab9.1257c",
"type": "set",
"name": "set otn domain node",
"xml": "<set>\n<parameter name='tmp.otn-domain.' value='`$domain-A.`' />\n",
"comments": "",
- "x": 1359,
- "y": 106,
- "z": "17040f2b.d4a821",
+ "x": 1392,
+ "y": 145,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "ada6a164.5b7e9",
+ "id": "91623acb.3dd5b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1150,
- "y": 209,
- "z": "17040f2b.d4a821",
+ "x": 1183,
+ "y": 248,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "24ca0ba6.6ddfe4"
+ "95015654.a72998"
]
]
},
{
- "id": "24ca0ba6.6ddfe4",
+ "id": "95015654.a72998",
"type": "set",
"name": "set otn domain node",
"xml": "<set>\n<parameter name='$tmp.otn-domain.' value='`$domain-B.`' />\n",
"comments": "",
- "x": 1354.882568359375,
- "y": 207.65972900390625,
- "z": "17040f2b.d4a821",
+ "x": 1387.882568359375,
+ "y": 246.65972900390625,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "386c8b8a.515584",
+ "id": "990d58ad.7400d8",
"type": "switchNode",
"name": "switch eth node ID",
"xml": "<switch test='`$oof.vpn.access-node-id`'>\n",
"comments": "",
"outputs": 1,
- "x": 600,
- "y": 427,
- "z": "17040f2b.d4a821",
+ "x": 639,
+ "y": 711,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "d91602b.4cd09",
- "c018f42b.2b1a68"
+ "2ce24094.f713b",
+ "7ec071d2.b7a1f8"
]
]
},
{
- "id": "d91602b.4cd09",
+ "id": "2ce24094.f713b",
"type": "outcome",
"name": "source eth node",
- "xml": "<outcome value='`$oof.vpns[0].access-node-id`'>\n\u0001",
+ "xml": "<outcome value='`$oof.vpns[0].access-node-id`'>",
"comments": "",
"outputs": 1,
- "x": 840.285888671875,
- "y": 349.82177734375,
- "z": "17040f2b.d4a821",
+ "x": 879.285888671875,
+ "y": 632.82177734375,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "fd2adb67.e7ca38"
+ "dd4b02f7.01e688"
]
]
},
{
- "id": "fd2adb67.e7ca38",
+ "id": "dd4b02f7.01e688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1044.117431640625,
- "y": 349.34027099609375,
- "z": "17040f2b.d4a821",
+ "x": 1083.117431640625,
+ "y": 632.3402709960938,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "ad11583e.e14ea8"
+ "aa1fe07a.cf8d18"
]
]
},
{
- "id": "17b601bf.a39ace",
+ "id": "ddb0a3f1.d5a138",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1046,
- "y": 469,
- "z": "17040f2b.d4a821",
+ "x": 1085,
+ "y": 752,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "97fd4aa8.fd21b8"
+ "da3e33dd.52f4e8"
]
]
},
{
- "id": "c018f42b.2b1a68",
+ "id": "7ec071d2.b7a1f8",
"type": "outcome",
"name": "dest eth node",
- "xml": "<outcome value='`$oof.vpns[$oof.vpns_length].access-node-id`'>\n\u0001",
+ "xml": "<outcome value='`$oof.vpns[$oof.vpns_length].access-node-id`'>",
"comments": "",
"outputs": 1,
- "x": 841,
- "y": 469,
- "z": "17040f2b.d4a821",
+ "x": 880,
+ "y": 752,
+ "z": "3b47dc40.0a0c44",
"wires": [
[
- "17b601bf.a39ace"
+ "ddb0a3f1.d5a138"
]
]
},
{
- "id": "ad11583e.e14ea8",
+ "id": "aa1fe07a.cf8d18",
"type": "set",
"name": "set attachment_param",
"xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
"comments": "",
- "x": 1286,
- "y": 350,
- "z": "17040f2b.d4a821",
+ "x": 1325,
+ "y": 633,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "4add26c3.ec74e8",
+ "id": "163a9a7c.f94c4e",
"type": "comment",
"name": "cross domain OTN node is the dest of OTN tunnel",
"info": "",
"comments": "",
- "x": 945,
- "y": 306,
- "z": "17040f2b.d4a821",
+ "x": 984,
+ "y": 589,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "15de3156.c96c3f",
+ "id": "295b6b41.b99cfc",
"type": "comment",
"name": "cross domain OTN node is the source of OTN tunnel",
"info": "",
"comments": "",
- "x": 954,
- "y": 429,
- "z": "17040f2b.d4a821",
+ "x": 993,
+ "y": 712,
+ "z": "3b47dc40.0a0c44",
+ "wires": []
+ },
+ {
+ "id": "da3e33dd.52f4e8",
+ "type": "set",
+ "name": "set attachment_param",
+ "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].src-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_src-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
+ "comments": "",
+ "x": 1333,
+ "y": 757,
+ "z": "3b47dc40.0a0c44",
+ "wires": []
+ },
+ {
+ "id": "78e806c9.b8028",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 877,
+ "y": 828,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "a1380a33.f7da"
+ ]
+ ]
+ },
+ {
+ "id": "f64991bb.7d2d3",
+ "type": "execute",
+ "name": "uni-tp-id contains src-pnf-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$oof.vpn.tp-id`' />\n <parameter name='target' value='`$tmp.oofsolutions-first-src-pnf-name`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 663,
+ "y": 827,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "78e806c9.b8028",
+ "c58e7233.0e544"
+ ]
+ ]
+ },
+ {
+ "id": "c58e7233.0e544",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 878,
+ "y": 876,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "716e2d25.6fe90c"
+ ]
+ ]
+ },
+ {
+ "id": "716e2d25.6fe90c",
+ "type": "execute",
+ "name": "uni-tp-id contains dst-pnf-name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$oof.vpn.tp-id`' />\n <parameter name='target' value='`$tmp.oofsolutions-last-dst-pnf-name`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087,
+ "y": 874,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "b2082b04.764078"
+ ]
+ ]
+ },
+ {
+ "id": "b2082b04.764078",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1301,
+ "y": 875,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "facf7dd6.b833c"
+ ]
+ ]
+ },
+ {
+ "id": "a1380a33.f7da",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1057,
+ "y": 825,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "77be498b.1e80d"
+ ]
+ ]
+ },
+ {
+ "id": "facf7dd6.b833c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1470,
+ "y": 872,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "5ad550e4.a3ef2"
+ ]
+ ]
+ },
+ {
+ "id": "2fce99ef.66ce96",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 858,
+ "y": 373,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "62b7c2e9.915bfc"
+ ]
+ ]
+ },
+ {
+ "id": "f13f2135.894b48",
+ "type": "execute",
+ "name": "uni-tp-id contains domain-A.network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$oof.vpn.tp-id`' />\n <parameter name='target' value='`$domain-A.network-id`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 623,
+ "y": 372,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "2fce99ef.66ce96",
+ "c8a39e1a.853cd"
+ ]
+ ]
+ },
+ {
+ "id": "c8a39e1a.853cd",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830,
+ "y": 423,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "9c03510d.95d8f8"
+ ]
+ ]
+ },
+ {
+ "id": "84bd363f.cecab",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1282,
+ "y": 420,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "319183ef.947ad4"
+ ]
+ ]
+ },
+ {
+ "id": "62b7c2e9.915bfc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1038,
+ "y": 370,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "feb246e9.3add2"
+ ]
+ ]
+ },
+ {
+ "id": "feb246e9.3add2",
+ "type": "set",
+ "name": "set otn domain node",
+ "xml": "<set>\n<parameter name='otn-domain.' value='`$domain-A.`' />\n",
+ "comments": "",
+ "x": 1242.882568359375,
+ "y": 368.65972900390625,
+ "z": "3b47dc40.0a0c44",
+ "wires": []
+ },
+ {
+ "id": "319183ef.947ad4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1451,
+ "y": 417,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "5f5c2180.97a72"
+ ]
+ ]
+ },
+ {
+ "id": "5f5c2180.97a72",
+ "type": "set",
+ "name": "set otn domain node",
+ "xml": "<set>\n<parameter name='$otn-domain.' value='`$domain-B.`' />\n",
+ "comments": "",
+ "x": 1655.882568359375,
+ "y": 415.65972900390625,
+ "z": "3b47dc40.0a0c44",
+ "wires": []
+ },
+ {
+ "id": "77be498b.1e80d",
+ "type": "set",
+ "name": "set attachment_param",
+ "xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].dst-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_dst-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
+ "comments": "",
+ "x": 1269,
+ "y": 823,
+ "z": "3b47dc40.0a0c44",
"wires": []
},
{
- "id": "97fd4aa8.fd21b8",
+ "id": "5ad550e4.a3ef2",
"type": "set",
"name": "set attachment_param",
"xml": "<set>\n<parameter name='ietf-te_te.tunnels.tunnel[0].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].src-ttp-id' value='`$otn-domain.ttp-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].ietf-otn-tunnel_src-tpn' value='`$otn-domain.tpn`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].name' value='otntunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.client-id' value='`$otn-domain.client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.provider-id' value='`$otn-domain.provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[0].te-topology-identifier.topology-id' value='`$otn-domain.te-topo-id`' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].destination' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].source' value='`$otn-domain.node-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].name' value='tptunnel-22' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].dependency-tunnels.dependency-tunnel[0].name' value='otntunnel-22' />\n\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-te_te.tunnels.tunnel[1].te-topology-identifier.topology-id' value='`$oof.vpn.access-topology-id`' />",
"comments": "",
- "x": 1294,
- "y": 474,
- "z": "17040f2b.d4a821",
+ "x": 1669,
+ "y": 872,
+ "z": "3b47dc40.0a0c44",
"wires": []
+ },
+ {
+ "id": "9c03510d.95d8f8",
+ "type": "execute",
+ "name": "uni-tp-id contains domain-B.network-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$oof.vpn.tp-id`' />\n <parameter name='target' value='`$domain-B.network-id`' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059,
+ "y": 423,
+ "z": "3b47dc40.0a0c44",
+ "wires": [
+ [
+ "84bd363f.cecab"
+ ]
+ ]
}
]
\ No newline at end of file |