Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

[rfr] Add Provider Option for Pool Creation #560

Merged
merged 1 commit into from
May 25, 2016
Merged

[rfr] Add Provider Option for Pool Creation #560

merged 1 commit into from
May 25, 2016

Conversation

jtopjian
Copy link
Contributor

This commit adds the ability to specify a provider when creating a
LBaaS pool.

According to hashicorp/terraform#5545, a Provider option can be sent during Pool creation. neutron help lb-pool-create supports this as well as:

neutron --debug lb-pool-create --lb-method ROUND_ROBIN --name foo --protocol HTTP --subnet-id 87e03ccf-4842-45c3-b199-3817f8463103 --provider haproxy

DEBUG: keystoneclient.session REQ: curl -g -i -X POST http://10.1.1.36:9696/v2.0/lb/pools.json -H "User-Agent: python-neutronclient"
-H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}8deb61cc7c8014a29d6ba13c01c81245de0c5fcb" 
-d '{"pool": {"lb_method": "ROUND_ROBIN", "protocol": "HTTP", "name": "foo", "admin_state_up": true, "subnet_id": "87e03ccf-4842-45c3-b199-3817f8463103", "provider": "haproxy"}}'

This commit adds the ability to specify a provider when creating a
LBaaS pool.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.002%) to 80.179% when pulling 300b597 on jtopjian:openstack-lbaas-pool-provider into c54bbac on rackspace:master.

@jrperritt
Copy link
Contributor

Sorry for the delay. +2

@jrperritt jrperritt merged commit 6fbd243 into rackspace:master May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants