To avoid going through haproxy for internal system controller
requests, this commit changes SysinvClient and SoftwareClient to use
the "internal" endpoint for requests in a system controller region
if the interface wasn't specified.
Test plan:
- PASS: Create a subcloud and verify the requests for both clients
is using the internal endpoints.
- PASS: Install a new certificate in the system controller. Verify
the subcloud communication is still being done with the
admin port.
- PASS: Verify dcorch audit is using the internal sysinv port when
gathering RegionOne information.
Closes-bug: 2127194
Change-Id: I07d41a403bd39893356645347df68ec3d5eec694
Signed-off-by: Victor Romano <victor.gluzromano@windriver.com>
| OpenStack Drivers |
Driver for openstack communication based on python native clients.