openBackhaul / MicroWaveDeviceInventory

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

Unsupported vlan-interface-current-performance LIVE API to be removed from MWDI . #908

Closed Ziabatcha closed 5 months ago

Ziabatcha commented 5 months ago

Unsupported vlan-interface-current-performance API to be removed from MWDI live.

/core-model-1-4:network-control-domain=live/control-construct={mountName}/logical-termination-point={uuid}/layer-protocol={localId}/vlan-interface-1-0:vlan-interface-pac/vlan-interface-current-performance

When tried to execute the API its throwing 409 conflict error

Ziabatcha commented 5 months ago

image

http://xxx:xxx/core-model-1-4:network-control-domain=live/control-construct=513250010/logical-termination-point=VI-10/layer-protocol=10/vlan-interface-1-0:vlan-interface-pac/vlan-interface-current-performance
Error:
{
  "code": 409,
  "message": "Conflict"
}
nardecchia-siae commented 5 months ago

The error reported is the one returned by ODL and from my understanding means I receive that message when the layer protocol does not exists in the control construct. In anycase is not an issue of the API, is the error code reported by ODL

Ziabatcha commented 5 months ago

As per the YANG , vlan-interface-current-performance attribute is not supported. But in MWDI , LIVE we are able to see the API for vlan-interface-current-performance . Please remove it from swagger.

image

Note: The error code was just added as an observation , but the intent of the issue is to remove the API.

kmohr-soprasteria commented 5 months ago

API entries have been removed from spec (see #913)

Ziabatcha commented 5 months ago

Tested with MWDI latest version test_v1.1.5. Issue is no longer observed. vlan-interface-current-performance ( domain=live) API removed from swagger

image

Ziabatcha commented 5 months ago

Tested OKAY with MWDI latest version test_v1.1.5.