Cable bulk csv import powerfeed to powerport #54

Open
opened 2026-04-05 16:21:21 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @WGBSP on 3/30/2026

NetBox Edition

NetBox Community

NetBox Version

v4.5.1

Python Version

3.12

Steps to Reproduce

  1. Create power panel "DB123"
  2. Create powerfeed "1"
  3. Create Main Circuit Breaker device "MCB1"
  4. Create power port "Input"
  5. Create CSV file side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name
    DB123,dcim.powerfeed,1,MCB1,dcim.powerport,Input
  6. Attempt import. It will fail with "Record 1 side_a_device: Object not found: DB123" even though it is there, this is because dcim.powerfeed is not a device type. This was reported by a user in #18008 but incorrectly dismissed.

Expected Behavior

When creating a CSV with termination_types of dcim.powerfeed and dcim.powerport, they should be able to be connected as they are both valid options.

Observed Behavior

Action fails with error "Record 1 side_a_device: Object not found: DB123" . even though the power panel is there and correctly named.

*Originally created by @WGBSP on 3/30/2026* ### NetBox Edition NetBox Community ### NetBox Version v4.5.1 ### Python Version 3.12 ### Steps to Reproduce 1. Create power panel "DB123" 2. Create powerfeed "1" 3. Create Main Circuit Breaker device "MCB1" 4. Create power port "Input" 5. Create CSV file side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name DB123,dcim.powerfeed,1,MCB1,dcim.powerport,Input 6. Attempt import. It will fail with "Record 1 side_a_device: Object not found: DB123" even though it is there, this is because dcim.powerfeed is not a device type. This was reported by a user in #18008 but incorrectly dismissed. ### Expected Behavior When creating a CSV with termination_types of dcim.powerfeed and dcim.powerport, they should be able to be connected as they are both valid options. ### Observed Behavior Action fails with error "Record 1 side_a_device: Object not found: DB123" . even though the power panel is there and correctly named.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#54