Commit Graph

16 Commits

Author SHA1 Message Date
Monty Taylor 5c2eae8f82
Replace guts with openstack.config
The code has been moved into openstacksdk. Make os-client-config a
thin wrapper around that code.

The legacy client code needs to stay, as it was removed in openstacksdk.

We also have to plumb os_client_config.defaults and
os_client_config.cloud_region.CloudRegion in so that users get the
os-client-config versions from the openstacksdk methods that return the
relevant objects.

Support for per-service region_name has been dropped. This was never
used anywhere and was added for compatibility with openstacksdk Profile
objects. Since Profile objects are no more, we can remove it. It never
made any sense.

Change-Id: I7180e20aa675c0ccbe3718493a6eff2be7e1b8b6
2018-04-27 08:42:17 -05:00
OpenStack Proposal Bot e1e4976a2f Updated from global requirements
Change-Id: Ifdc6e6e7ad6bb94313b4923c74b0daae00a97566
2018-03-04 10:21:12 +00:00
OpenStack Proposal Bot 007793f9c5 Updated from global requirements
Change-Id: I4e859836270e3f9f3903d947c2098995c45a7871
2018-02-17 10:03:40 +00:00
OpenStack Proposal Bot eca5f69f11 Updated from global requirements
Change-Id: I760104d4a94f67da4677e1ecf8f47150605d4d33
2017-12-05 03:26:19 +00:00
OpenStack Proposal Bot 371c3ebc0e Updated from global requirements
Change-Id: I7b1217cd50a3e3c89edcb5bda1d22cded90e9b4b
2017-09-01 12:44:43 +00:00
OpenStack Proposal Bot b5af1ae936 Updated from global requirements
Change-Id: I805c30c0a522c03721a97118594030b9c8dfcd51
2017-08-18 11:39:22 +00:00
OpenStack Proposal Bot 1d4c124bb1 Updated from global requirements
Change-Id: I611163aecdc4810e6fd1d7e47e60171d72db0ea3
2017-07-27 20:30:31 +00:00
Dirk Mueller 623593a693 Manually sync with g-r
Change-Id: I4298bb7c2d66632b716b0dbeae64c9dca2b3434d
2017-07-24 21:46:26 +02:00
Monty Taylor ed2f34b06a Add method for registering argparse options
keystoneauth knows about a bunch of argparse options that users
from a command line will want. We do a good job of processing them
once they've been collected, but an os-client-config user doesn't
have a great way to make sure that they register all of the options,
especially when once considers that you really want to peek at the
args to see which auth plugin has been selected so that the right
arguments can be registered and displayed.

Depends-On: Ifea90b981044009c3642b268dd639a703df1ef05
Change-Id: Ic196f65f89b3ccf92ebec39564f5eaefe8a4ae4b
2015-12-06 21:39:49 -05:00
Monty Taylor 1bf09410d1 Use requestsexceptions for urllib squelching
The code to deal with this properly is quite sharable and we should
not care. Use requestsexceptions from the Infra team to handle it.

Change-Id: Ie20a3e1b2d8d18a4a76b34219cf12510cb1cda98
Depends-On: I52249b6d2fe04c49a9f4ed139d7625c890309ca8
2015-11-04 18:47:40 -05:00
Monty Taylor 15c6652dc4 Return keystoneauth plugins based on auth args
We know all of the things that we need to know to return an appropriate
auth plugin from keystoneauth based on the auth parameters. This also
introduces a hard-depend on keystoneauth, which should be fine since
keystoneauth itself has a very low dependency count.

We'll also use ksa to help validate auth parameters when we're doing
the config processing.

Change-Id: Ia1a1a4adb4dcefed5d7607082e026ca7361f394d
2015-09-15 10:21:23 +02:00
Monty Taylor 4b40133e21 Use appdirs for platform-independent locations
Cache, data and config files live rooted in different places across
different OS's. Use appdirs to find where.

Depends-On: Ic939dea11b7476ec504d2bf65854a0781b1bfb39
Change-Id: I7338ae1d0442e0c5cc1ec4ae4d619fac319a4a28
2015-05-12 10:09:24 -04:00
Monty Taylor 2ac9258563 Add keystoneclient to test-requirements
The auth parameter name validation requires keystoneclient and can't be
tested if it's not there.

While we're at it - update the current requirements to be inline with
global requirements.

Change-Id: I6da62476f3851670545143184f9f29479f1caaca
2015-04-11 13:35:59 -04:00
Monty Taylor 2bbcb63014 Remove runtime depend on pbr
os-client-config is not using pbr during runtime, so the runtime
requirement for it was a lie.

Change-Id: I3ed57ec5c2b0fdf4060ef17d6df1fa801cfa14cd
2015-01-27 16:51:53 -05:00
Monty Taylor 9bbb4f30f4 Remove babel and add pyyaml 2014-09-21 12:20:55 -07:00
Monty Taylor edadf145f3 Initial Cookiecutter Commit. 2014-09-20 16:16:13 -07:00