Deprecate masakari CLI

All Masakari supported APIs are now available in OSC so it's time to
deprecate python-masakariclient.

This point was discussed during Stein PTG [1] and
masakari weekly IRC meeting.

[1]: https://etherpad.openstack.org/p/masakari-ptg-stein

Change-Id: I02a48f2a3a14ed5588ad64ecaed0b35de7ea0b3e
This commit is contained in:
bhagyashris 2019-03-07 10:29:51 +09:00
parent 4f88d41ed3
commit 2da44c7b1f
2 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import argparse
import logging
import sys
@ -185,6 +187,9 @@ class HelpFormatter(argparse.HelpFormatter):
def main(args=None):
try:
print(_("Deprecated: masakari CLI is deprecated and will be removed "
"after Stein is released. Use openstack CLI instead."),
file=sys.stderr)
if args is None:
args = sys.argv[1:]

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The masakari CLI is now deprecated. This is the signal that it is
time to start using the openstack CLI. No new features will be
added to the masakari CLI.