Closed denis-tingaikin closed 1 year ago
registry.NetworkService.Matches.Metadata
(link) a new map<string, string> filterMechanisms
, where key - mechanism.Cls
("LOCAL" or "REMOTE"), value - array of allowed mechanisms (separated by ','). Allow all mechanisms if value is empty.context.Metadata
a mechanism that can be taken from Match.Metadata.FilterMechanisms.context.Metadata
and filters MechanismPreferences
(alongside cls.LOCAL/REMOTE). After that, only the desired mechanism should remain in the preferences.
@edwarnicke Any thoughts?
I think we can close this issue because we found another solution here - https://github.com/networkservicemesh/sdk-vpp/issues/638
Intro
Currently, we have two remote mechanisms: VXLAN (Ethernet) and Wireguard (IP).
The selection for those mechanisms is working fine because they have a diff by Payload.
What NSM should do if we will have a few IP mechanisms or a few Ethernet mechanisms?
Problems
Solutions