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

Add proxyDHCP handler #387

Merged
merged 17 commits into from
Jan 15, 2024
Merged

Commits on Jan 15, 2024

  1. Move DHCP library back into Smee:

    The DHCP library was created in order to
    provide a mechanism for the DHCP functionality
    to be written in a very clean and composible way.
    This was not possible with the previous state of Boots
    and the personnel involved at that time.
    
    The current state of Smee is ready for this functionality
    to be return and placed in a very clean and composible way
    into the code base.
    
    Moving this functionality back in will improve the development
    process/experience. It is important to note that we do take on
    the trade off of not having the combined commit history of the library
    within Smee. The library GitHub repo will still contain history.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    3b51be6 View commit details
    Browse the repository at this point in the history
  2. Add proxyDHCP handler:

    This allows Smee to not have any
    IPAM responsibilities, especially
    during the network boot process.
    This is still a WIP and will be
    clean up in subsequent commits.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    6ca7560 View commit details
    Browse the repository at this point in the history
  3. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    bce301a View commit details
    Browse the repository at this point in the history
  4. Create pkg for shared code:

    The proxy and reservation handler need
    a good amount of the same code.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    0f8bd88 View commit details
    Browse the repository at this point in the history
  5. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    5f81f01 View commit details
    Browse the repository at this point in the history
  6. Some clean up of around the customer user class:

    The custom user class was not being set from
    the handler but from the request packet.
    This was not correct.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    c976e8f View commit details
    Browse the repository at this point in the history
  7. Add otel spans, code comments:

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    d3919cc View commit details
    Browse the repository at this point in the history
  8. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    606a528 View commit details
    Browse the repository at this point in the history
  9. Update Doc on DHCP modes

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    1fe9ccb View commit details
    Browse the repository at this point in the history
  10. CLI flags and implementation for dhcp mode:

    DHCP reservation and proxy can now be
    toggled between via cli flag/env var.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    9c37ab2 View commit details
    Browse the repository at this point in the history
  11. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    5c1dcfc View commit details
    Browse the repository at this point in the history
  12. go mod tidy

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    47efd2d View commit details
    Browse the repository at this point in the history
  13. Go mod tidy

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    7bae628 View commit details
    Browse the repository at this point in the history
  14. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    fe75a3b View commit details
    Browse the repository at this point in the history
  15. Move mode doc to top level README:

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    43d17c5 View commit details
    Browse the repository at this point in the history
  16. Add doc around using an existing DHCP service:

    Updated the top level readme.
    
    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    3f27fa0 View commit details
    Browse the repository at this point in the history
  17. Fix linting issues

    Signed-off-by: Jacob Weinstock <[email protected]>
    jacobweinstock committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    4eaa8be View commit details
    Browse the repository at this point in the history