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:
parent
4f88d41ed3
commit
2da44c7b1f
@ -12,6 +12,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
@ -185,6 +187,9 @@ class HelpFormatter(argparse.HelpFormatter):
|
|||||||
|
|
||||||
def main(args=None):
|
def main(args=None):
|
||||||
try:
|
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:
|
if args is None:
|
||||||
args = sys.argv[1:]
|
args = sys.argv[1:]
|
||||||
|
|
||||||
|
6
releasenotes/notes/deprecate-cli-9ffee25a5c3d1b3b.yaml
Normal file
6
releasenotes/notes/deprecate-cli-9ffee25a5c3d1b3b.yaml
Normal 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.
|
Loading…
Reference in New Issue
Block a user