Skip to content

Conversation

@nazarko-es
Copy link

Added "site" field in ASPathList, CommunityList, RoutePolicy, PrefixList - it's usefull if you reuse names of this objects in diffrent sites but with diffrent rules. If the site is None, uniquiness of name is checking as before.
Also i added new object "redistributing". It provides to add redistributing of routes from other routing protocols with policy

@nazarko-es
Copy link
Author

Hey, any updates?

@cruse1977
Copy link
Member

hey @nazarko-es there seems to be 2 changes here covered by 1 PR - in future please split these into 1 change per PR (ie: site + redistribution = 2 PRs).

In terms of site, would you not instead scope this ? ie: to allow region, site, location etc as per other models ?

@nazarko-es
Copy link
Author

hey, in future i will split. About site i didn't think about use scope because it isn't relevant in my target. I can change it to scope

@k01ek k01ek marked this pull request as draft November 15, 2025 05:31
…add-fields-site-and-redistribute-policy

# Conflicts:
#	netbox_bgp/api/serializers.py
#	netbox_bgp/forms.py
#	netbox_bgp/graphql/types.py
#	netbox_bgp/models.py
#	netbox_bgp/tables.py
#	netbox_bgp/template_content.py
#	netbox_bgp/templates/netbox_bgp/device_extend.html
#	netbox_bgp/templates/netbox_bgp/routingpolicy.html
@k01ek
Copy link
Collaborator

k01ek commented Nov 21, 2025

i need some time to review

@nazarko-es
Copy link
Author

hi, i merged updates from source branch and changed site to scope

@nazarko-es nazarko-es marked this pull request as ready for review November 28, 2025 09:36
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

Successfully merging this pull request may close these issues.

3 participants