{ "info": { "author": "UFCG", "author_email": "ricardo@lsd.ufcg.edu.br", "bugtrack_url": null, "classifiers": [ "Environment :: OpenStack", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "[](https://badge.fury.io/py/ironic-oneview-cli)\n[](https://travis-ci.org/HewlettPackard/ironic-oneview-cli)\n[](https://codecov.io/gh/HewlettPackard/ironic-oneview-cli)\n\nIronic-OneView CLI\n==================\n\nOverview\n--------\n\nIronic-OneView CLI is a command line interface tool for easing the use of the OneView Drivers for Ironic. It allows the user to easily manage:\n\n- Ironic nodes compatible with OneView Server Hardware objects;\n- Nova flavors matching available Ironic nodes that use OneView drivers;\n- Ironic ports mapping Server Hardware ports.\n\n> **note**\n>\n> This tool works with OpenStack Identity API v2.0 and v3.\n\n> **note**\n>\n> This tool works with OpenStack Ironic API microversion '1.31'.\n\n* * * * *\n\nFor more information on *HPE OneView* entities, see [here](https://www.hpe.com/us/en/integrated-systems/software.html).\n\nInstallation\n------------\n\nTo install Ironic-OneView CLI from PyPI, use the following command:\n\n $ pip install ironic-oneview-cli\n\n> **note**\n>\n> Ocata/Newton users, we recommend using version 0.6.0\n\nConfiguration\n-------------\n\nIronic-Oneview CLI uses credentials loaded into environment variables by the *OpenStack RC* file (downloaded from OpenStack Horizon), and the Ironic OneView CLI RC file, which sample file can be generated using the following `genrc` subcommand:\n\n $ ironic-oneview genrc > ironic-oneviewrc.sh\n\nOnce the `ironic-oneviewrc.sh` is populated with OneView credentials using any text editor, it can be loaded by running the following:\n\n $ source ironic-oneviewrc.sh\n\nCredentials can be passed alternatively as command line parameters. A help message informing of which parameters should be used is shown by running the command the following:\n\n $ ironic-oneview help\n\nFor more information how to obtain and load the *OpenStack RC* file, see [here](http://docs.openstack.org/user-guide/common/cli_set_environment_variables_using_openstack_rc.html).\n\nUsage\n-----\n\nOnce the necessary environment variables and command line parameters are set, Ironic OneView CLI is ready to be used. The current version of Ironic-OneView CLI provides the following interactive subcommands:\n\n
\n | \nCreates Ironic nodes based on available HPE OneView Server Hardware. | \n
\n | \nCreates Nova flavors based on available Ironic nodes. | \n
\n | \nCreates a Ironic Port based on available Ironic nodes. | \n
\n | \nLists HPE OneView Server Profile Templates. | \n
\n | \nLists HPE OneView Server Hardware. | \n
\n | \nDeletes multiple Ironic nodes. | \n
\n | \nGenerates a sample Ironic-OneView CLI RC file. | \n
\n | \nDisplays help about this program or one of its subcommands. | \n