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

15764 change vc_position from PositiveSmallInteger to PositiveInteger #15779

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

arthanson
Copy link
Collaborator

Fixes: #15764

Change vc_position from PositiveSmallInteger to PositiveInteger - form field and serializer are already IntegerField so no changes needed there.

Note: We had talked about min-value of 1, but there was no min-value currently on the field and the serializer has min-value of 0 so it's possible someone already has 0 in the DB so didn't want to change.

@arthanson arthanson added the beta Concerns a bug/feature in a beta release label Apr 19, 2024
@arthanson arthanson added this to the v4.0 milestone Apr 19, 2024
@arthanson arthanson marked this pull request as ready for review April 19, 2024 16:24
@arthanson arthanson requested a review from jeremystretch April 19, 2024 16:25
@jeremystretch jeremystretch removed this from the v4.0 milestone Apr 19, 2024
@jeremystretch jeremystretch merged commit 4b83b5d into feature Apr 19, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 15764-vc-position branch April 19, 2024 17:22
@sleepinggenius2
Copy link
Contributor

Note: We had talked about min-value of 1, but there was no min-value currently on the field and the serializer has min-value of 0 so it's possible someone already has 0 in the DB so didn't want to change.

Just wanted to add this for completeness. We absolutely use position 0, as the ASR9K chassis in my example is referred to as Rack 0 within the equipment and uses 0 in its interface naming. An example for Junos was discussed in #7564 previously as well.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants