This section explains how to use the qq portal_modify_hub command.

Description

Modify the spoke hosts and writability of a hub portal

Usage

qq portal_modify_hub [-h] -i ID [-j] [-n] [--make-read-write] [-m SPOKE_HOSTS | -a SPOKE_ADDRESS] [-p SPOKE_PORT]

Flags

Flag Name Required Description
-i Yes Hub portal ID
-j No Pretty-print JSON
-n No Do not attempt to resolve file IDs present on the local cluster to paths.
--make-read-write No Let the spoke portal write to the portal directories. A read-write portal cannot be made read-only again.
-m No The IP addresses and TCP ports of the remote cluster. Use a comma-delimited list to specify multiple hosts. Use colon as a separator after each IP address to provide custom TCP port (3713 is used by default). Ports specified this way override other --port arguments. Put brackets around an IPv6 address, such as [2001:db8::1] or [2001:db8::1]:4000. Use a dash to specify a range of IPv4 addresses that share their first three octets, such as 10.220.1.70-73 or 10.220.1.70-10.220.1.73. A port applies to the whole range.
-a No The IP address of a node in the remote cluster
-p No The TCP port for portal activity on the remote cluster. The default port 3713 is used if this field is not provided.