diff options
| author | Jamie Lennox <jamielennox@gmail.com> | 2015-12-16 18:14:33 +1100 |
|---|---|---|
| committer | Jamie Lennox <jamielennox@gmail.com> | 2016-02-03 12:08:07 +1100 |
| commit | 03e209fd6fd8519aedfdd1bf3d36e5adaf14c7ce (patch) | |
| tree | 9dbd3bebecea2cb90bb0f1aaefbe3e9516908144 /keystoneclient/auth/cli.py | |
| parent | c1c2043da966ad8fb61f93739b11da609ee52d43 (diff) | |
| download | python-keystoneclient-03e209fd6fd8519aedfdd1bf3d36e5adaf14c7ce.tar.gz | |
Deprecate auth plugins from keystoneclient
Deprecate auth plugins in favour of those from keystoneauth.
Change-Id: I8963ded9b68569717d7a6e30623ee78301b59a4a
Implements: bp deprecate-to-ksa
Diffstat (limited to 'keystoneclient/auth/cli.py')
| -rw-r--r-- | keystoneclient/auth/cli.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/keystoneclient/auth/cli.py b/keystoneclient/auth/cli.py index 172049e..e8f69f2 100644 --- a/keystoneclient/auth/cli.py +++ b/keystoneclient/auth/cli.py @@ -13,11 +13,17 @@ import argparse import os +from debtcollector import removals from positional import positional from keystoneclient.auth import base +@removals.remove( + message='keystoneclient auth plugins are deprecated. Use keystoneauth.', + version='2.1.0', + removal_version='3.0.0' +) @positional() def register_argparse_arguments(parser, argv, default=None): """Register CLI options needed to create a plugin. @@ -61,6 +67,11 @@ def register_argparse_arguments(parser, argv, default=None): return plugin +@removals.remove( + message='keystoneclient auth plugins are deprecated. Use keystoneauth.', + version='2.1.0', + removal_version='3.0.0' +) def load_from_argparse_arguments(namespace, **kwargs): """Retrieve the created plugin from the completed argparse results. |
