官术网_书友最值得收藏!

Python-openstackclient - the unified client

Because it was quite frustrating to remember commands for each separate client, the OpenStack community created a new OpenStack client called OSC (OpenStack Client) in 2013. The actual program is named python-openstackclient and available at http://github.com/openstack/python-openstackclient.

See Figure 1.6. python-openstackclient is a CLI client for OpenStack that brings all the traditional service-based clients into a single shell with a uniform command structure. It has a consistent and predictable format for all of its commands and takes the following form:

openstack [<global-options>] <object-1> <action> [<object-2>] [<command-arguments>]

For example, if you wanted to create a brand new Nova virtual machine instance, you could simply run:

$ openstack server create demo-instance1 --flavor m1.tiny --image cirros MyFirstInstance
Figure 1.6: python-openstackclient brings the traditional service-based clients into a single shell with a uniform command structure

You can also view help commands by running the following:

$ openstack help
The OpenStack clients will be discussed in more detail in upcoming chapters. As of September 2017, the COA exam tests on the Newton version of OpenStack. The exam will provide access to python-openstackclient and all service-based clients. A majority of the exam objectives can be completed with python-openstackclient, except where noted in this book.
主站蜘蛛池模板: 望江县| 铜梁县| 阿荣旗| 额济纳旗| 吐鲁番市| 岑巩县| 当阳市| 土默特左旗| 哈巴河县| 凌海市| 丹巴县| 旬阳县| 新昌县| 从江县| 芷江| 博罗县| 南开区| 无锡市| 舒城县| 宜昌市| 舟山市| 白城市| 东海县| 延津县| 壶关县| 辽中县| 龙胜| 丽江市| 泸定县| 南丹县| 雅江县| 隆安县| 射阳县| 乐亭县| 中江县| 汨罗市| 广昌县| 鄂伦春自治旗| 卢湾区| 南澳县| 宁城县|