provider/openstack: Fix the list of available LB methods for LB pool

This commit is contained in:
Kirill Shirinkin 2016-09-02 07:54:29 -05:00
parent 52f130cb64
commit b4ac5bcf17
1 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,7 @@ Manages a V2 pool resource within OpenStack.
``` ```
resource "openstack_lb_pool_v2" "pool_1" { resource "openstack_lb_pool_v2" "pool_1" {
protocol = "ProtocolHTTP" protocol = "ProtocolHTTP"
lb_method = "LBMethodRoundRobin" lb_method = "ROUND_ROBIN"
listener_id = "d9415786-5f1a-428b-b35f-2f1523e146d2" listener_id = "d9415786-5f1a-428b-b35f-2f1523e146d2"
persistence { persistence {
type = "HTTP_COOKIE" type = "HTTP_COOKIE"
@ -52,10 +52,9 @@ The following arguments are supported:
will be associated with. Changing this creates a new pool. will be associated with. Changing this creates a new pool.
Note: One of LoadbalancerID or ListenerID must be provided. Note: One of LoadbalancerID or ListenerID must be provided.
* `lb_method` - (Required) The algorithm used to distribute load between the * `lb_method` - (Required) The load balancing algorithm to
members of the pool. The current specification supports distribute traffic to the pool's members. Must be one of
LBMethodRoundRobin, LBMethodLeastConnections and LBMethodSourceIp as valid ROUND_ROBIN, LEAST_CONNECTIONS, or SOURCE_IP.
values for this attribute.
* `persistence` - Omit this field to prevent session persistence. Indicates * `persistence` - Omit this field to prevent session persistence. Indicates
whether connections in the same session will be processed by the same Pool whether connections in the same session will be processed by the same Pool