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

Support multiple levels of nesting of address group #8

Closed
rodvand opened this issue Apr 29, 2020 · 0 comments
Closed

Support multiple levels of nesting of address group #8

rodvand opened this issue Apr 29, 2020 · 0 comments
Assignees

Comments

@rodvand
Copy link
Owner

rodvand commented Apr 29, 2020

Case

Netbox object Server01 is in an address group name Server-devices. Server-devices again is in an address group named NTP-access.

Currently

Only one nesting is supported.

To do

Add the ability to define the number of levels to support nesting. Finding the address groups within address groups requires plenty of loops and a natural performance hit. Make it user-definable as a variable in PLUGINS_CONFIG.

@rodvand rodvand self-assigned this Apr 29, 2020
@rodvand rodvand closed this as completed in 34aa3e8 May 7, 2020
rodvand added a commit that referenced this issue May 7, 2020
- Fixes #11 - make sure no multiple rules are listed
- Fixes #8 - uses option 'nesting' to designate number of levels of
nesting
- Work on #5 - static function to transform object name based on option
'transform' (True/False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant