resalloc-ibm-cloud-vm - Man Page
Synopsis
resalloc-ibm-cloud-vm [-h] --token-file TOKEN_FILE [--zone REGION] [--region REGION] [--log-level LOG_LEVEL] {create,delete,delete-free-floating-ips} ...
Positional Arguments
- resalloc-ibm-cloud-vm create
Create an instance in IBM Cloud
- resalloc-ibm-cloud-vm delete
Delete instance by it's name from IBM Cloud
- resalloc-ibm-cloud-vm delete-free-floating-ips
Clean all IPs without an assigned VM
COMMAND 'resalloc-ibm-cloud-vm create'
usage: resalloc-ibm-cloud-vm create [-h] --playbook PLAYBOOK
--image-uuid IMAGE_UUID --vpc-id VPC_ID
--security-group-id SECURITY_GROUP_ID
--ssh-key-id SSH_KEY_ID
--instance-type INSTANCE_TYPE
[--floating-ip-name FLOATING_IP_NAME |
--floating-ip-uuid FLOATING_IP_UUID |
--no-floating-ip |
--floating-ip-uuid-in-subnet SUBNET-ID FLOATING-IP-UUID]
--subnets-ids SUBNETS_IDS [SUBNETS_IDS ...]
[--additional-volume-size ADDITIONAL_VOLUME_SIZE]
[--resource-group-id RESOURCE_GROUP_ID]
[--tags TAGS [TAGS ...]]
name
name
OPTIONS 'resalloc-ibm-cloud-vm create'
- --playbook PLAYBOOK
Path to playbook
- --image-uuid IMAGE_UUID
- --vpc-id VPC_ID
- --security-group-id SECURITY_GROUP_ID
- --ssh-key-id SSH_KEY_ID
- --instance-type INSTANCE_TYPE
e.g. cz2-2x4
- --floating-ip-name FLOATING_IP_NAME
- --floating-ip-uuid FLOATING_IP_UUID
- --no-floating-ip
Don't use floating IPs (for VPN)
- --floating-ip-uuid-in-subnet SUBNET-ID FLOATING-IP-UUID
Add a Floating IP UUID into the list of IPs that can be used for the corresponding subnet ID. Depending on the $RESALLOC_ID_IN_POOL (given by Resalloc server) the script assigns the newly started machine n-th IP from the list.
- --subnets-ids SUBNETS_IDS [SUBNETS_IDS ...]
Space separated list of ZONE:SUBNET_ID pairs. The ZONE must be a valid ZONE ID within the specified --region (e.g., 'eu-es-2' within 'eu-es' region).
- --additional-volume-size ADDITIONAL_VOLUME_SIZE
Allocate additional volume of given size in GB
- --resource-group-id RESOURCE_GROUP_ID
Resource group id, get it from `$ ibmcloud resources`
- --tags TAGS [TAGS ...]
Space separated list of key:value tags, e.g. app:copr
COMMAND 'resalloc-ibm-cloud-vm delete'
usage: resalloc-ibm-cloud-vm delete [-h] name
name
COMMAND 'resalloc-ibm-cloud-vm delete-free-floating-ips'
usage: resalloc-ibm-cloud-vm delete-free-floating-ips [-h]
Options
- --token-file TOKEN_FILE
Path to IBM cloud token file
- --zone REGION
default IBM Cloud zone. e.g. jp-tok, us-east, us-west, ...
- --region REGION
default IBM Cloud zone. e.g. jp-tok, us-east, us-west, ...
--log-level LOG_LEVEL
Author
Copr team <copr-team@redhat.com>