-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
area:exportfeaturefeature/networkNetwork interface and connection featuresNetwork interface and connection featurespriority:lowsize:medium
Description
Parent Epic
Part of #71 (Network Interface Visualization and Connectivity)
Summary
Export cable connection data to machine-readable formats for documentation and integration.
Export Formats
CSV Format
cable_id,cable_label,cable_type,a_device,a_port,b_device,b_port,length,color
c001,Patch-001,cat6a,Switch-01,eth0,Patch-Panel-01,01,2.5m,0000ff
c002,,cat6a,Switch-01,eth1,Patch-Panel-01,02,2.5m,0000ff
JSON Format (NetBox-compatible)
{
"cables": [
{
"id": "c001",
"label": "Patch-001",
"type": "cat6a",
"a_terminations": [
{ "device": "Switch-01", "interface": "eth0" }
],
"b_terminations": [
{ "device": "Patch-Panel-01", "interface": "01" }
],
"length": 2.5,
"length_unit": "m",
"color": "0000ff"
}
]
}Acceptance Criteria
- Export cables to CSV
- Export cables to JSON
- Include all cable properties
- Device names (not just IDs) in export
- Download as file
- Copy to clipboard option
UI Location
Export dialog → Format dropdown → add "CSV (Connections)" and "JSON (Connections)"
Dependencies
- feat: cable data model and schema #261 (Cable data model)
References
- NetBox cable export format
Metadata
Metadata
Assignees
Labels
area:exportfeaturefeature/networkNetwork interface and connection featuresNetwork interface and connection featurespriority:lowsize:medium