Deprecate neutron CLI
It is time to signal that we're fully committed to delivering a pure OSC experience. Change-Id: I2d1e73af2391893a7f136a53cbfcaecec4a18efa
This commit is contained in:
@@ -986,6 +986,8 @@ class NeutronShell(app.App):
|
|||||||
|
|
||||||
def main(argv=sys.argv[1:]):
|
def main(argv=sys.argv[1:]):
|
||||||
try:
|
try:
|
||||||
|
print(_("neutron CLI is deprecated and will be removed "
|
||||||
|
"in the future. Use openstack CLI instead."), file=sys.stderr)
|
||||||
return NeutronShell(NEUTRON_API_VERSION).run(
|
return NeutronShell(NEUTRON_API_VERSION).run(
|
||||||
list(map(encodeutils.safe_decode, argv)))
|
list(map(encodeutils.safe_decode, argv)))
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
8
releasenotes/notes/deprecate-cli-7be1123817969439.yaml
Normal file
8
releasenotes/notes/deprecate-cli-7be1123817969439.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- The neutron 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 neutron CLI, though fixes to the CLI will be assessed
|
||||||
|
on a case by case basis. Fixes to the API bindings, as well as
|
||||||
|
development of new API bindings as well as OSC plugins are exempt
|
||||||
|
from this deprecation.
|
Reference in New Issue
Block a user