OVS bridges and ports do not have the length limitation of 15 bytes, the only requirements are that all chars must be alphanumeric and not be forward or backward slashes.
For OVS interfaces only 'patch' types do not have the length limit, all the other types do (according to whether they have a corresponding kernel link or not).
Add related unit test.
e7d72a14f libnm-core: use different ifname validation function for OVS bridges, ports and interfaces
libnm-core/nm-connection-private.h | 1 +
libnm-core/nm-connection.c | 1 +
libnm-core/nm-setting-connection.c | 42 ++++---
libnm-core/nm-setting-ovs-interface.c | 49 +++++++-
libnm-core/tests/test-general.c | 204 ++++++++++++++++++++++++++++++++++
5 files changed, 277 insertions(+), 20 deletions(-)