Hi,

I came across an interesting issue with Spd-Entries in Ipsec.
When adding a new spd-entry, it doesn't seem to contain any unique identifier. 
Therefore it is possible to add the same spd-entry multiple times.
Afterwards when trying to delete certain entry, there is no way of addressing 
it other then using all the fields.
And so, for example, if I were to create a map of added entries, multi-index 
mapping would have to be used.
However using multi-index mapping for so many fields is quite a nightmare.

Wouldn't it be preferable to add some unique identifier (e.g. "name") to 
ipsec_spd_details?

Many thanks,

Tibor Kral
Pantheon Technologies
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11612): https://lists.fd.io/g/vpp-dev/message/11612
Mute This Topic: https://lists.fd.io/mt/28754228/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to