Skip to content

chore(cmx): Remove 'network create/rm/join' commands #548

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
13 changes: 9 additions & 4 deletions cli/cmd/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"fmt"

"github.com/pkg/errors"
"github.com/replicatedhq/replicated/pkg/credentials"
"github.com/replicatedhq/replicated/pkg/kotsclient"
Expand All @@ -11,10 +12,14 @@ import (

func (r *runners) InitNetworkCommand(parent *cobra.Command) *cobra.Command {
cmd := &cobra.Command{
Use: "network",
Short: "Manage test networks for VMs and Clusters",
Long: ``,
Hidden: true,
Use: "network",
Short: "Manage test networks for VMs and clusters.",
Long: `Manage test networks for VMs and clusters.

Networks are automatically created when you run 'replicated vm create' or
'replicated cluster create'. To connect a VM or cluster to an existing network,
use the '--network' flag during creation. Networks are automatically deleted
when all associated VMs and clusters are removed.`,
}
parent.AddCommand(cmd)

Expand Down
111 changes: 0 additions & 111 deletions cli/cmd/network_create.go

This file was deleted.

21 changes: 0 additions & 21 deletions cli/cmd/network_join.go

This file was deleted.

4 changes: 2 additions & 2 deletions cli/cmd/network_ls.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ func (r *runners) InitNetworkList(parent *cobra.Command) *cobra.Command {
cmd := &cobra.Command{
Use: "ls",
Aliases: []string{"list"},
Short: "List test networks",
Long: ``,
Short: "List test networks.",
Long: `List created test networks for VMs and clusters.`,
RunE: r.listNetworks,
}
parent.AddCommand(cmd)
Expand Down
139 changes: 0 additions & 139 deletions cli/cmd/network_rm.go

This file was deleted.

71 changes: 0 additions & 71 deletions cli/cmd/network_update_outbound.go

This file was deleted.

Loading