openBackhaul / MacAddressTableRecorder

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

Requestor Data format #197

Open schiavi-siae opened 5 months ago

schiavi-siae commented 5 months ago

Callback: PromptForUpdatingMacTableFromDeviceCausesSendingAnswerToRequestor

<-"MATR://v1/read-current-mac-table-from-device": {requestId, MountName, macAddressCur, egressLtpUUid, originalLtpName, vlanId, macAddresses, timeStampOfRpc} (no security)

The macAdresses field contain the remote MAC addresses that have the same VLAN ID? In this case a possible response to mock could be the following (for example)?

{ 'application/json': { [ {"requestId":"513250009-1705662060003","mountName":"513250009","macAddressCur":"00:B0:AC:05:75:C9","egressLtpUUid":"LTP-MNGT","originalLtpName":"Undefined","vlanId":0,"macAddresses":"01:80:C2:00:00:02","00:B0:AC:05:75:C7"],"timeStampOfRpc":1705662140555}, {"requestId":"513250009-1705662060003","mountName":"513250009","macAddressCur":"00:B0:AC:05:75:C9","egressLtpUUid":"LTP-MNGT","originalLtpName":"Undefined","vlanId":200,"macAddresses":["01:80:C2:00:00:02"],"timeStampOfRpc":1705662140555}, {"requestId":"513250009-1705662060003","mountName":"513250009","macAddressCur":"00:B0:AC:05:75:C9","egressLtpUUid":"LTP-MNGT","originalLtpName":"Undefined","vlanId":500,"macAddresses":["01:80:C2:00:00:AA"],"timeStampOfRpc":1705662140555} ] } }

schiavi-siae commented 5 months ago

Refers to #185