Atypical (Maybe?) Custom Workflow for IPAM #10734
Replies: 2 comments 1 reply
-
Seems like a custom script could do the job, I see no major roadblock. Netbox admin would set a specific role (or tag) to the 3 container prefixes, then the custom provisioning script would have a reference to this role/tag and could handle the per-user prefix reservations. Assuming all prefixes within a container are the same size (which is the case, from what you say), Netbox seems to be able to handle the new prefix calculation by itself (at least there is a button for that in the UI so I assume this is available in the code as well) so you don't have to code that (not that it would be too difficult anyway). And you can link users and their prefixes either with :
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback guys! I really appreciate it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a bit of a unique requirement. I was thinking Netbox would be ideal for this... I am open to suggestions.
Keep in mind that what I'm about to cover is currently being done with a spreadsheet - I'm sure you can imagine how prone this is to human error.
Questions
As you review this - please think about:
Requirement
For each end-user/subscriber provision the following (in a single transaction):
1x /31 IP from Prefix A
1x /32 IP address from Prefix B
1x /32 IP address from Prefix C
Workflow
The idea is to the following:
Netbox Admin
Task-Oriented Worker
Then, the task-oriented worker would:
Each IP should be the next available in the prefix to ensure there isn't any overlap and address space is used efficiently
Technical Specifics
Imagine 3 separate prefixes (fictitious RFC 1918 addresses used for this example):
Example
Let's say someone connects to Netbox to provision an end-user - I would like to use Netbox to assist with the following:
Thank you for taking the time to review this! I look forward to reviewing your thoughts.
Best Regards,
-JeffH
Beta Was this translation helpful? Give feedback.
All reactions