-
Notifications
You must be signed in to change notification settings - Fork 58
Feat/add fields site and redistribute policy #266
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
base: develop
Are you sure you want to change the base?
Feat/add fields site and redistribute policy #266
Conversation
Add filter for site field Add site to graphql Fix type Fix type Fix errors Add site filter Add site filter
# Conflicts: # netbox_bgp/models.py
Fix template for session and redistributing in device page Fix template for session and redistributing in device page Fix errors and refactoring Fix and refactoring fix and refactoring
Hey, any updates? |
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 ? |
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 |
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