Creating load balancers in the CLI

To create a load balancer, use the neutron lbaas-loadbalancer-create command shown here:

neutron lbaas-loadbalancer-create
[--tenant-id TENANT_ID]
[--description DESCRIPTION]
[--name NAME]
[--admin-state-down]
[--provider PROVIDER]
[--flavor FLAVOR]
[--vip-address VIP_ADDRESS]
VIP_SUBNET

The --tenant-id argument is optional and can be used to associate the load balancer with a project other than the creator.

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

The --name argument is optional and can be used to specify a name for the load balancer.

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

The --provider argument is optional and can be used to specify the load balancer provider driver in lieu of the default. The default provider in this environment is HAProxy.

The --vip-address argument is optional and can be used to specify a particular IP address for the VIP.

The VIP_SUBNET argument is used to specify the subnet from which the load balancer VIP will be procured.

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

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