1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624
|
.. _cli-ref:
==========================
Murano command-line client
==========================
The ``murano`` client is the command-line
interface (CLI) for the Application catalog API and its extensions.
For help on a specific ``murano`` command, enter:
.. code-block:: console
murano help COMMAND
murano usage
usage: murano \[--version] \[-d] \[-v] \[-k] \[--os-cacert <ca-certificate>]
\[--cert-file CERT_FILE] \[--key-file KEY_FILE]
\[--ca-file CA_FILE] \[--api-timeout API_TIMEOUT]
\[--os-username OS_USERNAME] \[--os-password OS_PASSWORD]
\[--os-tenant-id OS_TENANT_ID] \[--os-tenant-name OS_TENANT_NAME]
\[--os-auth-url OS_AUTH_URL] \[--os-region-name OS_REGION_NAME]
\[--os-auth-token OS_AUTH_TOKEN] \[--os-no-client-auth]
\[--murano-url MURANO_URL] \[--glance-url GLANCE_URL]
\[--murano-api-version MURANO_API_VERSION]
\[--os-service-type OS_SERVICE_TYPE]
\[--os-endpoint-type OS_ENDPOINT_TYPE] \[--include-password]
\[--murano-repo-url MURANO_REPO_URL]
<subcommand> ...
Subcommands
===========
* *bundle-import* Import a bundle.
* *category-create* Create a category.
* *category-delete* Delete a category.
* *category-list* List all available categories.
* *category-show*
* *deployment-list* List deployments for an environment.
* *env-template-add-app* Add application to the environment template.
* *env-template-create* Create an environment template.
* *env-template-del-app* Delete application to the environment template.
* *env-template-delete* Delete an environment template.
* *env-template-list* List the environments templates.
* *env-template-show* Display environment template details.
* *env-template-update* Update an environment template.
* *environment-create* Create an environment.
* *environment-delete* Delete an environment.
* *environment-list* List the environments.
* *environment-rename* Rename an environment.
* *environment-show* Display environment details.
* *package-create* Create an application package.
* *package-delete* Delete a package.
* *package-download* Download a package to a filename or stdout.
* *package-import* Import a package.
* *package-list* List available packages.
* *package-show* Display details for a package.
* *service-show*
* *bash-completion* Prints all of the commands and options to stdout.
* *help* Display help about this program or one of its subcommands.
Murano optional arguments
=========================
**--version**
show program's version number and exit
**-d, --debug**
Defaults to env[MURANOCLIENT_DEBUG]
**-v, --verbose**
Print more verbose output
**-k, --insecure**
Explicitly allow muranoclient to perform "insecure" SSL (https) requests.
The server's certificate will not be verified against any certificate
authorities. This option should be used with caution.
**--os-cacert <ca-certificate>**
Specify a CA bundle file to use in verifying a TLS (https) server
certificate. Defaults to env[OS_CACERT]
**--cert-file CERT_FILE**
Path of certificate file to use in SSL connection. This file can optionally
be prepended with the private key.
**--key-file KEY_FILE**
Path of client key to use in SSL connection. This option is not necessary
if your key is prepended to your cert file.
**--ca-file CA_FILE**
Path of CA SSL certificate(s) used to verify the remote server certificate.
Without this option glance looks for the default system CA certificates.
**--api-timeout API_TIMEOUT**
Number of seconds to wait for an API response, defaults to system socket
timeout
**--os-username OS_USERNAME**
Defaults to env[OS_USERNAME]
**--os-password OS_PASSWORD**
Defaults to env[OS_PASSWORD]
**--os-project-id OS_PROJECT_ID**
Defaults to env[OS_PROJECT_ID]
**--os-project-name OS_PROJECT_NAME**
Defaults to env[OS_PROJECT_NAME]
**--os-auth-url OS_AUTH_URL**
Defaults to env[OS_AUTH_URL]
**--os-region-name OS_REGION_NAME**
Defaults to env[OS_REGION_NAME]
**--os-auth-token OS_AUTH_TOKEN**
Defaults to env[OS_AUTH_TOKEN]
**--os-no-client-auth**
Do not contact keystone for a token. Defaults to env[OS_NO_CLIENT_AUTH].
**--murano-url MURANO_URL**
Defaults to env[MURANO_URL]**
**--glance-url GLANCE_URL**
Defaults to env[GLANCE_URL]
**--murano-api-version MURANO_API_VERSION**
Defaults to env[MURANO_API_VERSION] or 1
**--os-service-type OS_SERVICE_TYPE**
Defaults to env[OS_SERVICE_TYPE]
**--os-endpoint-type OS_ENDPOINT_TYPE**
Defaults to env[OS_ENDPOINT_TYPE]
**--include-password**
Send os-username and os-password to murano.
**--murano-repo-url MURANO_REPO_URL**
Defaults to env[MURANO_REPO_URL] or
`http://storage.apps.openstack.org_`
Application catalog API v1 commands
===================================
murano bundle-import
~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano bundle-import \[--is-public] \[--exists-action {a,s,u}]
<FILE> \[<FILE> ...]
Import a bundle. ``FILE`` can be either a path to a zip file, URL or name from
repo. if ``FILE`` is a local file does not attempt to parse requirements and
treat Names of packages in a bundle as file names, relative to location of
bundle file.
Positional arguments
--------------------
**<FILE>**
Bundle URL, bundle name, or path to the bundle file
Optional arguments
------------------
**--is-public**
Make packages available to users from other project
**--exists-action {a,s,u}**
Default action when a package already exists
murano category-create
~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano category-create <CATEGORY_NAME>
Create a category.
Positional arguments
--------------------
**<CATEGORY_NAME>**
Category name
murano category-delete
~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano category-delete <ID> \[<ID> ...]
Delete a category.
Positional arguments
--------------------
**<ID>**
ID of a category(s) to delete
murano category-list
~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano category-list
List all available categories.
murano category-show
~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano category-show <ID>
Positional arguments
--------------------
**<ID>**
ID of a category(s) to show
murano deployment-list
~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano deployment-list <ID>
List deployments for an environment.
Positional arguments
--------------------
**<ID>**
Environment ID for which to list deployments
murano env-template-add-app
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-add-app <ENV_TEMPLATE_NAME> <FILE>
Add application to the environment template.
Positional arguments
--------------------
**<ENV_TEMPLATE_NAME>**
Environment template name
**<FILE>**
Path to the template.
murano env-template-create
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-create <ENV_TEMPLATE_NAME>
Create an environment template.
Positional arguments
--------------------
**<ENV_TEMPLATE_NAME>**
Environment template name
murano env-template-del-app
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-del-app <ENV_TEMPLATE_ID> <ENV_TEMPLATE_APP_ID>
Delete application to the environment template.
Positional arguments
--------------------
**<ENV_TEMPLATE_ID>**
Environment template ID
**<ENV_TEMPLATE_APP_ID>**
Application ID
murano env-template-delete
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-delete <ID> \[<ID> ...]
Delete an environment template.
Positional arguments
--------------------
**<ID>**
ID of environment(s) template to delete
murano env-template-list
~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-list
List the environments templates.
murano env-template-show
~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-show <ID>
Display environment template details.
Positional arguments
--------------------
**<ID>**
Environment template ID
murano env-template-update
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano env-template-update <ID> <ENV_TEMPLATE_NAME>
Update an environment template.
Positional arguments
--------------------
**<ID>**
Environment template ID
**<ENV_TEMPLATE_NAME>**
Environment template name
murano environment-create
~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano environment-create <ENVIRONMENT_NAME>
Create an environment.
Positional arguments
--------------------
**<ENVIRONMENT_NAME>**
Environment name
murano environment-delete
~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano environment-delete <NAME or ID> \[<NAME or ID> ...]
Delete an environment.
Positional arguments
--------------------
**<NAME or ID>**
ID or name of environment(s) to delete
Optional arguments
------------------
**--abandon**
If set will abandon environment without deleting any of its resources
murano environment-list
~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano environment-list
List the environments.
murano environment-rename
~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano environment-rename <NAME or ID> <ENVIRONMENT_NAME>
Rename an environment.
Positional arguments
--------------------
**<NAME or ID>**
Environment ID or name
**<ENVIRONMENT_NAME>**
A name to which the environment will be renamed
murano environment-show
~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano environment-show <NAME or ID>
Display environment details.
Positional arguments
--------------------
**<NAME or ID>**
Environment ID or name
murano package-create
~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-create \[-t <HEAT_TEMPLATE>] \[-c <CLASSES_DIRECTORY>]
\[-r <RESOURCES_DIRECTORY>] \[-n <DISPLAY_NAME>]
\[-f <full-name>] \[-a <AUTHOR>]
\[--tags \[<TAG1 TAG2> \[<TAG1 TAG2> ...]]]
\[-d <DESCRIPTION>] \[-o <PACKAGE_NAME>]
\[-u <UI_DEFINITION>] \[--type TYPE] \[-l <LOGO>]
Create an application package.
Optional arguments
------------------
**-t <HEAT_TEMPLATE>, --template <HEAT_TEMPLATE>**
Path to the Heat template to import as an Application Definition
**-c <CLASSES_DIRECTORY>, --classes-dir <CLASSES_DIRECTORY>**
Path to the directory containing application classes
**-r <RESOURCES_DIRECTORY>, --resources-dir <RESOURCES_DIRECTORY>**
Path to the directory containing application resources
**-n <DISPLAY_NAME>, --name <DISPLAY_NAME>**
Display name of the Application in Catalog
**-f <full-name>, --full-name <full-name>**
Fully-qualified name of the Application in Catalog
**-a <AUTHOR>, --author <AUTHOR>**
Name of the publisher
**--tags \[<TAG1 TAG2> \[<TAG1 TAG2> ...]]**
A list of keywords connected to the application
**-d <DESCRIPTION>, --description <DESCRIPTION>**
Detailed description for the Application in Catalog
**-o <PACKAGE_NAME>, --output <PACKAGE_NAME>**
The name of the output file archive to save locally
**-u <UI_DEFINITION>, --ui <UI_DEFINITION>**
Dynamic UI form definition
**--type TYPE**
Package type. Possible values: Application or Library
**-l <LOGO>, --logo <LOGO>**
Path to the package logo
murano package-delete
~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-delete <ID> \[<ID> ...]
Delete a package.
Positional arguments
--------------------
**<ID>**
Package ID to delete
murano package-download
~~~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-download <ID> \[file]
Download a package to a filename or stdout.
Positional arguments
--------------------
**<ID>**
Package ID to download
**file**
Filename for download (defaults to stdout)
murano package-import
~~~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-import \[-c \[<CAT1 CAT2 CAT3> \[<CAT1 CAT2 CAT3> ...]]]
\[--is-public] \[--package-version VERSION]
\[--exists-action {a,s,u}]
<FILE> \[<FILE> ...]
Import a package. ``FILE`` can be either a path to a zip file, URL or a FQPN.
``categories`` can be separated by a comma.
Positional arguments
--------------------
**<FILE>**
URL of the murano zip package, FQPN, or path to zip package
Optional arguments
------------------
**-c \[<CAT1 CAT2 CAT3> \[<CAT1 CAT2 CAT3> ...]], --categories \[<CAT1 CAT2 CAT3> \[<CAT1 CAT2 CAT3> ...]]**
Category list to attach
**--is-public**
Make the package available for user from other project
**--package-version VERSION**
Version of the package to use from repository (ignored when importing with
multiple packages)
**--exists-action {a,s,u}**
Default action when package already exists
murano package-list
~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-list \[--include-disabled]
List available packages.
Optional arguments
------------------
**--include-disabled**
murano package-show
~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano package-show <ID>
Display details for a package.
Positional arguments
--------------------
**<ID>**
Package ID to show
murano service-show
~~~~~~~~~~~~~~~~~~~
.. code-block::console
usage: murano service-show \[-p <PATH>] <ID>
Positional arguments
--------------------
**<ID>**
Environment ID to show applications from
Optional arguments
------------------
**-p <PATH>, --path <PATH>**
Level of detalization to show. Leave empty to browse
all services in the environment
|