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

[2.2] REST API for vlan-to-location and prefix-to-location M2M #5349

Closed
2 of 12 tasks
glennmatthews opened this issue Feb 26, 2024 · 1 comment
Closed
2 of 12 tasks
Assignees
Labels
type: feature Introduction of new or enhanced functionality to the application
Milestone

Comments

@glennmatthews
Copy link
Contributor

As ...

Austin - Network Automation Engineer

I want ...

To be able to assign a VLAN to multiple Locations, a Prefix to multiple Locations, or a Location to multiple Prefixes/VLANs via the REST API

So that ...

I can achieve appropriate data CRUD operations via the REST API.

I know this is done when...

Dedicated REST API endpoints exist for both of these M2M relations added in 2.2.

Optional - Feature groups this request pertains to.

  • Automation
  • Circuits
  • DCIM
  • IPAM
  • Misc (including Data Sources)
  • Organization
  • Plugins (and other Extensibility)
  • Security (Secrets, etc)
  • Image Management
  • UI/UX
  • Documentation
  • Other (not directly a platform feature)

Database Changes

Maybe? Not sure if the M2M through tables need to be given explicit data models to facilitate this.

External Dependencies

None

@glennmatthews glennmatthews added type: feature Introduction of new or enhanced functionality to the application triage This issue is new and has not been reviewed. labels Feb 26, 2024
@glennmatthews glennmatthews added this to the v2.2 milestone Feb 26, 2024
@gsnider2195 gsnider2195 removed the triage This issue is new and has not been reviewed. label Feb 26, 2024
@lampwins
Copy link
Member

Let's create explicit models for the through tables to avoid complexity with the existing permissions model.

Also assert a naming pattern for M2M through tables going forward. Renaming existing models is out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Introduction of new or enhanced functionality to the application
Projects
None yet
Development

No branches or pull requests

4 participants