openBackhaul / MicroWaveDeviceInventory

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

Response of Firmware collection -APIs doesnt match between cache and live #844

Closed Ziabatcha closed 7 months ago

Ziabatcha commented 7 months ago

The response of cache "firmware-1-0:firmware-component-list" and live is different "firmware-1-0:.

curl -X GET "http://xx:xx/core-model-1-4:network-control-domain=live/control-construct=513250005/firmware-1-0:firmware-collection/firmware-component-list=HUAWEI-PKG-MAIN" -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: Operation key not yet provided."

{
    "firmware-1-0:firmware-component-list": [
curl -X GET "http://xx:xx/core-model-1-4:network-control-domain=cache/control-construct=513250005/firmware-1-0:firmware-collection/firmware-component-list=HUAWEI-PKG-MAIN" -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: Operation key not yet provided."

{
  "firmware-1-0:HUAWEI-PKG-MAIN": [
    {
Ziabatcha commented 7 months ago

Tested with latest tag [Test_v1.1.2] Observing same response for firmware component list across cache and live . Hence closing the issue,

{ "firmware-1-0:firmware-component-list": [

{

curl -X GET "http://xxx:xxx/core-model-1-4:network-control-domain=cache/control-construct=513250004/firmware-1-0:firmware-collection/firmware-component-list=xxx" -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: Operation key not yet provided."

curl -X GET "http://172.28.127.10:3008/core-model-1-4:network-control-domain=live/control-construct=513250004/firmware-1-0:firmware-collection/firmware-component-list=HUAWEI-PKG-MAIN" -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: Operation key not yet provided."