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
16 changes: 4 additions & 12 deletions docs/reference/replicated-cli-network-update.mdx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# replicated network update

Update network settings.
Update network settings

### Synopsis

The 'update' command allows you to update various settings of a test network.

You can either specify the network ID directly or provide the network name, and the command will resolve the corresponding network ID.

Network Policies are currently a beta feature, and network reporting is currently an alpha feature.
Network Policies are currently a beta feature.

```
replicated network update [ID_OR_NAME] [flags]
Expand All @@ -27,24 +27,16 @@ replicated network update <network-name> --policy airgap
replicated network update --id <network-id> --policy airgap
replicated network update --name <network-name> --policy airgap

# Enable report collection on a network
replicated network update <network-id> --collect-report

# Disable report collection on a network
replicated network update <network-id> --collect-report=false

# Update both policy and report collection on a network
replicated network update <network-id> --policy airgap --collect-report
```

### Options

```
-h, --help help for update
--id string id of the network to update (when name is not provided)
--name string Name of the network to update.
--name string Name of the network to update
--output string The output format to use. One of: json|table|wide (default "table")
--policy string Update network policy setting
-p, --policy string Update network policy setting
```

### Options inherited from parent commands
Expand Down
6 changes: 5 additions & 1 deletion docs/reference/replicated-cli-network.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ With this command you can list the networks in use by VMs and clusters.
```
# List all networks
replicated network ls

# Update a network with an airgap policy
replicated network update <network-id> --policy airgap

```

### Options
Expand All @@ -32,5 +36,5 @@ replicated network ls

* [replicated](replicated) - Manage your Commercial Software Distribution Lifecycle using Replicated
* [replicated network ls](replicated-cli-network-ls) - List test networks
* [replicated network update](replicated-cli-network-update) - Update network settings.
* [replicated network update](replicated-cli-network-update) - Update network settings

2 changes: 1 addition & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,4 +869,4 @@ const sidebars = {
],
};

module.exports = sidebars;
module.exports = sidebars;