Skip to content

feat: Append instance name to groups automatically created from Switching Device ProductName should conflict arise #511

@mman

Description

@mman

When outputs from a Switching Device do not define their own custom group assignment, they are placed in implicitly created group named either by using device's /CustomName or /ProductName. Let's call this an implicit group, and implicit group name.

When later user decides to assign some (possibly unrelated) outputs to a group with such implicit name, such switches would end up there mixed with the other switches. Specifying such group name for an output calls for an explicit group to be created and used with explicit group name.

Should there be a conflict with explicit group name and implicit group name, all implicit group names should get their instance number appended in ().

So in summary:

  1. System is having "GX IO Extender" device connected and that creates an implicit group name GX IO Extender, this is the implicit group.
  2. User creates a virtual switch in NR and assigns it to the GX IO Extender group. Calling for explicit group to be created.

Implicit group GX IO Extender is in conflict with explicitly created group, and therefore should get renamed to GX IO Extender (50) where 50 represents instance name.

Virtual switch remains alone in its explicit GX IO Extender group.

Open Question. What should happen when two switching devices get the same custom name (for example by accident). Should we also append (instance) for them?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions