Skip to content

Applying config changes to multiple devices via device-group reference #218

@v1shnya

Description

@v1shnya

Currently, configuration changes using set, merge, and delete commands can be applied to multiple devices through glob patterns (wildcard matching on device names). For example:

cli# set devices device example* config interfaces interface eth0 mtu 9600

Alternatively, devices can be explicitly grouped into a device group:

cli# set devices mygroup example1
cli# set devices mygroup example2

However, device groups are not treated as first-class objects in the same way as individual devices. Ideally, it should be possible to apply configuration changes directly to a device group by referencing its name, like this:

cli# set devices device-group mygroup config interfaces interface eth0 mtu 9600

Please make device groups first-class objects so that configuration commands (set, merge, delete) can be applied directly to them. In addition, CLI autocompletion (“magic”) should also support device groups in the same way it works for individual devices!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions