-
Notifications
You must be signed in to change notification settings - Fork 49
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
Enhance baremetal sub command to expose hosts defined in the documents #359
Comments
Related Change #761991Subject: Move remote client interface to separate package ApprovalsCode-Review
! None
Verified
+1 Zuul
Workflow
! None Last Updated: 2020-11-11 11:30:31 CST |
Related Change #759329Subject: Add baremetal inventory implementation. ApprovalsCode-Review
! None
Verified
+1 Zuul
Workflow
! None Last Updated: 2020-11-11 12:00:32 CST |
Related Change #762213Subject: Add baremetal inventory implementation. ApprovalsCode-Review
! None
Verified
+1 Zuul
Workflow
! None Last Updated: 2020-11-10 17:45:35 CST |
Related Change #762215Subject: Implement RunAction method of the baremetal interface ApprovalsCode-Review
! None
Verified
+1 Zuul
Workflow
! None Last Updated: 2020-11-10 17:45:19 CST |
A [Related Change](https://review.opendev.org/761991 was merged. This issue may be ready to close. |
A [Related Change](https://review.opendev.org/762213 was merged. This issue may be ready to close. |
A [Related Change](https://review.opendev.org/762215 was merged. This issue may be ready to close. |
@ak3216 @teoyaomiqui |
@sirajyasin that is partially correct. First would be to develop an underlying extension to remote interface to be printed as YAML: https://github.com/airshipit/airshipctl/blob/master/pkg/remote/ifc/ifc.go#L25-L38 this maybe a little tricky, because when client is initialized, no instructions are given to it about the BMH object here: https://github.com/airshipit/airshipctl/blob/master/pkg/remote/ifc/ifc.go#L41-L45 so i think we may need to redefine the constructor, to encompass this information. WHen this is done, we can implement ListCommand that would do essentially do a Select() from here https://github.com/airshipit/airshipctl/blob/master/pkg/inventory/ifc/interface.go#L30 and print each host |
sorry clicked close accidentally :) |
@sirajyasin do u still want to work on it? |
@eak13 please assign to me. |
work in progress https://review.opendev.org/c/airship/airshipctl/+/808750 |
@eak13 since Pratik is out for some time, pls assign this issue to me. I already started working into it. |
The UI will need to operate on the baremetal as defined in the manifests. However the UI is blind to the manifests and needs to know which hosts are available for the baremetal actions to be run against.
In order to complete the UI integration there will need to be a way to expose the hosts to the UI / command line to show which baremetal targets can be operated on. It would be preferable that this information is produced as a structure that can be referenced by the UI and printed in a human readable format for the CLI
The UI will be unable to complete the baremetal integration without some level of host information exposed to it for display / operational purposes.
The text was updated successfully, but these errors were encountered: