-
Notifications
You must be signed in to change notification settings - Fork 234
Inventory: Separate query_filters for devices and vms #140 #153
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
Inventory: Separate query_filters for devices and vms #140 #153
Conversation
d2925dc
to
deb5e15
Compare
@DouglasHeriot Is this ready to review? |
Yes this one is ready for review. |
Just an FYI, i'll be cutting a new release pretty soon so if there is anything you want in |
@FragmentedPacket how soon? I'll be trying to have this, #153 and a few of those other issues I opened ready in the next day or two. |
Would Sunday work for you? |
@FragmentedPacket Yeah I can aim to have things ready by Sunday. Thanks. |
I've specifically started with tests for netbox-community#140 new query_filters options and refresh_url
netbox-community#140) Wrote a quite little script to fetch these once-off when this list needs updating. In future, this list could be fetched at runtime by querying the API /api/docs/?format=openapi
35db7f9
to
fafd265
Compare
…es this for us already (netbox-community#140)
@FragmentedPacket This PR is now ready for review. (I'm still working on #155) |
Implement separate
device_query_filters
andvm_query_filters
as described in #140 to allow for filtering on parameters specific to devices or vms, and still continue to fetch the other type.Also started on #56 some unit tests for the inventory, specifically to test these changes.