openBackhaul / MacAddressTableRecorder

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

target-mac-address field value is case sensitive for MATR APIs #184

Closed Ziabatcha closed 9 months ago

Ziabatcha commented 9 months ago

When user tried to invoke below APIs with target-mac-address value, it is giving response based on the case sensitive.

/v1/provide-list-of-network-element-interfaces-on-path
/v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation

Actual mac-address sent from traffic generator is "00:cc:cc:00:cc:cc" Few device learnt MAC as "00:cc:cc:00:cc:cc" and few device learnt the same MAC as "00:CC:CC:00:CC:CC"

When we send above mentioned APIs with lowercase MAC address, only lowercase MAC learnt devices are displayed in response. Similarly for uppercase MAC address, only uppercase MAC address learnt device is displayed