Skip to content

Commit

Permalink
Deprecate masakari CLI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Bhagyashribs committed Mar 7, 2019
1 parent 4f88d41 commit 2da44c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions masakariclient/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -185,6 +187,9 @@ def start_section(self, heading):

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:]

Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/deprecate-cli-9ffee25a5c3d1b3b.yaml
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 2da44c7

Please sign in to comment.