twccli net¶
net¶
NETwork related operations.
net [OPTIONS] COMMAND [ARGS]...
ccs¶
Manage CCS (Container Compute Service) ports.
net ccs [OPTIONS]
Options
- -p, --port <port>¶
Required Port number.
- -s, --site-id <site_id>¶
Required ID of the container.
- -open, --open-port, -close, --close-port¶
opens/close container ports.
- Default:
False
vcs¶
Manage VCS (Virtual Compute Service) security groups.
net vcs [OPTIONS] [SITE_IDS]...
Options
- -p, --port <port>¶
Port number.
- -s, --site-id <site_id>¶
Required ID of the container.
- -cidr, --cidr-network <cidr>¶
Network range for security group.
- -fip, --floating-ip, -nofip, --no-floating-ip¶
Configure your instance with or without a floating IP.
- -ip, --eip <eip>¶
Configure your instance with a EIP, using eip_id here.
- -in, --ingress, -out, --egress¶
Applying security group directions.
- Default:
True
- -prange, --port-range <portrange>¶
Port number from min-port to max-port, use “-” as delimiter, ie: 3000-3010. Only supported for TCP, UDP, UDPLITE, SCTP and DCCP
- -proto, --protocol <protocol>¶
Manage VCS security groups protocol.
- Default:
tcp
Arguments
- SITE_IDS¶
Optional argument(s)