Skip to content

Commit

Permalink
added support for oob subnet manipulation, MS-5367,MS-5369
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrubordei committed Apr 2, 2024
1 parent c652fa7 commit 165a585
Show file tree
Hide file tree
Showing 7 changed files with 496 additions and 36 deletions.
2 changes: 2 additions & 0 deletions cmd/metalcloud-cli/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
"github.com/metalsoft-io/metalcloud-cli/pkg/shellcompletion"
"github.com/metalsoft-io/metalcloud-cli/pkg/stagedefinition"
"github.com/metalsoft-io/metalcloud-cli/pkg/storage"
"github.com/metalsoft-io/metalcloud-cli/pkg/subnetoob"
"github.com/metalsoft-io/metalcloud-cli/pkg/subnetpool"
"github.com/metalsoft-io/metalcloud-cli/pkg/switchcontroller"
"github.com/metalsoft-io/metalcloud-cli/pkg/switchdevice"
Expand Down Expand Up @@ -183,6 +184,7 @@ func getCommands(clients map[string]metalcloud.MetalCloudClient) []command.Comma
stagedefinition.StageDefinitionsCmds,
storage.StorageCmds,
subnetpool.SubnetPoolCmds,
subnetoob.SubnetOOBCmds,
switchcontroller.SwitchControllerCmds,
switchdevice.SwitchCmds,
switchdevice.SwitchDefaultsCmds,
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ require (
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)

replace github.com/metalsoft-io/metal-cloud-sdk-go/v3 => /Users/alex/code/metal-cloud-sdk-go
1 change: 1 addition & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ github.com/metalsoft-io/metal-cloud-sdk-go/v2 v2.12.3 h1:zqGgC43n3bnMx48RPaCNLxu
github.com/metalsoft-io/metal-cloud-sdk-go/v2 v2.12.3/go.mod h1:4sa1GQG0XISUUkvChL2iliWa0t3KGKAfB9dsbW2zyh4=
golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
177 changes: 147 additions & 30 deletions helpers/mock_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 165a585

Please sign in to comment.