You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the Forwarder is generally the entity creating the interface for kernel mechanism, if the NSE has not already explicitly set the Dest Mac address (which should then be set correctly by #32), the Forwarder needs to get the mac address from the interface its created and set it in the EthernetContext.
Implementation notes:
You need only implement the NetworkServiceServer in this case.
The text was updated successfully, but these errors were encountered:
edwarnicke
changed the title
Implement connectioncontextkernel/ethernetcontext/getmac/kernel
Implement connectioncontextkernel/ethernetcontext/getmac
Dec 2, 2020
The Connection.ConnnectionContext.EthernetContext allows the NSE to specify the Source and Dest Mac address.
Because the Forwarder is generally the entity creating the interface for kernel mechanism, if the NSE has not already explicitly set the Dest Mac address (which should then be set correctly by #32), the Forwarder needs to get the mac address from the interface its created and set it in the EthernetContext.
Implementation notes:
to convert net.HardwareAddr to the govpp ethernet_types.MacAddress (also suggested in #33)
Running end to end can be done using cmd-forwarder-vpp.
The text was updated successfully, but these errors were encountered: