"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1715,\r
- "y": 201,\r
+ "x": 1675,\r
+ "y": 295,\r
"z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
"8f80cd4e.6bb588",\r
"1ad0a363.7d61cd",\r
"2ea54daa.f8c89a",\r
- "19fc5975.9c891f"\r
+ "19fc5975.9c891f",\r
+ "30222136.8f9b9e",\r
+ "d51e1ac2.752b08"\r
]\r
]\r
},\r
"4e189d8f.8297c4",\r
"c6ccb3e9.91ea18",\r
"6963f6fb.4a135",\r
- "40ae5836.eda238"\r
+ "40ae5836.eda238",\r
+ "31cde3.5ded021e"\r
]\r
]\r
},\r
[\r
"3d7f3635.a666da",\r
"5948d066.6a7168",\r
- "363286ce.e60c2a",\r
"92d55b48.2c361",\r
- "60b689f0.bdfe6"\r
+ "60b689f0.bdfe6",\r
+ "363286ce.e60c2a"\r
]\r
]\r
},\r
"z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
- {\r
- "id": "363286ce.e60c2a",\r
- "type": "save",\r
- "name": "save connectivity resource in AAI",\r
- "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
- "comments": "",\r
- "outputs": 1,\r
- "x": 5538,\r
- "y": 1096,\r
- "z": "a1c94a24.22ed9",\r
- "wires": [\r
- []\r
- ]\r
- },\r
{\r
"id": "5948d066.6a7168",\r
"type": "execute",\r
"xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 4456,\r
- "y": 2256,\r
+ "x": 4457,\r
+ "y": 2197,\r
"z": "a1c94a24.22ed9",\r
"wires": [\r
[]\r
"name": "set attachment_param",\r
"xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
"comments": "",\r
- "x": 4250,\r
- "y": 2157,\r
+ "x": 4251,\r
+ "y": 2098,\r
"z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
"name": "TODO: FIXME",\r
"info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
"comments": "",\r
- "x": 4224,\r
- "y": 2110,\r
+ "x": 4225,\r
+ "y": 2051,\r
"z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
"xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1914,\r
- "y": 201,\r
+ "x": 1933,\r
+ "y": 248,\r
"z": "a1c94a24.22ed9",\r
"wires": [\r
[\r
"name": "set query_param",\r
"xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
"comments": "",\r
- "x": 4239,\r
- "y": 2209,\r
+ "x": 4240,\r
+ "y": 2150,\r
"z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
"y": 2896.25390625,\r
"z": "a1c94a24.22ed9",\r
"wires": [\r
- [\r
- "20917868.85ed"\r
- ]\r
+ []\r
]\r
},\r
{\r
"id": "1ad0a363.7d61cd",\r
"type": "set",\r
"name": "set tmp.arr",\r
- "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<parameter name='tmp.slicevpns' value='' />\n<parameter name='tmp.slicevpns_length' value='0' />\n\n<parameter name='tmp.slicevpnuuids' value='' />\n<parameter name='tmp.slicevpnuuids.' value='' />\n\n<parameter name='bwModified' value='false' />\n\n\n",\r
+ "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",\r
"comments": "",\r
- "x": 1896,\r
- "y": 147,\r
+ "x": 1892,\r
+ "y": 198,\r
"z": "a1c94a24.22ed9",\r
"wires": []\r
},\r
"wires": [\r
[]\r
]\r
+ },\r
+ {\r
+ "id": "54aaf2e0.b64b14",\r
+ "type": "comment",\r
+ "name": "The following two nodes are for PCE",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1967,\r
+ "y": 53,\r
+ "z": "a1c94a24.22ed9",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d51e1ac2.752b08",\r
+ "type": "get-resource",\r
+ "name": "get-resource pnfs-list",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1927,\r
+ "y": 97,\r
+ "z": "a1c94a24.22ed9",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "30222136.8f9b9e",\r
+ "type": "get-resource",\r
+ "name": "get-resource logical-links",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t key=\"selflink = 'https://aai.onap:8443/aai/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1940,\r
+ "y": 142,\r
+ "z": "a1c94a24.22ed9",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "31cde3.5ded021e",\r
+ "type": "execute",\r
+ "name": "execute printContext",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4247,\r
+ "y": 2259,\r
+ "z": "a1c94a24.22ed9",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "363286ce.e60c2a",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 5538,\r
+ "y": 1096,\r
+ "z": "a1c94a24.22ed9",\r
+ "wires": [\r
+ []\r
+ ]\r
}\r
]
\ No newline at end of file