Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Unvailable - Start BMC (Baseboard Management Controller) access associated with the given ID.
Start BMC (Baseboard Management Controller) access associated with the given ID.
The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.

USAGE:
Expand Down
4 changes: 2 additions & 2 deletions cmd/scw/testdata/test-all-usage-baremetal-bmc-usage.golden
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Unvailable - Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
For instance, your KVM-IP management console could be accessed with it.

USAGE:
scw baremetal bmc <command>

AVAILABLE COMMANDS:
get Get BMC (Baseboard Management Controller) access for a given elastic metal server
start Unvailable - Start BMC (Baseboard Management Controller) access for a given elastic metal server
start Start BMC (Baseboard Management Controller) access for a given elastic metal server
stop Stop BMC (Baseboard Management Controller) access for a given elastic metal server

FLAGS:
Expand Down
2 changes: 1 addition & 1 deletion cmd/scw/testdata/test-all-usage-baremetal-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ USAGE:
scw baremetal <command>

AVAILABLE COMMANDS:
bmc Unvailable - Baseboard Management Controller (BMC) management commands
bmc Baseboard Management Controller (BMC) management commands
os Operating System (OS) management commands
server Server management commands

Expand Down
12 changes: 6 additions & 6 deletions docs/commands/baremetal.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Documentation for `scw baremetal`
Elastic metal API

- [Unvailable - Baseboard Management Controller (BMC) management commands](#unvailable---baseboard-management-controller-(bmc)-management-commands)
- [Baseboard Management Controller (BMC) management commands](#baseboard-management-controller-(bmc)-management-commands)
- [Get BMC (Baseboard Management Controller) access for a given elastic metal server](#get-bmc-(baseboard-management-controller)-access-for-a-given-elastic-metal-server)
- [Unvailable - Start BMC (Baseboard Management Controller) access for a given elastic metal server](#unvailable---start-bmc-(baseboard-management-controller)-access-for-a-given-elastic-metal-server)
- [Start BMC (Baseboard Management Controller) access for a given elastic metal server](#start-bmc-(baseboard-management-controller)-access-for-a-given-elastic-metal-server)
- [Stop BMC (Baseboard Management Controller) access for a given elastic metal server](#stop-bmc-(baseboard-management-controller)-access-for-a-given-elastic-metal-server)
- [Operating System (OS) management commands](#operating-system-(os)-management-commands)
- [Get an OS with a given ID](#get-an-os-with-a-given-id)
Expand All @@ -22,9 +22,9 @@ Elastic metal API
- [Wait for a server to reach a stable state (delivery and installation)](#wait-for-a-server-to-reach-a-stable-state-(delivery-and-installation))


## Unvailable - Baseboard Management Controller (BMC) management commands
## Baseboard Management Controller (BMC) management commands

Unvailable - Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
For instance, your KVM-IP management console could be accessed with it.


Expand All @@ -49,9 +49,9 @@ scw baremetal bmc get [arg=value ...]



### Unvailable - Start BMC (Baseboard Management Controller) access for a given elastic metal server
### Start BMC (Baseboard Management Controller) access for a given elastic metal server

Unvailable - Start BMC (Baseboard Management Controller) access associated with the given ID.
Start BMC (Baseboard Management Controller) access associated with the given ID.
The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.


Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
github.com/mattn/go-colorable v0.1.12
github.com/mattn/go-isatty v0.0.14
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220223135819-4133d5122603
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220325110112-a8da26092f72
github.com/spf13/cobra v1.4.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.7.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220223135819-4133d5122603 h1:ldNbElGuvDbei0cJVYmrYuUmQ4c7d1XCpfr9U0k3lGw=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220223135819-4133d5122603/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220325110112-a8da26092f72 h1:pWmhgGVHNImWrErdC7ttqh2TH2ITnucGn5HngFXegxg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220325110112-a8da26092f72/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q=
Expand Down
8 changes: 4 additions & 4 deletions internal/namespaces/baremetal/v1/baremetal_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func baremetalOs() *core.Command {

func baremetalBmc() *core.Command {
return &core.Command{
Short: `Unvailable - Baseboard Management Controller (BMC) management commands`,
Long: `Unvailable - Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
Short: `Baseboard Management Controller (BMC) management commands`,
Long: `Baseboard Management Controller (BMC) allows you to remotely access the low-level parameters of your dedicated server.
For instance, your KVM-IP management console could be accessed with it.
`,
Namespace: "baremetal",
Expand Down Expand Up @@ -623,8 +623,8 @@ func baremetalServerStop() *core.Command {

func baremetalBmcStart() *core.Command {
return &core.Command{
Short: `Unvailable - Start BMC (Baseboard Management Controller) access for a given elastic metal server`,
Long: `Unvailable - Start BMC (Baseboard Management Controller) access associated with the given ID.
Short: `Start BMC (Baseboard Management Controller) access for a given elastic metal server`,
Long: `Start BMC (Baseboard Management Controller) access associated with the given ID.
The BMC (Baseboard Management Controller) access is available one hour after the installation of the server.
`,
Namespace: "baremetal",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ PingStatus down
"zone": "nl-ams-1",
"install": null,
"ping_status": "ping_status_down",
"options": null
"options": null,
"rescue_server": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,6 @@ PingStatus down
"service_url": ""
},
"ping_status": "ping_status_down",
"options": null
"options": null,
"rescue_server": null
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ PingStatus down
"service_url": ""
},
"ping_status": "ping_status_down",
"options": null
"options": null,
"rescue_server": null
}