LoadBalancers¶
These commands were added in version 5.8.0
LBaaS Commands¶
loadbal detail¶
Get Load Balancer as a Service details.
loadbal detail [OPTIONS] IDENTIFIER
Arguments
-
IDENTIFIER
¶
Required argument
loadbal health¶
Manage LBaaS health checks.
loadbal health [OPTIONS] IDENTIFIER
Options
-
--uuid
<uuid>
¶ Health check UUID to modify. [required]
-
-i
,
--interval
<interval>
¶ Seconds between checks. [2-60]
-
-r
,
--retry
<retry>
¶ Number of times before marking as DOWN. [1-10]
-
-t
,
--timeout
<timeout>
¶ Seconds to wait for a connection. [1-59]
-
-u
,
--url
<url>
¶ Url path for HTTP/HTTPS checks.
Arguments
-
IDENTIFIER
¶
Required argument
loadbal member-add¶
Add a new LBaaS members.
loadbal member-add [OPTIONS] IDENTIFIER
Options
-
--private
,
--public
¶
Private or public IP of the new member. [required]
-
-m
,
--member
<member>
¶ Member IP address. [required]
-
-w
,
--weight
<weight>
¶ Weight of this member.
Arguments
-
IDENTIFIER
¶
Required argument
loadbal member-remove¶
Remove a LBaaS member.
Member UUID can be found from slcli lb detail.
loadbal member-remove [OPTIONS] IDENTIFIER
Options
-
-m
,
--member
<member>
¶ Member UUID [required]
Arguments
-
IDENTIFIER
¶
Required argument
loadbal pool-add¶
Adds a listener to the identifier LB
loadbal pool-add [OPTIONS] IDENTIFIER
Options
-
-P
,
--frontProtocol
<frontprotocol>
¶ Protocol type to use for incoming connections [default: HTTP]
Options: HTTP|HTTPS|TCP
-
-p
,
--backProtocol
<backprotocol>
¶ Protocol type to use when connecting to backend servers. Defaults to whatever –frontProtocol is.
Options: HTTP|HTTPS|TCP
-
-f
,
--frontPort
<frontport>
¶ Internet side port [required]
-
-b
,
--backPort
<backport>
¶ Private side port [required]
-
-m
,
--method
<method>
¶ Balancing Method [default: ROUNDROBIN]
Options: ROUNDROBIN|LEASTCONNECTION|WEIGHTED_RR
-
-c
,
--connections
<connections>
¶ Maximum number of connections to allow.
-
-s
,
--sticky
¶
Make sessions sticky based on source_ip.
-
-x
,
--sslCert
<sslcert>
¶ SSL certificate ID. See slcli ssl list
Arguments
-
IDENTIFIER
¶
Required argument
loadbal pool-edit¶
Updates a listener’s configuration.
LISTENER should be a UUID, and can be found from slcli lb detail <IDENTIFIER>
loadbal pool-edit [OPTIONS] IDENTIFIER LISTENER
Options
-
-P
,
--frontProtocol
<frontprotocol>
¶ Protocol type to use for incoming connections
Options: HTTP|HTTPS|TCP
-
-p
,
--backProtocol
<backprotocol>
¶ Protocol type to use when connecting to backend servers. Defaults to whatever –frontProtocol is.
Options: HTTP|HTTPS|TCP
-
-f
,
--frontPort
<frontport>
¶ Internet side port
-
-b
,
--backPort
<backport>
¶ Private side port
-
-m
,
--method
<method>
¶ Balancing Method
Options: ROUNDROBIN|LEASTCONNECTION|WEIGHTED_RR
-
-c
,
--connections
<connections>
¶ Maximum number of connections to allow.
-
-s
,
--sticky
¶
Make sessions sticky based on source_ip.
-
-x
,
--sslCert
<sslcert>
¶ SSL certificate ID. See slcli ssl list
Arguments
-
IDENTIFIER
¶
Required argument
-
LISTENER
¶
Required argument
loadbal pool-delete¶
Removes the listener from identified LBaaS instance
LISTENER should be a UUID, and can be found from slcli lb detail <IDENTIFIER>
loadbal pool-delete [OPTIONS] IDENTIFIER LISTENER
Arguments
-
IDENTIFIER
¶
Required argument
-
LISTENER
¶
Required argument
loadbal l7pool-add¶
Adds a new l7 pool
-S is in colon deliminated format to make grouping IP:port:weight a bit easier.
loadbal l7pool-add [OPTIONS] IDENTIFIER
Options
-
-n
,
--name
<name>
¶ Name for this L7 pool. [required]
-
-m
,
--method
<method>
¶ Balancing Method. [default: ROUNDROBIN]
Options: ROUNDROBIN|LEASTCONNECTION|WEIGHTED_RR
-
-P
,
--protocol
<protocol>
¶ Protocol type to use for incoming connections [default: HTTP]
Options: HTTP|HTTPS
-
-S
,
--server
<server>
¶ Backend servers that are part of this pool. Format is colon deliminated. BACKEND_IP:PORT:WEIGHT. eg. 10.0.0.1:80:50 (multiple occurrence permitted) [required]
-
--healthPath
<healthpath>
¶ Health check path. [default: /]
-
--healthInterval
<healthinterval>
¶ Health check interval between checks. [default: 5]
-
--healthRetry
<healthretry>
¶ Health check number of times before marking as DOWN. [default: 2]
-
--healthTimeout
<healthtimeout>
¶ Health check timeout. [default: 2]
-
-s
,
--sticky
¶
Make sessions sticky based on source_ip.
Arguments
-
IDENTIFIER
¶
Required argument
loadbal l7pool-del¶
Deletes the identified pool
Identifier is L7Pool Id. NOT the UUID
loadbal l7pool-del [OPTIONS] IDENTIFIER
Arguments
-
IDENTIFIER
¶
Required argument
loadbal order¶
Creates a LB. Protocols supported are TCP, HTTP, and HTTPS.
loadbal order [OPTIONS]
Options
-
-n
,
--name
<name>
¶ Label for this loadbalancer. [required]
-
-d
,
--datacenter
<datacenter>
¶ Datacenter shortname (dal13). [required]
-
-l
,
--label
<label>
¶ A descriptive label for this loadbalancer.
-
-f
,
--frontend
<frontend>
¶ PROTOCOL:PORT string for incoming internet connections. [default: HTTP:80; required]
-
-b
,
--backend
<backend>
¶ PROTOCOL:PORT string for connecting to backend servers. [default: HTTP:80; required]
-
-m
,
--method
<method>
¶ Balancing Method. [default: ROUNDROBIN]
Options: ROUNDROBIN|LEASTCONNECTION|WEIGHTED_RR
-
-s
,
--subnet
<subnet>
¶ Private subnet Id to order the LB on. See slcli lb order-options [required]
-
--public
¶
Use a Public to Public loadbalancer. [default: False]
-
--verify
¶
Only verify an order, dont actually create one. [default: False]