diff --git a/cmd/redeploy.go b/cmd/redeploy.go index b539b3b0e..6fca9808f 100644 --- a/cmd/redeploy.go +++ b/cmd/redeploy.go @@ -29,8 +29,6 @@ func init() { redeployCmd.Flags().UintVarP(&maxWorkers, "max-workers", "", 0, "limit the maximum number of workers creating/deleting nodes") redeployCmd.Flags().BoolVarP(&keepMgmtNet, "keep-mgmt-net", "", false, "do not remove the management network") - redeployCmd.Flags().StringSliceVarP(&common.NodeFilter, "node-filter", "", []string{}, - "comma separated list of nodes to include") // Add deploy flags redeployCmd.Flags().BoolVarP(&common.Graph, "graph", "g", false, "generate topology graph") diff --git a/docs/cmd/redeploy.md b/docs/cmd/redeploy.md index 8eedce3d8..77a134d5e 100644 --- a/docs/cmd/redeploy.md +++ b/docs/cmd/redeploy.md @@ -88,12 +88,6 @@ The `--skip-post-deploy` flag can be used to skip the post-deploy phase of the l The local `--export-template` flag allows a user to specify a custom Go template that will be used for exporting topology data into `topology-data.json` file under the lab directory. -#### node-filter - -The local `--node-filter` flag allows users to specify a subset of topology nodes targeted by `redeploy` command. The value of this flag is a comma-separated list of node names as they appear in the topology. - -When a subset of nodes is specified, containerlab will only redeploy those nodes and their links and ignore the rest. - #### skip-labdir-acl The `--skip-labdir-acl` flag can be used to skip the lab directory access control list (ACL) provisioning during the deploy phase. @@ -125,9 +119,3 @@ containerlab redeploy ```bash clab rdep -t mylab.clab.yml ``` - -#### Redeploy specific nodes in a lab - -```bash -containerlab redeploy -t mylab.clab.yml --node-filter "node1,node2" -```