The name is checked for duplicates on set interface but not when creating a new interface. Return an explicit error when trying to create an interface with a name that is already taken.
Fixes: a188078583cf ("infra: replace port with interface abstraction")
The name is checked for duplicates on
set interface
but not when creating a new interface. Return an explicit error when trying to create an interface with a name that is already taken.Fixes: a188078583cf ("infra: replace port with interface abstraction")