Replies: 2 comments
-
I only now realized this repo, nice! I guess it's no use submitting PRs anymore to pynetbox 😁 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Option 2 is maybe slightly more intuitive as the ID is related to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ip-ranges, prefixes and vlan-groups have sub-api's that are currently not modeled in netbox-python, opening a discussion of what format should be used. Here are the different formats that I could think of:
Option 1 is the most in-line with the way the classes are currently, but option 2 seems more in-line with pynetbox.
These would be for the following endpoints:
'ip-ranges/int:pk/available-ips/',
'prefixes/int:pk/available-prefixes/',
'prefixes/int:pk/available-ips/',
'vlan-groups/int:pk/available-vlans/',
5 votes ·
Beta Was this translation helpful? Give feedback.
All reactions