Skip to content

[ZTP] Use config db instead of ZTP configuration profile#4

Merged
gord1306 merged 1 commit intoedge-core:202311.Xfrom
peter-yu:pr1
Apr 2, 2025
Merged

[ZTP] Use config db instead of ZTP configuration profile#4
gord1306 merged 1 commit intoedge-core:202311.Xfrom
peter-yu:pr1

Conversation

@peter-yu
Copy link

@peter-yu peter-yu commented Apr 1, 2025

Why I did it

  • ZTP can not be used on the breakout port
  • During ZTP init processing, there is no breakout port information to link up the port.

How I did it

How I verified it

  1. Modify etc/default/ztp to use USE_DEFAULT_CONFIG="no"
  2. Config breakout for port and enable link up.
  3. config save
  4. 'ztp run' to start ZTP.
  5. breakout port should be 'Link up detected' and ZTP should start to downloading provisioning data from the port.

Why I did it
- ZTP can not be used on the breakout port
- During ZTP init processing, there is no breakout port information to link up the port.

How I did it
- User may specify to use ZTP config or current config_db for ZTP init processing

How I verified it
1. Modify etc/default/ztp to use USE_DEFAULT_CONFIG="no"
2. Config breakout for port and enable link up.
3. config save
4. 'ztp run' to start ZTP.
5. breakout port should be 'Link up detected'
  and ZTP should start to downloading provisioning data from the port.
@peter-yu
Copy link
Author

peter-yu commented Apr 2, 2025

@gord1306 @chenkelly @linarnan Please help to review.

@peter-yu peter-yu marked this pull request as ready for review April 2, 2025 08:05
@gord1306 gord1306 merged commit c488842 into edge-core:202311.X Apr 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants