diff --git a/cmd/scw/testdata/test-all-usage-baremetal-bmc-start-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-bmc-start-usage.golden index bd6528fad4..1c4c6fc621 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-bmc-start-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-bmc-start-usage.golden @@ -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: diff --git a/cmd/scw/testdata/test-all-usage-baremetal-bmc-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-bmc-usage.golden index a5a6ce8d84..de90767332 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-bmc-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-bmc-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 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: @@ -8,7 +8,7 @@ USAGE: 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: diff --git a/cmd/scw/testdata/test-all-usage-baremetal-usage.golden b/cmd/scw/testdata/test-all-usage-baremetal-usage.golden index 93d6133802..fd80fffdb6 100644 --- a/cmd/scw/testdata/test-all-usage-baremetal-usage.golden +++ b/cmd/scw/testdata/test-all-usage-baremetal-usage.golden @@ -6,7 +6,7 @@ USAGE: scw baremetal 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 diff --git a/docs/commands/baremetal.md b/docs/commands/baremetal.md index d0ff5349a6..e48bce7c80 100644 --- a/docs/commands/baremetal.md +++ b/docs/commands/baremetal.md @@ -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) @@ -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. @@ -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. diff --git a/go.mod b/go.mod index 4dee4dd7d3..a2e1afddf5 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 0d8e2154d9..21b9b60456 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/internal/namespaces/baremetal/v1/baremetal_cli.go b/internal/namespaces/baremetal/v1/baremetal_cli.go index 27c3159d68..c69b3d9947 100644 --- a/internal/namespaces/baremetal/v1/baremetal_cli.go +++ b/internal/namespaces/baremetal/v1/baremetal_cli.go @@ -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", @@ -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", diff --git a/internal/namespaces/baremetal/v1/testdata/test-create-server-simple-default.golden b/internal/namespaces/baremetal/v1/testdata/test-create-server-simple-default.golden index bde8170e28..fb3ecd3371 100644 --- a/internal/namespaces/baremetal/v1/testdata/test-create-server-simple-default.golden +++ b/internal/namespaces/baremetal/v1/testdata/test-create-server-simple-default.golden @@ -62,5 +62,6 @@ PingStatus down "zone": "nl-ams-1", "install": null, "ping_status": "ping_status_down", - "options": null + "options": null, + "rescue_server": null } diff --git a/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-all-ssh-keys.golden b/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-all-ssh-keys.golden index dc6e4df9ce..22b8016b08 100644 --- a/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-all-ssh-keys.golden +++ b/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-all-ssh-keys.golden @@ -87,5 +87,6 @@ PingStatus down "service_url": "" }, "ping_status": "ping_status_down", - "options": null + "options": null, + "rescue_server": null } diff --git a/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-with-id.golden b/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-with-id.golden index 059604c6fe..ed050ec081 100644 --- a/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-with-id.golden +++ b/internal/namespaces/baremetal/v1/testdata/test-install-server-simple-with-id.golden @@ -79,5 +79,6 @@ PingStatus down "service_url": "" }, "ping_status": "ping_status_down", - "options": null + "options": null, + "rescue_server": null }