Creating a pool in the CLI

To create a pool, use the neutron lbaas-pool-create command shown here:

neutron lbaas-pool-create
[--tenant-id TENANT_ID]
[--description DESCRIPTION]
[--name NAME] --lb-algorithm
{ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP}

[--admin-state-down]
[--listener LISTENER]
[--loadbalancer LOADBALANCER] --protocol {HTTP,HTTPS,TCP}
[--session-persistence type=TYPE[,cookie_name=COOKIE_NAME]]

The --tenant-id argument is optional and can be used to associate the pool with a project other than the creator. The tenant or project ID specified should match the respective load balancer.

The --description argument is optional and can be used to provide a description for the pool.

The --name argument is optional and can be used to set a name for the pool.

The --lb-algorithm argument is required and is used to specify the load balancing algorithm used to distribute traffic among the pool members. Possible options include ROUND_ROBIN, LEAST_CONNECTIONS, and SOURCE_IP.

The --admin-state-down argument is optional and can be used to set the pool in a DOWN state upon creation.

The --listener argument is optional and is used to associate the pool with a listener.

The --loadbalancer argument is optional and can be used to specify the associated load balancer.

The --protocol argument is required and is used to specify the protocol for balancing. Possible options include HTTP, HTTPS, and TCP.

The --session-persistence argument is optional and is used to specify the session persistence method and/or cookie type.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset