Skip to content

v0.3.0b1

Pre-release
Pre-release

Choose a tag to compare

@peterbaumert peterbaumert released this 07 Apr 14:30
· 40 commits to main since this release

v0.3.0b1 (beta)

This is a pre-release beta of v0.3.0. Please test and report any issues before the stable release.

New features

  • YAML layout system — define device layouts in structured YAML instead of raw CSS grid-template-areas (#57)

    • CSS Grid renderer powered by YAML definitions
    • 10 Cisco device YAML examples (C2960X, C9300, FPR1120, and more)
    • Full YAML layout schema reference in docs/yaml-layout-schema.md
    • css_to_yaml management command to migrate existing CSS layouts
  • SVG renderer — new render_mode field on DeviceView to render ports as SVG instead of CSS Grid (#58)

    • Virtual chassis support
    • Patch panel front/rear port rendering on the device tab
    • 58 new tests
  • Improved device view list table — linked device type (with manufacturer), device count, layout and render mode badges

  • Edit form port name helper — "Port & Interface Stylenames" table shows the exact CSS stylename for every component on the selected device type

Bug fixes

  • Closes #44 — crash object has no attribute 'virtual_chassis' when show_on_device_tab is enabled
  • Closes #34 — wrong ports listed for virtual chassis members
  • Closes #38 — patch panel front/rear ports not rendering on the device tab
  • Closes #39 — views not working correctly (console ports / unrecognised port names)
  • Closes #30 — not using interface names as provided (edit form now shows name → stylename mapping)

Migration

After upgrading, run:

python manage.py migrate
python manage.py css_to_yaml  # optional — generates YAML equivalents for existing CSS layouts