Operation
get /data/restnbi/{trailId}/currentRouteSwitchData
Trails (inventoryTrailSwitchData : /data/restnbi/{trailId}/currentRouteSwitchData)
Retrieves the current route along with the switch data information for a given connection id
Path parameters
Name |
IsRequired |
Description |
Enum |
---|---|---|---|
trailId | required | Can retrieve the 'trailId' from /data/npr/trails | --- |
Request body
Name |
IsRequired |
Description |
Data Type |
Enum |
---|---|---|---|---|
body | optional | request | ServletWebRequest |
--- |
body2 | optional | session | HttpSession |
--- |
Return type
Responses
Response Messages |
Schema |
---|---|
200success |
String
|
401Unauthorized | --- |
403Forbidden | --- |
404Not Found | --- |
Example Request Data
/data/restnbi/818/currentRouteSwitchData
Produces
This API call produces the following media types according to the Accept request header;
the media type will be conveyed by the Content-Type response header.
*/*
Example Response Data
[ { "currentRoute": [ { "userLabel": null, "resType": "ResourceType_main", "type": null, "timeSlots": null, "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": null, "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": null, "progressiveNum": 0, "tunnelType": null, "asonAdmState": null, "alarmStatus": null, "id": null, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 1, "childParentId": 0, "key": "Pippo/-1000", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-171-1#OCS/OCH-1-1-33-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "PN=1 TS=1:8", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 99, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -6, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 2, "childParentId": 1, "key": "Pippo/-6", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "OPS-130SCUP-33", "resType": null, "type": "RouteComponentType_physicalLink", "timeSlots": "PN=1 TS=1:8", "aPortName": "VA-OCS-20-171-1#OCS/OCH-1-1-33-1", "zPortName": "VA-OCS-20-172-1#OCS/OCH-1-1-33-1", "aNodeName": "VA-OCS-20-171-1", "zNodeName": "VA-OCS-20-172-1", "teLinkId": 100002, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": "OtuSignalType_otu4", "layeringType": "LayeringType_pure", "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 100, "tunnelType": "TunnelType_notApplicable", "asonAdmState": "AdminState_unlocked", "alarmStatus": null, "id": 8, "threerResource": null, "connectId": 8, "otnMapper": 0, "parentId": 2, "childParentId": 1, "key": "Pippo/8", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-172-1#OCS/OCH-1-1-33-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "PN=1 TS=1:8", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 101, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -8, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 2, "childParentId": 1, "key": "Pippo/-8", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": null, "resType": "ResourceType_spare", "type": null, "timeSlots": null, "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": null, "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": null, "progressiveNum": 0, "tunnelType": null, "asonAdmState": null, "alarmStatus": null, "id": -1001, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 3, "childParentId": 0, "key": "Pippo/-1001", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-171-1#OCS/OCH-1-1-35-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "PN=1 TS=1:8", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 29999, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -10, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 4, "childParentId": 3, "key": "Pippo/-10", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "OPS-130SCUP-35", "resType": null, "type": "RouteComponentType_physicalLink", "timeSlots": "PN=1 TS=1:8", "aPortName": "VA-OCS-20-171-1#OCS/OCH-1-1-35-1", "zPortName": "VA-OCS-20-172-1#OCS/OCH-1-1-35-1", "aNodeName": "VA-OCS-20-171-1", "zNodeName": "VA-OCS-20-172-1", "teLinkId": 100003, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": "OtuSignalType_otu4", "layeringType": "LayeringType_pure", "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 30000, "tunnelType": "TunnelType_notApplicable", "asonAdmState": "AdminState_unlocked", "alarmStatus": null, "id": 9, "threerResource": null, "connectId": 9, "otnMapper": 0, "parentId": 4, "childParentId": 3, "key": "Pippo/9", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-172-1#OCS/OCH-1-1-35-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "PN=1 TS=1:8", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": "TsGranularity_notMeaningful", "routeRole": "RouteRole_nominal", "progressiveNum": 30001, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -12, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 4, "childParentId": 3, "key": "Pippo/-12", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-171-1#OCS/GBE10-1-1-1-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": "RouteRole_nominal", "progressiveNum": 1, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -1, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 2, "childParentId": 1, "key": "Pippo/-1", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-171-1#OCS/GBE10-1-1-1-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": "RouteRole_nominal", "progressiveNum": 2, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -2, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 4, "childParentId": 3, "key": "Pippo/-2", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-172-1#OCS/GBE10-1-1-1-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": "RouteRole_nominal", "progressiveNum": 9000, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -4, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 2, "childParentId": 1, "key": "Pippo/-4", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null }, { "userLabel": "VA-OCS-20-172-1#OCS/GBE10-1-1-1-1", "resType": null, "type": "RouteComponentType_port", "timeSlots": "", "aPortName": null, "zPortName": null, "aNodeName": null, "zNodeName": null, "teLinkId": 0, "wdmFrequency": "", "currentFrequency": null, "otuSignalType": null, "layeringType": null, "tSlotGranularity": null, "routeRole": "RouteRole_nominal", "progressiveNum": 90000000, "tunnelType": null, "asonAdmState": null, "alarmStatus": "AlarmStatus_cleared", "id": -5, "threerResource": null, "connectId": 0, "otnMapper": 0, "parentId": 4, "childParentId": 3, "key": "Pippo/-5", "name": null, "objectId": null, "classType": null, "idClass": null, "className": "CurrRoute", "eventType": null } ], "routeStatus": "Success", "routeStatusMessage": null }, { "switchData": [ { "ObjectId": null, "EventType": null, "ClassType": null, "IdClass": 29, "active": "ActResType_notMeaningful", "activeCmd": "SNCPSwitchCmd_none", "belongTrailId": null, "confSt": null, "id": 104, "key": "AsonSwitch/104", "className": "AsonSwitch", "endType": null, "mainTp": "GBE10-1-1-1-1", "nodeId": null, "nodeUserLabel": "VA-OCS-20-171-1", "reliableTp": null, "spareTp": null, "switchDirection": null }, { "ObjectId": 818, "EventType": null, "ClassType": null, "IdClass": 28, "disjTeLinks": [ ], "disjFromTrails": [ ], "disjTrails": [ ], "a2EndClSlotNum": null, "a2EndPortId": null, "a2EndPortLabel": null, "a2EndTS": null, "a2EndTSGran": null, "aEndClSlotNum": null, "aEndPortId": null, "aEndPortLabel": null, "aEndTS": null, "aEndTSGran": null, "aWdmFrequency": null, "alarmStatus": null, "asapName": null, "asonProtection": null, "backupSt": null, "clientDependency": null, "confSt": "ConfigurationState_implemented", "defaultPriority": null, "defaultRerouting": null, "defaultReversionMode": null, "defaultSetupPriority": null, "disjointedSt": null, "endToEndOtnTrailId": null, "endToEndOtnTrailLabel": null, "excludeAnyColorId": null, "excludeAnyColorName": null, "excludeAnyColorString": null, "gmreLabel": null, "includeAnyColorId": null, "includeAnyColorName": null, "includeAnyColorString": null, "maxLatency": null, "nativeName": null, "nodeId": null, "npaId": null, "npaLabel": null, "operationalState": null, "priority": null, "protType": "ProtectionPathType_sh1Plus1EToEProt", "protectionGroup": null, "rerouting": null, "reversionBlockedSt": null, "reversionMode": null, "reversionSt": null, "routingSt": "RoutingSt_normal", "sbnConnShape": null, "serviceState": null, "setupPriority": null, "sncId": null, "sncType": null, "sncpSwitchSt": null, "tSlotGranularity": null, "tcmLevel": null, "testMode": "SncActiveState_inactive", "text1": null, "text2": null, "text3": null, "id": 818, "key": "TrailForSwitch/818", "className": "TrailForSwitch", "trailWrkSt": null, "transportNtw": null, "tunnelType": null, "guiLabel": "VA-10G-PATH-1 ODU2#0Main", "waitForServerRestoration": null, "wdmTrailLayer": null, "z2EndClSlotNum": null, "z2EndPortId": null, "z2EndPortLabel": null, "z2EndTS": null, "z2EndTSGran": null, "zEndClSlotNum": null, "zEndPortId": null, "zEndPortLabel": null, "zEndTS": null, "zEndTSGran": null, "zWdmFrequency": null, "activeAZ": "ActResType_mainNoAutoSynchro", "activeZA": "ActResType_mainNoAutoSynchro", "activeCmdAZ": "SNCPSwitchCmd_release", "activeCmdZA": "SNCPSwitchCmd_release", "switchIdAZ": 833, "switchIdZA": 832 }, { "ObjectId": null, "EventType": null, "ClassType": null, "IdClass": 29, "active": "ActResType_notMeaningful", "activeCmd": "SNCPSwitchCmd_none", "belongTrailId": null, "confSt": null, "id": 105, "key": "AsonSwitch/105", "className": "AsonSwitch", "endType": null, "mainTp": "GBE10-1-1-1-1", "nodeId": null, "nodeUserLabel": "VA-OCS-20-172-1", "reliableTp": null, "spareTp": null, "switchDirection": null } ], "switchStatus": "Success", "switchStatusmessage": null }, { "status": "Success" }, { "message": null } ]