Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow ObjectChildrenView to be used by plugins #9092

Closed
hagbarddenstore opened this issue Apr 9, 2022 · 2 comments
Closed

Allow ObjectChildrenView to be used by plugins #9092

hagbarddenstore opened this issue Apr 9, 2022 · 2 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation topic: plugins Relates to the plugins framework type: feature Introduction of new functionality to the application
Milestone

Comments

@hagbarddenstore
Copy link
Contributor

NetBox version

v3.2.0

Feature type

Change to existing functionality

Proposed functionality

Officially allow plugins to use the ObjectChildrenView class.

Decide that it's ok to be used and document how to use it in the plugin development documentation.

Use case

To be able to create models in plugins that have child models (Interfaces to a Firewall, Routes for a Router, etc.) and make them look and feel like any other child models do in "native" NetBox.

Reduces the amount of code that needs to be written for something that "native" NetBox already solves.

Database changes

None

External dependencies

None

@hagbarddenstore hagbarddenstore added the type: feature Introduction of new functionality to the application label Apr 9, 2022
@jeremystretch jeremystretch added the topic: plugins Relates to the plugins framework label Apr 12, 2022
@netbox-community netbox-community deleted a comment from joonajohn Apr 12, 2022
@maximumG
Copy link
Contributor

I must admit that I already used this ObjectChildrenView class even if not part of the official plugin API. I can take care of the documentation if you planned to make it public.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Jun 20, 2022
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed pending closure Requires immediate attention to avoid being closed for inactivity labels Jun 28, 2022
@jeremystretch jeremystretch added this to the v3.3 milestone Jun 28, 2022
@jeremystretch jeremystretch self-assigned this Jun 28, 2022
jeremystretch added a commit that referenced this issue Jun 29, 2022
Closes #9092: Introduce support for use of ObjectChildrenView by plugins
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
status: accepted This issue has been accepted for implementation topic: plugins Relates to the plugins framework type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants