If only one region is available then the Neutron CLI will just pick the
only one available. However, if more than one is available, then it
will error out about ambiguous region. This patch extends the base
provider code to parse out the nova_region_name when it's parsing out
the keystone credentials and define the OS_REGION_NAME environment
variable when calling neutron, if the nova_region_name variable exists
in the config file.
Reviewed: https:/ /review. openstack. org/99801 /git.openstack. org/cgit/ stackforge/ puppet- neutron/ commit/ ?id=d1235d762b9 6e36b67180ee069 29e36c81efd617
Committed: https:/
Submitter: Jenkins
Branch: master
commit d1235d762b96e36 b67180ee06929e3 6c81efd617
Author: Clayton O'Neill <email address hidden>
Date: Thu Jun 12 19:49:34 2014 +0000
Add multi-region support
If only one region is available then the Neutron CLI will just pick the
only one available. However, if more than one is available, then it
will error out about ambiguous region. This patch extends the base
provider code to parse out the nova_region_name when it's parsing out
the keystone credentials and define the OS_REGION_NAME environment
variable when calling neutron, if the nova_region_name variable exists
in the config file.
Closes-Bug: #1329552 93e8fad1e0e2ea8 30fb0dcccc7
Change-Id: Ic0d59dcb02a11e