-
Notifications
You must be signed in to change notification settings - Fork 8
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
IP Assignment #190
Comments
Assign IP addresses for resources which are added to the Zebra server tool by users. |
Ideas to keep in mind:
|
Some ideas: We need an address pool to allocate addresses from to every resource that is being added/requested by a user |
Further Ideas:
|
Some things to consider:
|
To add more as per Dan's requirements |
Requirements from Dan:
|
The IPs in Racktables are of the type long or integer, represented as a string, of either one of the following types: 2887224186, 180612481, 173099303. Thus, these need to be converted to a valid IP address via a series of conversions. |
Ideas for achieving this:
|
This can be accomplished like this:
|
Conversion to IP is as follows: decimal -> hex -> bit grouping -> bit shifting -> IP |
Assignment of IP: a function that operates on the new base resource struct to add IPs to those resources which need them. |
Our desired format is subnet + slashes |
No description provided.
The text was updated successfully, but these errors were encountered: