GithubHelp home page GithubHelp logo

Comments (10)

ianpittwood avatar ianpittwood commented on July 30, 2024

@jezogwza @singhannie I need some clarification on this request. Is the intention to power off/on the system similar to this knowledge article by IBM or to reset similar to what's already in go-redfish? If it's the former, we may need to first implement power management features in go-redfish before we can add a command in airshipctl

from airshipctl.

drewwalters96 avatar drewwalters96 commented on July 30, 2024

@jezogwza Is this still targeted? If so, I can do this.

from airshipctl.

ian-howell avatar ian-howell commented on July 30, 2024

I'd propose adding a subcommand for each action. Each command would take a target server as a required argument.

airshipctl remotedirect poweroff <server_name>
airshipctl remotedirect poweron <server_name>
airshipctl remotedirect reboot <server_name>
airshipctl remotedirect powerstatus <server_name>

This list could be expanded upon if needed.

from airshipctl.

drewwalters96 avatar drewwalters96 commented on July 30, 2024

@ian-howell Good suggestion! I will incorporate that.

from airshipctl.

drewwalters96 avatar drewwalters96 commented on July 30, 2024

Reboot command ready for review: https://review.opendev.org/716092

from airshipctl.

airshipbot avatar airshipbot commented on July 30, 2024

Related Change #716737

Subject: Add remote host power status command
Link: https://review.opendev.org/716737
Status: MERGED
Owner: Drew Walters ([email protected])

Approvals

Code-Review
+2 Dmitry Ukov
+2 Ian Howell
Verified
+2 Zuul
Workflow
+1 Ian Howell

Last Updated: 2020-04-06 09:15:04 CDT

from airshipctl.

airshipbot avatar airshipbot commented on July 30, 2024

Related Change #716744

Subject: Add baremetal host poweron command
Link: https://review.opendev.org/716744
Status: MERGED
Owner: Drew Walters ([email protected])

This change will close this issue when merged.

Approvals

Code-Review
+1 John Williams
+2 Dmitry Ukov
+2 Ian Howell
Verified
+2 Zuul
Workflow
+1 Ian Howell

Last Updated: 2020-04-29 10:30:10 CDT

from airshipctl.

airshipbot avatar airshipbot commented on July 30, 2024

Related Change #716740

Subject: Add remote system shutdown command
Link: https://review.opendev.org/716740
Status: MERGED
Owner: Drew Walters ([email protected])

Approvals

Code-Review
+2 Ian Howell
+2 Dmitry Ukov
Verified
+2 Zuul
Workflow
+1 Dmitry Ukov

Last Updated: 2020-04-08 09:15:04 CDT

from airshipctl.

drewwalters96 avatar drewwalters96 commented on July 30, 2024

All commands ready for review:

https://review.opendev.org/716088 (root cmd)
https://review.opendev.org/716092 (reboot)
https://review.opendev.org/716737 (status)
https://review.opendev.org/716740 (off)
https://review.opendev.org/716744 (on)

NOTE: These all depend on the new Redfish refactors (#122) :

https://review.opendev.org/715077
https://review.opendev.org/715297
https://review.opendev.org/714187

from airshipctl.

airshipbot avatar airshipbot commented on July 30, 2024

Related Change #719109

Subject: Move remote cmd functionality to baremetal cmd
Link: https://review.opendev.org/719109
Status: MERGED
Owner: Drew Walters ([email protected])

Approvals

Code-Review
+2 Dmitry Ukov
+2 Ian Howell
Verified
+2 Zuul
Workflow
+1 Ian Howell

Last Updated: 2020-04-29 10:30:14 CDT

from airshipctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.