Skip to content

Enhance the ztp plugin and add a new ONIE boot plugin - #423

Closed
byteocean wants to merge 2 commits into
mainfrom
enh/onie-plugin
Closed

Enhance the ztp plugin and add a new ONIE boot plugin#423
byteocean wants to merge 2 commits into
mainfrom
enh/onie-plugin

Conversation

@byteocean

@byteocean byteocean commented Mar 20, 2026

Copy link
Copy Markdown

This PR provides enhancement on the ztp plugin and the new ONIE plugin.

  1. the ztp plugin is enhanced in the sense that a general URL to access ztp script is provided. If any switch needs a special url for its ztp script, specifying such a url in the config file overwrites the general Url.
  2. the new onie plugin checks if a dhcp6 request contains OptionBootfileURL option and a special UserClass option for determining if it is an onie dhcp6 request. Thus, no conflict with other plugins.

Local tests are included. Also deployed and tested in fra3.

@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Mar 21, 2026
@hardikdr hardikdr added this to Roadmap Mar 21, 2026
@byteocean
byteocean force-pushed the enh/onie-plugin branch 2 times, most recently from 61732e9 to d68d414 Compare April 13, 2026 12:29
@byteocean
byteocean marked this pull request as ready for review April 16, 2026 12:31
@byteocean
byteocean requested a review from damyan April 16, 2026 12:31
@byteocean byteocean changed the title Modify ztp plugin to support both ONIE boot and ztp Enhance ztp plugins and add new ONIE boot plugin Apr 16, 2026
@byteocean byteocean changed the title Enhance ztp plugins and add new ONIE boot plugin Enhance the ztp plugin and add a new ONIE boot plugin Apr 16, 2026

@hardikdr hardikdr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @byteocean
Could you please rebase it?

Ping @damyan :D

  • We will need this soon for the switch-automation..

@byteocean

Copy link
Copy Markdown
Author

overwritten by #470 due to new contribution policy

@byteocean byteocean closed this Aug 27, 2026
@github-project-automation github-project-automation Bot moved this to Done in Roadmap Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project. ok-to-image size/L

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants