Comments (10)
@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.
@jezogwza Is this still targeted? If so, I can do this.
from airshipctl.
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.
@ian-howell Good suggestion! I will incorporate that.
from airshipctl.
Reboot command ready for review: https://review.opendev.org/716092
from airshipctl.
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.
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.
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.
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.
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)
- Support multiple versions of clusterctl HOT 5
- AIAP: Document the requirements for the infrastructure builder image HOT 4
- AIAP: Create a multi-node `infra-builder` image HOT 3
- AIAP: Using the `.git` suffix on repository names causes runner pod failure HOT 2
- AIAP: support non test GPG keys HOT 5
- Provide Calico CNI IPv4/v6/Dual Stack Support in Airshipctl HOT 2
- AIAP : Support for DualStack IPv6 HOT 2
- Install latest docker version within build_gate.sh script HOT 1
- Enable extraction of target/workload cluster artifacts HOT 3
- AIAP: Shift gates to use AIAP HOT 3
- AIAP: Documentation redirect HOT 3
- source|target version replacement for qcow_bundle is missing. HOT 4
- AIAP : Add support for IPV6 infra to test Airship-in-a-pod in Zuul Gates HOT 2
- 10_build_gate.sh fails to locate ensure-docker ansible role HOT 3
- `make manifests` target doesn't work HOT 1
- Create zuul job which performs make generate/make manifests HOT 1
- Develop new kubeconfig workflow HOT 2
- Allow to resume phase plan execution from a certain phase HOT 2
- Fail to create kubeval-validator image. HOT 2
- namespace-v1.json is missing when running "airshipctl plan validate deploy-gating" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airshipctl.