neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead相关的知识,希望对你有一定的参考价值。

1、现象描述:

以前在测试环境中使用过icehouse版本,记得当时查看网络列表是使用neutron net-list,最近两天在测试openstack ocata的时候发现好多之前的命令都不能正常使用,大概是openstack想凸显openstack命令的重要性吧。

2、实验过程

[[email protected] ~]# neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Connection to neutron failed: Failed to connect Neutron server
[[email protected] ~]# openstack network list
+--------------------------------------+----------+--------------------------------------+
| ID                                   | Name     | Subnets                              |
+--------------------------------------+----------+--------------------------------------+
| aeb2244d-ac78-4238-bdd6-a9f0bb5cccc6 | provider | 89ba16c7-c42e-4cd6-8703-2de82b8cbfa1 |
+--------------------------------------+----------+--------------------------------------+
使用openstack network deleter "ID"进行处理
[[email protected] ~]# openstack network delete aeb2244d-ac78-4238-bdd6-a9f0bb5cccc6
You have new mail in /var/spool/mail/root
[[email protected] ~]# openstack network list

3、小结

openstack新版本跟老版本在功能上差异不算太大,但是从命令和操作方式上来看,还是存在一些不同,学习openstack,重点要放在架构理解,具体的操作可以参考官方的手册

本文出自 “冰冻vs西瓜” 博客,请务必保留此出处http://molewan.blog.51cto.com/287340/1904668

以上是关于neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead的主要内容,如果未能解决你的问题,请参考以下文章

The type MultipartEntity is deprecated

iOS---stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - U

DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no

ComposeOptions.kotlinCompilerVersion is deprecated

解决“DeprecationWarning: verify_ssl is deprecated“问题

MYSQL版本问题:解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in th