Fix Python Ironic Client Documentation
In the 'ironicclient Python API' page, the credential section has a little mistake in the example. It's missing "," in the first line and a '}' in the last. You can see it at http://docs.openstack.org/developer/python-ironicclient/api_v1.html Change-Id: I195f46ca7261390b0d6321bc6bdd7e8d0908af40
This commit is contained in:
parent
4390a21663
commit
dda5d828d4
@ -58,10 +58,10 @@ To create a client, you can use the API like so::
|
||||
|
||||
>>> from ironicclient import client
|
||||
>>>
|
||||
>>> kwargs = {'os_username': 'name'
|
||||
>>> kwargs = {'os_username': 'name',
|
||||
>>> 'os_password': 'password',
|
||||
>>> 'os_auth_url': 'http://keystone.example.org:5000/',
|
||||
>>> 'os_tenant_name': 'tenant',
|
||||
>>> 'os_tenant_name': 'tenant'}
|
||||
>>> ironic = client.get_client(1, **kwargs)
|
||||
|
||||
Perform ironic operations
|
||||
|
Loading…
Reference in New Issue
Block a user