openBackhaul / MicroWaveDeviceInventory

Physical and logical inventory of the MW SDN Domain
Apache License 2.0
5 stars 1 forks source link

Unable to retrieve any live current-performance data using any current-performance APIs #847

Closed Ziabatcha closed 7 months ago

Ziabatcha commented 7 months ago

When user tried to retrieve the current-performance for any device in live network, observing "500 Internal server error".

APIs

/core-model-1-4:network-control-domain=live/control-construct=222250001/logical-termination-point=LTP-ETY-TTP-1-1/layer-protocol=LP-MWPS-TTP-1-1/wire-interface-2-0:wire-interface-pac/wire-interface-current-performance
/core-model-1-4:network-control-domain=live/control-construct=222250001/logical-termination-point=LTP-PES-TTP-1-1/layer-protocol=LP-MWPS-TTP-1-1/pure-ethernet-structure-2-0:pure-ethernet-structure-pac/pure-ethernet-structure-current-performance
/core-model-1-4:network-control-domain=live/control-construct=222250001/logical-termination-point=LTP-MWPS-TTP-1-1/layer-protocol=LP-MWPS-TTP-1-1/air-interface-2-0:air-interface-pac/air-interface-current-performance
GET /core-model-1-4:network-control-domain=live/control-construct=CO02059/logical-termination-point=LTP-WIREINTERFACE-TTP-7-2/layer-protocol=LP-WIREINTERFACE-TTP-7-2/wire-interface-2-0:wire-interface-pac/wire-interface-current-performance 500 8.201 ms - 55
 callback : POST http://x.x.x.x:xxxx/v1/record-service-request header :{"user":"User Name","originator":"MicroWaveDeviceInventory","x-correlator":"Eace4cF8-f2c7-DEEa-93CA-25aE32D8e3cA","trace-indicator":1,"customer-journey":"unknown","operation-key":"Operation key not yet provided.","Content-Type":"application/json"}body :{"x-correlator":"550e8400-e29b-11d4-a716-446655440000","trace-indicator":"1.3.1","user":"User Name","originator":"Resolver","application-name":"MicroWaveDeviceInventory","release-number":"1.1.0","operation-name":"/core-model-1-4:network-control-domain=live/control-construct=CO02059/logical-termination-point=LTP-WIREINTERFACE-TTP-7-2/layer-protocol=LP-WIREINTERFACE-TTP-7-2/wire-interface-2-0:wire-interface-pac/wire-interface-current-performance","response-code":500}response code:204
Ziabatcha commented 7 months ago

Tested with Test_v1.1.2 and able to retreive the current performance from live for air-interface, wire-interface and pure-ethernetstructure.