diff options
| author | Julia Kreger <juliaashleykreger@gmail.com> | 2019-08-14 16:26:41 -0400 |
|---|---|---|
| committer | Julia Kreger <juliaashleykreger@gmail.com> | 2019-08-20 21:51:12 +0000 |
| commit | f62758cda5953ac22614a783df0165e42e76d60b (patch) | |
| tree | e5652a8b0c6032d7430a913ac8810383c50397cb /doc/source/user/create_command.rst | |
| parent | e3b07919415e97b92a892d434a950b0e32027717 (diff) | |
| download | python-ironicclient-f62758cda5953ac22614a783df0165e42e76d60b.tar.gz | |
Remove the ironic command
The ironic command is dead, long live the OSC baremetal command.
Also removed the json_respose tests, which seemed ot be geared
to checking json returned data on the command line. For ironic
these tests seemed to be very explicit for our CLI where as OSC
should be covering the return data handling, the only real end
effect is field level expectation enforcement in the functional
test... which seems excessive and un-needed.
Story: 1726605
Task: 11974
Depends-on: https://review.opendev.org/677183
Change-Id: I3e3ae416a65d8e01956434ba51bd3187ab001f80
Diffstat (limited to 'doc/source/user/create_command.rst')
| -rw-r--r-- | doc/source/user/create_command.rst | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/doc/source/user/create_command.rst b/doc/source/user/create_command.rst index ed5fe3d..5396dad 100644 --- a/doc/source/user/create_command.rst +++ b/doc/source/user/create_command.rst @@ -3,7 +3,7 @@ Creating the Bare Metal service resources from file =================================================== It is possible to create a set of resources using their descriptions in JSON -or YAML format. It can be done in one of three ways: +or YAML format. It can be done in one of two ways: 1. Using OpenStackClient bare metal plugin CLI's command ``openstack baremetal create``:: @@ -17,25 +17,7 @@ or YAML format. It can be done in one of three ways: <file> File (.yaml or .json) containing descriptions of the resources to create. Can be specified multiple times. -2. Using ironic CLI's ``ironic create`` command (deprecated, please use - ``openstack baremetal create`` instead):: - - $ ironic help create - The "ironic" CLI is deprecated and will be removed in the S* release. - Please use the "openstack baremetal" CLI instead. - usage: ironic create <file> [<file> ...] - - Create baremetal resources (chassis, nodes, port groups and ports). The - resources may be described in one or more JSON or YAML files. If any file - cannot be validated, no resources are created. An attempt is made to - create all the resources; those that could not be created are skipped - (with a corresponding error message). - - Positional arguments: - <file> File (.yaml or .json) containing descriptions of the resources - to create. Can be specified multiple times. - -3. Programmatically using the Python API: +2. Programmatically using the Python API: .. autofunction:: ironicclient.v1.create_resources.create_resources :noindex: |
