Skip to content

Bulk rename interfaces when create Virtual Chassis #4177

@vsvetlov

Description

@vsvetlov

Environment

  • Python version: 3.7.3
  • NetBox version: 2.7.4

Proposed Functionality

Optionally rename interfaces automatically when adding a device to a virtual chassis according to the predefined find/replace/regex variables.

Use Case

Usually name convention for interfaces in virtual chassis is slightly different than for standalone devices.
It depends on vendor implementation. For example, if for standalone switch interface name is GigabitEthernet10, then for virtual chassis it can be GigabitEthernet1/10 where 1 is prefix that points to device priority in the virtual chassis.

Actually bulk renaming already implemented. We need to call it when adding a device to virtual chassis. It would really help in the case of many virtual chassis.

Database Changes

None

External Dependencies

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions