Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer authored Jan 14, 2022
1 parent 7b412a9 commit d72a20d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,10 @@ im_client.py [-u|--xmlrpc-url <url>] [-r|--restapi-url <url>] [-v|--verify-ssl]
It has an optional parameter ``maxTime`` with the max time to wait. It returns 0 if the infrastructure ends
with a "configured" state or 1 otherwise.

``create_wait_outputs <radlfile>``
This operation is a combination of the create, wait and getoutputs functions. First create the infrastructure,
then waits for it to be configured, and finally get the TOSCA outputs. In case of failure in infrastructure
creation none will be returned. In case of error waiting or getting the outputs only the infrastructure ID
will be returned.
``create_wait_outputs inputfile``
This operation is a combination of the create, wait and getoutputs functions. First it creates the
infrastructure using the specified ``inputfile``, then waits for it to be configured, and finally
gets the TOSCA outputs. In case of failure in then infrastructure creation step only the error message
will be returned. The results will be returned to stdout in json format::

{"infid": "ID", "error": "Error message"}

0 comments on commit d72a20d

Please sign in to comment.