Skip to content

Add functionality for recording Rack Types for netbox 4.1.0+ #2618

@justin-davisibm

Description

@justin-davisibm

I suppose this is more of a discussion on formatting as any logic would likely live in https://github.com/netbox-community/Device-Type-Library-Import, but I'd like to propose the following:

  • Add new top level folder rack-types
  • Children folders will follow the same {{ manufacturer_name }} format as device-types and module-types does today.
  • Add new schema that supports the allowed field options for rack types in Netbox:
    • manufacturer (required)
    • model (required)
    • slug (required)
    • width (required)
    • u_height (required)
    • form_factor (2-post-frame, 4-post-frame, 4-post-cabinet, wall-frame, wall-frame-vertical, wall-cabinet, wall-cabinet-vertical)
    • starting_unit
    • desc_units (boolean)
    • outer_width
    • outer_depth
    • outer_unit (mm, in)
    • mounting_depth
    • weight
    • max_weight
    • weight_unit (kg, g, lb, oz)
    • description
    • comments
    • tags
    • id

This will allow a feature request to Device-Type-Library-Import to support Rack types as an importable object.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions