Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bulk import doesn't create module bay template from module type YAML #17676

Open
FabryUr opened this issue Oct 4, 2024 · 0 comments
Open

Bulk import doesn't create module bay template from module type YAML #17676

FabryUr opened this issue Oct 4, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application

Comments

@FabryUr
Copy link

FabryUr commented Oct 4, 2024

Deployment Type

Self-hosted

NetBox Version

v4.1.3

Python Version

3.12

Steps to Reproduce

  1. Write a module type YAML, which contains module bays (similar to interfaces or as you do with device types)
  2. Use the bulkimport function on the GUI and upload it to the module types.

Here is the YAML, that I tried:
---
manufacturer: Cisco
model: ASR1000-SIP40
part_number: ASR1000-SIP40
module-bays:
- name: Slot 1
label: Expansion 1
position: 0
- name: Slot 2
label: Expansion 2
position: 1
- name: Slot 3
label: Expansion 3
position: 2
- name: Slot 4
label: Expansion 4
position: 3

Expected Behavior

It should create the module-bay templates as it does with interfaces.

Observed Behavior

It creates the module type without the module bay information. Of course you can add them with the "add component" button, but if you have 100 modular cards, it is not ideal.
kép_2024-10-04_092505326

@FabryUr FabryUr added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant