1.8 KiB
Libra Client
Synopsis
Description
libra_client.py
[OPTIONS <libra_client-options>
] [COMMAND <libra_client-commands>
]
Global Options
libra_client.py
--help, -h
Show help message and exit
--os_auth_url <auth-url>
The OpenStack authentication URL
--os_username <auth-user-name>
The user name to use for authentication
--os_password <auth-password>
The password to use for authentication
--os_tenant_name <auth-tenant-name>
The tenant to authenticate to
--os_region_name <region-name>
The region the load balancer is located
Client Commands
Command | Required Parameter |
---|---|
list | |
create | loadbalancerID |
modify | loadbalancerID |
status | loadbalancerID |
libra_client.py create
create
Create a load balancer
--name <name>
The name of the node to be created
--port <port>
The port the load balancer will listen on
--protocol <protocol>
The protocol type for the load balancer (HTTP or TCP)
--node <ip:port>
The IP and port for a load balancer node (can be used multiple times)
--vip <vip>
The virtual IP ID of an existing load balancer to attach to
libra_client.py modify
modify
Update a load balancer's configuration
--name <name>
A new name for the load balancer
--algorithm <algorithm>
A new algorithm for the load balancer
libra_clien.py list
list
List all load balancers
libra_client.py status
status
Get the status of a single load balancer