Skip to content

Conversation

@renatoalmeidaoliveira
Copy link
Contributor

Fixes: #18939 Allow ASN search by site-group

  • Add site_group and site_group_id to ASNFilterSet and ASNFilterForm

There're tests implemented in PrefixTestCase for site groups, should I implement similar tests cases for ASN site group too?

@renatoalmeidaoliveira renatoalmeidaoliveira requested review from a team and bctiemann and removed request for a team March 19, 2025 00:54
@jeremystretch jeremystretch requested review from jeremystretch and removed request for bctiemann March 19, 2025 12:48
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but please include tests for the new filters under ipam.tests.test_filtersets.ASNTestCase.

@renatoalmeidaoliveira
Copy link
Contributor Author

Included the test cases following PrefixTestCase pattern

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeremystretch jeremystretch merged commit d7b9b09 into netbox-community:main Mar 20, 2025
3 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow ASN search by site-group

2 participants