netbox-docker icon indicating copy to clipboard operation
netbox-docker copied to clipboard

Device type iface init

Open palmersample opened this issue 3 years ago • 2 comments

Related Issue:

New Behavior

Added startup script and initialization YAML file to support adding interfaces to device types.

...

Contrast to Current Behavior

New functionality - did not previously exist ...

Discussion: Benefits and Drawbacks

When initializing device types during startup, adding templated interfaces simplifies later device addition without having to manually add each interface.

Drawbacks: at this time only the interface templates are added (no console, etc.) due to personal requirements

Backwards compatible: yes

Also part of this PR is renumbering the device startup script order to ensure the "platforms" are initialized before devices; this enables device platform definition during startup ...

Changes to the Wiki

...

Proposed Release Note Entry

Added device_type_interfaces initialization template and startup script to enable creation of interface templates for device types

...

Double Check

  • [x] I have read the comments and followed the PR template.
  • [x] I have explained my PR according to the information in the comments.
  • [x] My PR targets the develop branch.

palmersample avatar Jun 06 '22 18:06 palmersample

Please address the merge conflicts

ryanmerolle avatar Aug 03 '22 14:08 ryanmerolle

@palmersample I guess I've added that functionality in https://github.com/netbox-community/netbox-docker/pull/742. It was released in v2.0.0. Have you checked it?

kr3ator avatar Aug 10 '22 10:08 kr3ator

Initializers are now a plugin.

tobiasge avatar Sep 01 '22 06:09 tobiasge