diff options
author | 2020-03-02 06:35:43 +0000 | |
---|---|---|
committer | 2020-03-02 06:36:45 +0000 | |
commit | bea938e72991786e13566d9df66b24a102442495 (patch) | |
tree | b10b02e28b4dc9a01e624f234588158381f2b426 /platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json | |
parent | 329b7c6477ec677507b0de33a053f887526b3d84 (diff) |
DG'S added for MDONS use case
Change-Id: Ie9570b9be519e54d43b547bcfbffc16d12b16123
Issue-ID: SDNC-928
Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Former-commit-id: 6493900ed7a55ff00b2f31f8802f30f54bf335ae
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json')
-rw-r--r-- | platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json | 263 |
1 files changed, 263 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json b/platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json new file mode 100644 index 00000000..120045ba --- /dev/null +++ b/platform-logic/optical-service/src/main/json/optical-service_call-bandwidth-update-pinterface.json @@ -0,0 +1,263 @@ +[
+ {
+ "id": "eea3e631.4d9b68",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 186,
+ "y": 126,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "cb6680a1.3045c"
+ ]
+ ]
+ },
+ {
+ "id": "cb6680a1.3045c",
+ "type": "service-logic",
+ "name": "optical-service ${project.version}",
+ "module": "optical-service",
+ "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='optical-service' version='${project.version}'>",
+ "outputs": 1,
+ "x": 199,
+ "y": 186,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "fe24bdb7.c56f2"
+ ]
+ ]
+ },
+ {
+ "id": "fe24bdb7.c56f2",
+ "type": "method",
+ "name": "method call-bandwidth-update-pinterface",
+ "xml": "<method rpc='call-bandwidth-update-pinterface' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 219,
+ "y": 266,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "f4138d82.af408"
+ ]
+ ]
+ },
+ {
+ "id": "f4138d82.af408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 465.5,
+ "y": 265,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "644acd06.205cc4",
+ "9946b93e.6bd4e8",
+ "35af83ac.5dff5c"
+ ]
+ ]
+ },
+ {
+ "id": "644acd06.205cc4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/test.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$div`\"/>\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 621,
+ "y": 105,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f55c6dd9.5cdaa",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='new-odu-number' value='`0`' />\n",
+ "comments": "",
+ "x": 1768,
+ "y": 299,
+ "z": "75b8fd05.797274",
+ "wires": []
+ },
+ {
+ "id": "79209df4.edd3e4",
+ "type": "update",
+ "name": "update available bandwdth'",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='available-bandwidth'\n key='pnf.pnf-name = $aend-pnf-name AND\n p-interface.interface-name = $aend-nep AND\n bandwidth-attribute.id = $pin.bandwidth-attributes.bandwidth-attribute[0].id AND\n available-bandwidth.id = $pin.bandwidth-attributes.bandwidth-attribute[0].available-bandwidth-map.available-bandwidth[0].id' \n local-only='false'>\n<parameter name='number' value='`$new-odu-number`' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1823,
+ "y": 353,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9946b93e.6bd4e8",
+ "type": "get-resource",
+ "name": "find if interface is uni or nni or enni",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key=\"pnf.pnf-name = $pnf-name AND\n p-interface.interface-name = $pinterface-name AND depth = 'all'\"\npfx='pin' local-only='false'>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 754,
+ "y": 179,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35af83ac.5dff5c",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$pin.network-interface-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 644,
+ "y": 262,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "e2e8e64.ad89518",
+ "2d42a8a.f473958"
+ ]
+ ]
+ },
+ {
+ "id": "60b2bda3.41fbd4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 951,
+ "y": 250,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "301928f8.f38eb8",
+ "64426912.b5d438"
+ ]
+ ]
+ },
+ {
+ "id": "301928f8.f38eb8",
+ "type": "call",
+ "name": "call bandwidth update",
+ "xml": "<call module='optical-service' rpc='bandwidth-update' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160,
+ "y": 249,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2e8e64.ad89518",
+ "type": "outcome",
+ "name": "outcome",
+ "xml": "<outcome value='UNI'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 756,
+ "y": 360,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "97cc233d.bc8a6"
+ ]
+ ]
+ },
+ {
+ "id": "97cc233d.bc8a6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 926,
+ "y": 365,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "7a8337c7.492958",
+ "118d5528.b1e21b"
+ ]
+ ]
+ },
+ {
+ "id": "7a8337c7.492958",
+ "type": "update",
+ "name": "update available bandwdth'",
+ "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' \nforce='true'\nresource='available-bandwidth'\n key='pnf.pnf-name = $pnf-name AND\n p-interface.interface-name = $pinterface-name' \n local-only='false'>\n<parameter name='available-capacity' value='0' />\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161,
+ "y": 399,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64426912.b5d438",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Port is NNI\"/>\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1092,
+ "y": 191,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "118d5528.b1e21b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/service-create-tapi.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Port is UNI\"/>\n\n\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110,
+ "y": 308,
+ "z": "75b8fd05.797274",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d42a8a.f473958",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 790,
+ "y": 264,
+ "z": "75b8fd05.797274",
+ "wires": [
+ [
+ "60b2bda3.41fbd4"
+ ]
+ ]
+ }
+]
\ No newline at end of file |