openBackhaul / MacAddressTableRecorder

Markus' first Application on the MW SDN Controller
Apache License 2.0
3 stars 0 forks source link

"egress-ltp-uuid" is not required as per specification in API:/v1/provide-list-of-network-element-interfaces-on-path response #214

Closed Ziabatcha closed 3 months ago

Ziabatcha commented 3 months ago

"egress-ltp-uuid" is not required as per specification in API:/v1/provide-list-of-network-element-interfaces-on-path response but in latest version test_v1.0.8, able to see "egress-ltp-uuid" in response Snippet:

[
    {
        "target-mac-address": "00:CC:CC:00:CC:02",
        "mount-name": "513250008",
        "original-ltp-name": "PORT-A",
        "egress-ltp-uuid": "LTP-MAC-TTP-PORT-A",
        "vlan-id": 500,
        "time-stamp-of-data": "2024-03-29T11:15:01.951Z"
    },

Reference: https://github.com/openBackhaul/MacAddressTableRecorder/blob/test_v1.0.8/spec/MacAddressTableRecorder.yaml#L1367

schiavi-siae commented 3 months ago

Fixed:

[ { "target-mac-address": "00:aa:aa:00:aa:0c", "mount-name": "513250010", "original-ltp-name": "WAN 1/1/100", "vlan-id": 500, "time-stamp-of-data": "2024-04-02T13:05:59.675Z" }, {

Ziabatcha commented 3 months ago

Issue re-tested with latest package test_v1.0.9 and is no longer observed.

http://XX:XX/v1/provide-list-of-network-element-interfaces-on-path

  {
    "target-mac-address": "00:b0:ac:4f:01:b3",
    "mount-name": "CO12126",
    "original-ltp-name": "LAN-2-SFP",
    "vlan-id": 799,
    "time-stamp-of-data": "2024-04-05T07:58:05.314Z"
  },
[
  {
    "target-mac-address": "00:b0:ac:4f:01:b3",
    "mount-name": "CO12126",
    "original-ltp-name": "LAN-2-SFP",
    "vlan-id": 799,
    "time-stamp-of-data": "2024-04-05T07:58:05.314Z"
  },
  {
    "target-mac-address": "00:b0:ac:4f:01:b3",
    "mount-name": "CO13305",
    "original-ltp-name": "LAN 1",
    "vlan-id": 799,
    "time-stamp-of-data": "2024-04-05T07:56:12.620Z"
  },
  {
    "target-mac-address": "00:b0:ac:4f:01:b3",
    "mount-name": "CO13306",
    "original-ltp-name": "LTP-MAC-TTP-RLAG-1",
    "vlan-id": 799,
    "time-stamp-of-data": "2024-04-05T07:59:01.872Z"
  }
]