tenant alter-client-ip-ranges

Prev Next

This command adds or removes one or more client IP ranges for a tenant.

Usage

tenant alter-client-ip-ranges --id TENANT_ID
                             [--client-ip-ranges-to-add IP_RANGES] 
                             [--client-ip-ranges-to-remove IP_RANGES] 

Required Parameters

--id TENANT_ID

Specifies the tenant for which you want to add or remove client IP addresses.

Options

--client-ip-ranges-to-add IP_RANGES

Adds one or more client IP ranges to the tenant configuration so that VAST Cluster allows access to tenant data from these IPs.

Specify IP_RANGES as an array where ranges are separated by spaces and the start and end IP of each range is separated by a comma, for example:

192.0.2.0,192.0.2.2 2001:db8::69:1337:420:8153,2001:db8::69:1337:420:8200

--client-ip-ranges-to-remove IP_RANGES

Removes one or more IPs from the tenant configuration so that VAST Cluster does not allow access to tenant data from these IPs.

Specify IP_RANGES as an array where ranges are separated by spaces and the start and end IP of each range is separated by a comma, for example:

192.0.2.0,192.0.2.2 2001:db8::69:1337:420:8153,2001:db8::69:1337:420:8200

Example

To allow access from IP range 2001:db8::69:1337:420:8153,2001:db8::69:1337:420:8200:  

vcli: admin> tenant --alter-client-ip-ranges --id=3 
    --client-ip-ranges-to-add 2001:db8::69:1337:420:8153,2001:db8::69:1337:420:8200