openBackhaul / MicroWaveDeviceInventory

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

Able to retrieve the cache information when device is not in the connected list #899

Open Ziabatcha opened 5 months ago

Ziabatcha commented 5 months ago

Able to retrieve the cache response for devices which is not available in connected list. Connected list:

curl -X POST "http://x.x.x.x:xxxx/v1/provide-list-of-connected-devices" -H "accept: application/json" -H "user: User Name" -H "originator: Resolver" -H "x-correlator: 550e8400-e29b-11d4-a716-446655440000" -H "trace-indicator: 1.3.1" -H "customer-journey: Unknown value" -H "operation-key: XXXXXXXXX"
{
  "mount-name-list": [
    "513250004",
    "CO17691",
    "CO17694",
    "CO02059",
    "CO17695",
    "CO02060",
    "CO17693",
    "CO17692",
    "513250005",
    "CO12126",
    "CO13305",
    "CO17690",
    "CO15337",
    "CO15951",
    "CO15338"
  ]

Device CC retrieve :

curl -X GET "http://x.x.x.x:xxxx/core-model-1-4:network-control-domain=cache/control-construct=513250006" -H "accept: application/json"  -H "user: User Name" -H "originator: Resolver" -H "x-correlator: 550e8400-e29b-11d4-a716-446655440000" -H "trace-indicator: 1.3.1" -H "customer-journey: Unknown value" -H "operation-key: XXXXXXXXXXX"
{
  "core-model-1-4:control-construct": [
    {
      "0": {
        "uuid": "LTP-ETC-TTP-LAN-2-XG-SFP",