Network¶
rio network¶
ROS Communication between the Deployments
rio network [OPTIONS] COMMAND [ARGS]...
delete¶
Delete one or more networks with a name or a regex pattern.
You can specify a name or a regex pattern to delete one or more networks.
If you want to delete all the networks, then
simply use the --all
flag.
If you want to delete networks without confirmation, then use the
--force
or --silent
or -f
.
Usage Examples:
Delete a network by name
$ rio network delete NETWORK_NAME
Delete a network without confirmation
$ rio network delete NETWORK_NAME –force
Delete all networks in the project
$ rio network delete –all
Delete networks using regex pattern
$ rio network delete “NETWORK.*”
rio network delete [OPTIONS] NETWORK_NAME_OR_REGEX
Options
- -f, --force¶
Skip confirmation
- -w, --workers <workers>¶
Number of parallel workers while running deleting networks. Defaults to 10
Arguments
- NETWORK_NAME_OR_REGEX¶
Required argument
inspect¶
Print the details of a network.
You can specify the format of the output using the --format
flag.
The supported formats are json
and yaml
. Default is yaml
.
rio network inspect [OPTIONS] NETWORK_NAME
Options
- -f, --format <format_type>¶
- Options:
json | yaml
Arguments
- NETWORK_NAME¶
Required argument
list¶
List the networks in the current project.
You can also filter the list by specifying labels using
the --label
or the -l
flag.
Usage Examples:
List all networks with label “app=nginx”
$ rio network list –label app=nginx
rio network list [OPTIONS]
Options
- --network <network>¶
Type of Network
- Options:
routed | native | both
- -l, --label <labels>¶
Filter the deployment list by labels