openBackhaul / MicroWaveDeviceInventory

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

[ConvenienceService][Data] /v1/provide-list-of-device-interfaces needs to return all attributes marked as required #953

Open kmohr-soprasteria opened 6 months ago

kmohr-soprasteria commented 6 months ago

See #952 for more detailed description. The same goes for this service.

Short summary:

(I did not check yet, if the service is omitting stuff if not found in the CC, but as the other service from #952 does that, I assume this service does it as well.)

nardecchia-siae commented 6 months ago

I was not able to find a CC with some of the parameters missing, but there is applied the same fix as #952

Ziabatcha commented 2 weeks ago

Tested with latest MWDI version 1.1.2.g_impl, Issue is no longer observed.

http://172.28.127.10:3008/v1/provide-list-of-device-interfaces

{
  "logical-termination-point-list": [
    {
      "uuid": "LTP-ETC-TTP-LAN-1-XG-SFP",
      "local-id": "LP-ETC-TTP-LAN-1-XG-SFP",
      "layer-protocol-name": "ethernet-container-2-0:LAYER_PROTOCOL_NAME_TYPE_ETHERNET_CONTAINER_LAYER"
    },