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

BareMetal refactoring: Move capability to cluster, add logger for clusters, remove unused schema, fix dependencies and so on #3569

Merged
merged 15 commits into from
Jan 1, 2025

Conversation

squirrelsc
Copy link
Member

See details on commit descriptions.

@squirrelsc squirrelsc requested a review from LiliDeng as a code owner December 28, 2024 20:50
@squirrelsc squirrelsc force-pushed the 1220_baremetal branch 4 times, most recently from 0976605 to 4733ade Compare December 30, 2024 06:26
1. Add parent logger for clusters. It helps know the sources of cluster logs.
2. Remove extra "cluster" part in log prefix. It makes the log line shorter.
3. Move get_logger to cluster base class from subclasses RackManager and Idrac.
Capability is used for a node, keep it consistent with other platforms.
1. Remove the BM capability, and use the LISA capability. So the BM cap supports all cap fields.
2. Move the capabiltiy construction to cluster level, because cluster knows clients than platform. It's simplified the platform, and ready for future multi-clients refactor.
3. Rename capabilities to capability like other LISA code.
The cluster and client information maybe used in underlying features, so add them.
1. PXE Create SerialConsole when deploying to capture all logs, So it needs to create Featues before it's used.
2. node.initialize is the right way to "initialize" a node, make it functional.
@LiliDeng LiliDeng merged commit 8c3d65d into microsoft:main Jan 1, 2025
23 checks 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