PYTHON-MURANOCLIENT(1)

๐Ÿ“ฆ version 2.5.0, in debian bookworm

๐ŸŒธ NAME ๐ŸŒธ

python-muranoclient โ€” bestie, this is the whole vibe in one line. It's the client for the OpenStack Application Catalog API. There's a Python API (the muranoclient module) and a command-line script (installed as murano). Two ways in, one iconic tool. ๐Ÿ’…


โœจ MURANO API CLIENT โœจ

So you wanna hit the python API directly? Okay, first things first: you gotta get yourself an auth token and figure out which endpoint you're speaking to. Once that's done, you can use the API like this, no cap:

>>> from muranoclient import Client
>>> murano = Client('1', endpoint=MURANO_URL, token=OS_AUTH_TOKEN)
...

๐ŸŽ€ Command-line Tool ๐ŸŽ€

For the CLI you need to hand over your OpenStack username, password, tenant, and auth endpoint. Use the matching config options (:option:--os-username, :option:--os-password, :option:--os-tenant-id, and :option:--os-auth-url) or just set them in environment variables, whichever is more your vibe:

export OS_USERNAME=user
export OS_PASSWORD=pass
export OS_TENANT_ID=b363706f891f48019483f8bd6503c54b
export OS_AUTH_URL=http://auth.example.com:5000/v2.0

The command line tool will attempt to reauthenticate using your provided credentials for every request. You can override this behavior by manually supplying an auth token using :option:--os-image-url and :option:--os-auth-token. Orrr you can set these environment variables instead:

export MURANO_URL=http://murano.example.org:8082/
export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155

Once you've configured your authentication parameters, just run murano help to see a complete listing of available commands. Slay. ๐Ÿ’–

๐Ÿฆ‹ Application Catalog service (murano) command-line client ๐Ÿฆ‹

The murano client is the command-line interface (CLI) for the Application Catalog service (murano) API and its extensions. It's giving main character energy, honestly.

This chapter documents murano version 0.13.0.

Need help on a specific murano command? Just enter:

$ murano help COMMAND

๐ŸŒˆ murano usage ๐ŸŒˆ

usage: murano [--version] [-d] [-v] [--cert-file OS_CERT] [--key-file OS_KEY]
              [--ca-file OS_CACERT] [--api-timeout API_TIMEOUT]
              [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
              [--os-region-name OS_REGION_NAME]
              [--os-auth-token OS_AUTH_TOKEN] [--os-no-client-auth]
              [--murano-url MURANO_URL] [--glance-url GLANCE_URL]
              [--glare-url GLARE_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]
              [--murano-packages-service {murano,glance,glare}] [--insecure]
              [--os-cacert <ca-certificate>] [--os-cert <certificate>]
              [--os-key <key>] [--timeout <seconds>]
              [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID]
              [--os-domain-name OS_DOMAIN_NAME]
              [--os-project-id OS_PROJECT_ID]
              [--os-project-name OS_PROJECT_NAME]
              [--os-project-domain-id OS_PROJECT_DOMAIN_ID]
              [--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
              [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID]
              [--os-username OS_USERNAME]
              [--os-user-domain-id OS_USER_DOMAIN_ID]
              [--os-user-domain-name OS_USER_DOMAIN_NAME]
              [--os-password OS_PASSWORD]
              <subcommand> ...

Subcommands โ€” the whole roster, bestie, every single one:

  • app-show โ€” List applications, added to specified environment.
  • bundle-import โ€” Import a bundle.
  • bundle-save โ€” Save a bundle.
  • category-create โ€” Create a category.
  • category-delete โ€” Delete a category.
  • category-list โ€” List all available categories.
  • category-show โ€” Display category details.
  • class-schema โ€” Display class schema
  • deployment-list โ€” List deployments for an environment or multiple environments.
  • env-template-add-app โ€” Add application to the environment template.
  • env-template-clone โ€” Create a new template, cloned from template.
  • env-template-create โ€” Create an environment template.
  • env-template-create-env โ€” Create a new environment from template.
  • env-template-del-app โ€” Delete application from 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-action-call โ€” Call action ACTION in environment ID.
  • environment-action-get-result โ€” Get result of TASK in environment ID.
  • environment-apps-edit โ€” Edit environment's object model.
  • environment-create โ€” Create an environment.
  • environment-delete โ€” Delete an environment.
  • environment-deploy โ€” Start deployment of a murano environment session.
  • environment-list โ€” List the environments.
  • environment-model-edit โ€” Edit an environment's object model.
  • environment-model-show โ€” Display an environment's object model.
  • environment-rename โ€” Rename an environment.
  • environment-session-create โ€” Creates a new configuration session for environment ID.
  • 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-save โ€” Save a package.
  • package-show โ€” Display details for a package.
  • package-update โ€” Update an existing package.
  • static-action-call โ€” Call static method METHOD of the class CLASS with ARGUMENTS.
  • 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.
  • --cert-file OS_CERT โ€” DEPRECATED! Use --os-cert.
  • --key-file OS_KEY โ€” DEPRECATED! Use --os-key.
  • --ca-file OS_CACERT โ€” DEPRECATED! Use --os-cacert.
  • --api-timeout API_TIMEOUT โ€” Number of seconds to wait for an API response, defaults to system socket timeout.
  • --os-tenant-id OS_TENANT_ID โ€” Defaults to env[OS_TENANT_ID].
  • --os-tenant-name OS_TENANT_NAME โ€” Defaults to env[OS_TENANT_NAME].
  • --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].
  • --glare-url GLARE_URL โ€” Defaults to env[GLARE_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://apps.openstack.org/api/v1/murano_repo/liberty/
  • --murano-packages-service {murano,glance,glare} โ€” Specifies if murano-api ("murano") or Glance Artifact Repository ("glare") should be used to store murano packages. Defaults to env[MURANO_PACKAGES_SERVICE] or to "murano"
  • --insecure โ€” Explicitly allow client to perform "insecure" TLS (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].
  • --os-cert <certificate> โ€” Defaults to env[OS_CERT].
  • --os-key <key> โ€” Defaults to env[OS_KEY].
  • --timeout <seconds> โ€” Set request timeout (in seconds).
  • --os-auth-url OS_AUTH_URL โ€” Authentication URL
  • --os-domain-id OS_DOMAIN_ID โ€” Domain ID to scope to
  • --os-domain-name OS_DOMAIN_NAME โ€” Domain name to scope to
  • --os-project-id OS_PROJECT_ID โ€” Project ID to scope to
  • --os-project-name OS_PROJECT_NAME โ€” Project name to scope to
  • --os-project-domain-id OS_PROJECT_DOMAIN_ID โ€” Domain ID containing project
  • --os-project-domain-name OS_PROJECT_DOMAIN_NAME โ€” Domain name containing project
  • --os-trust-id OS_TRUST_ID โ€” Trust ID
  • --os-user-id OS_USER_ID โ€” User ID
  • --os-username OS_USERNAME, --os-user-name OS_USERNAME, --os-user_name OS_USERNAME โ€” Username
  • --os-user-domain-id OS_USER_DOMAIN_ID โ€” User's domain id
  • --os-user-domain-name OS_USER_DOMAIN_NAME โ€” User's domain name
  • --os-password OS_PASSWORD โ€” User's password
Heads up bestie: --insecure is literally the "I trust everyone" button. Read that caution again before you use it. ๐Ÿ˜ญ

๐Ÿ“ murano app-show ๐Ÿ“

usage: murano app-show [-p <PATH>] <ID>

List applications, added to specified environment.

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 applications in the environment.

๐Ÿงš murano bundle-import ๐Ÿงš

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, treat names of packages in a bundle as file names, relative to location of the bundle file. Requirements are first searched in the same directory.

Positional arguments:

  • <FILE> โ€” Bundle URL, bundle name, or path to the bundle file.

Optional arguments:

  • --is-public โ€” Make packages available to users from other tenants.
  • --exists-action {a,s,u} โ€” Default action when a package already exists.

โญ murano bundle-save โญ

usage: murano bundle-save [-p <PATH>] [--no-images] <BUNDLE>

Save a bundle, bestie. ๐Ÿ’พ This bad boy downloads a whole bundle of packages plus every dependency they drag along, and drops them at the path you point at. And if that path doesn't exist yet? No stress โ€” it gets created. โœจ

๐ŸŒธ Positional arguments

  • <BUNDLE> โ€” the bundle URL, the bundle name, or a path to the bundle file. Pick your fighter. ๐ŸŽ€

๐ŸŒธ Optional arguments

  • -p <PATH>, --path <PATH> โ€” where to stash the packages. Don't set it and it'll just use the current directory, living its best life.
  • --no-images โ€” flip this on and it skips downloading images. That's it, that's the whole job. ๐Ÿ™ˆ

๐Ÿฆ‹ murano category-create

murano category-create <CATEGORY_NAME>

Make a brand-new category. Iconic behaviour, honestly.

๐ŸŒธ Positional arguments

  • <CATEGORY_NAME> โ€” the name of the category. Go off. ๐Ÿ‘‘

๐Ÿฆ‹ murano category-delete

murano category-delete <ID> [<ID> ...]

Yeet a category. ๐Ÿ—‘๏ธ

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the category(ies) you're deleting. Plural is allowed, you can take out several at once.

๐Ÿฆ‹ murano category-list

murano category-list

Lists every category that's available. That's the whole vibe. โœจ


๐Ÿฆ‹ murano category-show

murano category-show <ID>

Shows you the deets of a category. ๐Ÿ‘€

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the category(s) to show.

๐Ÿงš murano class-schema

murano class-schema [--package-name PACKAGE_NAME]
                    [--class-version CLASS_VERSION]
                    <CLASS> [<METHOD> [<METHOD> ...]]

Displays the schema of a class. โœจ

๐ŸŒธ Positional arguments

  • <CLASS> โ€” the Class FQN.
  • <METHOD> โ€” the method name. You can stack up multiple of these, no cap.

๐ŸŒธ Optional arguments

  • --package-name PACKAGE_NAME โ€” the FQN of the package where the class is chillin'.
  • --class-version CLASS_VERSION โ€” the class version, or a version range (i.e. a version spec). Versatile queen.

๐Ÿงš murano deployment-list

murano deployment-list [--all-environments] [<ID>]

Lists deployments for one environment, or for many environments. Multitasking icon. ๐Ÿ’…

๐ŸŒธ Positional arguments

  • <ID> โ€” the environment ID you want deployments listed for.

๐ŸŒธ Optional arguments

  • --all-environments โ€” lists every deployment across every environment in the user's tenant. The whole buffet. ๐Ÿ“

๐Ÿงš murano env-template-add-app

murano env-template-add-app <ENV_TEMPLATE_ID> <FILE>

Adds an application to the environment template. Welcome to the fam, app. ๐Ÿซถ

๐ŸŒธ Positional arguments

  • <ENV_TEMPLATE_ID> โ€” the environment template ID.
  • <FILE> โ€” the path to the template.

๐Ÿงš murano env-template-clone

murano env-template-clone <ID> <ENV_TEMPLATE_NAME>

Creates a new template, cloned from an existing template. Twin energy, fr fr. ๐Ÿ‘ฏ

๐ŸŒธ Positional arguments

  • <ID> โ€” the environment template ID you're cloning from.
  • <ENV_TEMPLATE_NAME> โ€” the name of the new environment template.

๐Ÿงš murano env-template-create

murano env-template-create [--is-public] <ENV_TEMPLATE_NAME>

Creates an environment template. Building from scratch, main character behaviour. โœจ

๐ŸŒธ Positional arguments

  • <ENV_TEMPLATE_NAME> โ€” the name of the environment template.

๐ŸŒธ Optional arguments

  • --is-public โ€” makes the template available to users from other tenants. Sharing is caring, bestie. ๐ŸŒˆ

๐Ÿงš murano env-template-create-env

murano env-template-create-env [--region <REGION_NAME>] <ID> <ENV_NAME>

Creates a fresh new environment from a template. Glow-up achieved. ๐Ÿฆ‹

๐ŸŒธ Positional arguments

  • <ID> โ€” the environment template ID.
  • <ENV_NAME> โ€” the name of the new environment.

๐ŸŒธ Optional arguments

  • --region <REGION_NAME> โ€” the name of the target OpenStack region.

๐Ÿงš murano env-template-del-app

murano env-template-del-app <ENV_TEMPLATE_ID> <ENV_TEMPLATE_APP_ID>

Deletes an application from the environment template. Not me removing you from the group chatโ€ฆ ๐Ÿ˜ญ

๐ŸŒธ Positional arguments

  • <ENV_TEMPLATE_ID> โ€” the environment template ID.
  • <ENV_TEMPLATE_APP_ID> โ€” the application ID.

๐Ÿงš murano env-template-delete

murano env-template-delete <ID> [<ID> ...]

Deletes an environment template. Bye bye, bestie. ๐Ÿ‘‹

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the environment(s) template to delete. (Yes, the original really does phrase it like that, and I love her for it. ๐Ÿ’œ)

๐Ÿงš murano env-template-list

murano env-template-list

Lists the environment templates. Simple, clean, slay. โœจ


๐Ÿงš murano env-template-show

murano env-template-show <ID>

Displays the details of an environment template. ๐Ÿ”

๐ŸŒธ Positional arguments

  • <ID> โ€” the environment template ID.

๐Ÿงš murano env-template-update

murano env-template-update <ID> <ENV_TEMPLATE_NAME>

Updates an environment template. Glow up, but make it a command. ๐Ÿ’…

๐ŸŒธ Positional arguments

  • <ID> โ€” the environment template ID.
  • <ENV_TEMPLATE_NAME> โ€” the environment template name.

๐Ÿ”ฅ murano environment-action-call

murano environment-action-call --action-id <ACTION>
                               [--arguments [<KEY=VALUE> [<KEY=VALUE> ...]]]
                               id

Calls action ACTION in environment ID. What you get back is the id of an asynchronous task that actually executes the action. โšก

Heads up: actions can only be called on a deployed environment. Don't come for me if you try it on anything else. ๐Ÿ’€

Wanna see which actions exist in a given environment? Run environment-show, bestie.

๐ŸŒธ Positional arguments

  • id โ€” the ID of the Environment to call the action against.

๐ŸŒธ Optional arguments

  • --action-id <ACTION> โ€” the ID of the action to run.
  • --arguments [<KEY=VALUE> [<KEY=VALUE> ...]] โ€” the action arguments.

๐Ÿ”ฅ murano environment-action-get-result

murano environment-action-get-result --task-id <TASK> <ID>

Gets the result of TASK in environment ID. The moment of truth. ๐Ÿ‘€

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment where the task is being executed.

๐ŸŒธ Optional arguments

  • --task-id <TASK> โ€” the ID of the action to run.

๐Ÿ”ฅ murano environment-apps-edit

murano environment-apps-edit --session-id <SESSION_ID> <ID> [FILE]

Edits the environment's object model. ๐Ÿ› ๏ธ FILE is a path to a file that contains jsonpatch, which describes the changes to be made to the environment's object-model:

[ { "op": "add", "path": "/-", "value": { ... your-app object model here ... } }, { "op": "replace", "path": "/0/?/name", "value": "new_name" }, ]

NOTE: values like '===id1===', '===id2===', etc. in the resulting object-model will be substituted with uuids. โœจ

For more info on jsonpatch, see RFC 6902. iykyk ๐Ÿ“š

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment to edit.
  • FILE โ€” the file to read jsonpatch from (defaults to stdin).

๐ŸŒธ Optional arguments

  • --session-id <SESSION_ID> โ€” the id of a config session.

๐Ÿ”ฅ murano environment-create

murano environment-create [--join-net-id <NET_ID>]
                          [--join-subnet-id <SUBNET_ID>]
                          [--region <REGION_NAME>]
                          <ENVIRONMENT_NAME>

Creates an environment. Fresh start, new era. ๐ŸŒฑ

๐ŸŒธ Positional arguments

  • <ENVIRONMENT_NAME> โ€” the environment name.

๐ŸŒธ Optional arguments

  • --join-net-id <NET_ID> โ€” the network id to join.
  • --join-subnet-id <SUBNET_ID> โ€” the subnetwork id to join.
  • --region <REGION_NAME> โ€” the name of the target OpenStack region.

๐Ÿ”ฅ murano environment-delete

murano environment-delete [--abandon] <NAME or ID> [<NAME or ID> ...]

Deletes an environment. Sayonara. ๐Ÿ’€

๐ŸŒธ Positional arguments

  • <NAME or ID> โ€” the id or name of the environment(s) to delete.

๐ŸŒธ Optional arguments

  • --abandon โ€” if you set this, it abandons the environment without deleting any of its resources. Big difference, don't sleep on it. ๐Ÿšจ

๐Ÿ”ฅ murano environment-deploy

murano environment-deploy --session-id <SESSION> <ID>

Starts deployment of a murano environment session. Go time. ๐Ÿš€

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment to deploy.

๐ŸŒธ Optional arguments

  • --session-id <SESSION> โ€” the ID of the configuration session to deploy.

๐Ÿ”ฅ murano environment-list

murano environment-list [--all-tenants] [--tenant <TENANT_ID>]

Lists the environments. The full roster. ๐Ÿ“‹

๐ŸŒธ Optional arguments

  • --all-tenants โ€” lets you list environments from all tenants (admin only, so know your power level ๐Ÿ‘‘).
  • --tenant <TENANT_ID> โ€” lets you list environments for a given tenant (admin only too).

๐Ÿ”ฅ murano environment-model-edit

murano environment-model-edit --session-id <SESSION_ID> <ID> [<FILE>]

Edits an environment's object model. โœ๏ธ

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment to edit.
  • <FILE> โ€” the file to read JSON-patch from (defaults to stdin).

๐ŸŒธ Optional arguments

  • --session-id <SESSION_ID> โ€” the id of a config session.

๐Ÿ”ฅ murano environment-model-show

murano environment-model-show [--path <PATH>]
                              [--session-id <SESSION_ID>]
                              <ID>

Displays an environment's object model. Peek behind the curtain. ๐ŸŽ€

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment to show.

๐ŸŒธ Optional arguments

  • --path <PATH> โ€” the path to the Environment model section. Defaults to '/'.
  • --session-id <SESSION_ID> โ€” the id of a config session.

๐Ÿ”ฅ murano environment-rename

murano environment-rename <NAME or ID> <ENVIRONMENT_NAME>

Renames an environment. Rebrand era. โœจ

๐ŸŒธ Positional arguments

  • <NAME or ID> โ€” the environment ID or name.
  • <ENVIRONMENT_NAME> โ€” the name the environment will be renamed to.

๐Ÿ”ฅ murano environment-session-create

murano environment-session-create <ID>

Creates a brand-new configuration session for the environment ID. ๐ŸŽ‰

๐ŸŒธ Positional arguments

  • <ID> โ€” the ID of the Environment to add the session to.

๐Ÿ”ฅ murano environment-show

murano environment-show [--session-id <SESSION_ID>] [--only-apps]
                        <NAME or ID>

Displays the details of an environment. ๐Ÿ”

๐ŸŒธ Positional arguments

  • <NAME or ID> โ€” the environment ID or name.

๐ŸŒธ Optional arguments

  • --session-id <SESSION_ID> โ€” the id of a config session.
  • --only-apps โ€” only prints the apps of the environment. Super useful for automation, bestie. ๐Ÿค–

๐Ÿ’œ murano package-create

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>]

Creates an application package. โœจ

๐ŸŒธ Optional arguments

  • -t <HEAT_TEMPLATE>, --template <HEAT_TEMPLATE> โ€” the path to the Heat template to import as an Application Definition.
  • -c <CLASSES_DIRECTORY>, --classes-dir <CLASSES_DIRECTORY> โ€” the path to the directory containing application classes.
  • -r <RESOURCES_DIRECTORY>, --resources-dir <RESOURCES_DIRECTORY> โ€” the path to the directory containing application resources.
  • -n <DISPLAY_NAME>, --name <DISPLAY_NAME> โ€” the display name of the Application in the Catalog.
  • -f <full-name>, --full-name <full-name> โ€” the fully-qualified name of the Application in the Catalog.
  • -a <AUTHOR>, --author <AUTHOR> โ€” the name of the publisher.
  • --tags [<TAG1 TAG2> [<TAG1 TAG2> ...]] โ€” a list of keywords connected to the application.
  • -d <DESCRIPTION>, --description <DESCRIPTION> โ€” a detailed description for the Application in the 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 ๐Ÿ—‘๏ธ

usage: murano package-delete <ID> [<ID> ...]

Okay so this one deletes a package. Poof, gone, no cap. ๐Ÿ’…

Positional arguments:

  • <ID> โ€” package ID to delete. ๐Ÿ†”

murano package-download ๐Ÿ“ฅ

usage: murano package-download <ID> [file]

Downloads a package to a filename or straight to stdout, bestie. ๐ŸŒŠ

Positional arguments:

  • <ID> โ€” package ID to download. ๐Ÿ†”
  • file โ€” filename to save package to. If it is not specified and there is no stdout redirection the package won't be saved. โš ๏ธ

murano package-import ๐Ÿ“ฆ

usage: murano package-import [-c [<CATEGORY> [<CATEGORY> ...]]] [--is-public] [--package-version PACKAGE_VERSION] [--exists-action {a,s,u}] [--dep-exists-action {a,s,u}] <FILE> [<FILE> ...]

Import a package, periodt. FILE can be a path to a zip file, a url, or a FQPN. You can use -- to separate FILEs from other arguments. Categories have to be separated with a space and have to be already present in murano โ€” no making up new ones on the fly, bestie. ๐Ÿšซ

Positional arguments:

  • <FILE> โ€” URL of the murano zip package, FQPN, path to zip package or path to directory with package. ๐Ÿ”—

Optional arguments:

  • -c [<CATEGORY> [<CATEGORY> ...]], --categories [<CATEGORY> [<CATEGORY> ...]] โ€” category list to attach. ๐Ÿท๏ธ
  • --is-public โ€” make the package available for users from other tenants. ๐ŸŒ
  • --package-version PACKAGE_VERSION โ€” version of the package to use from repository (ignored when importing with multiple packages). ๐Ÿ“Œ
  • --exists-action {a,s,u} โ€” default action when a package already exists: (s)kip, (u)pdate, (a)bort. ๐Ÿค”
  • --dep-exists-action {a,s,u} โ€” default action when a dependency package already exists: (s)kip, (u)pdate, (a)bort. ๐Ÿค”

murano package-list ๐Ÿ“‹

usage: murano package-list [--limit LIMIT] [--marker MARKER] [--include-disabled] [--owned] [--search <SEARCH_KEYS>] [--name <PACKAGE_NAME>] [--fqn <PACKAGE_FULLY_QUALIFIED_NAME>] [--type <PACKAGE_TYPE>] [--category <PACKAGE_CATEGORY>] [--class_name <PACKAGE_CLASS_NAME>] [--tag <PACKAGE_TAG>]

Lists available packages. Vibe check on what's in the catalog. ๐Ÿ›๏ธ

Optional arguments:

  • --limit LIMIT โ€” show limited number of packages. ๐Ÿ”ข
  • --marker MARKER โ€” show packages starting from package with id excluding it. ๐Ÿ“
  • --include-disabled โ€” (no description in the original, bestie โ€” it's giving mystery) ๐Ÿ•ต๏ธโ™€๏ธ
  • --owned โ€” (no description in the original either, iconic enigma) ๐Ÿ”ฎ
  • --search <SEARCH_KEYS> โ€” show packages, that match search keys fuzzily. ๐Ÿ”
  • --name <PACKAGE_NAME> โ€” show packages, whose name match parameter exactly. ๐Ÿท๏ธ
  • --fqn <PACKAGE_FULLY_QUALIFIED_NAME> โ€” show packages, whose fully qualified name match parameter exactly. ๐Ÿงฌ
  • --type <PACKAGE_TYPE> โ€” show packages, whose type match parameter exactly. ๐Ÿงฉ
  • --category <PACKAGE_CATEGORY> โ€” show packages, whose categories include parameter. ๐Ÿ—‚๏ธ
  • --class_name <PACKAGE_CLASS_NAME> โ€” show packages, whose class name match parameter exactly. ๐Ÿ›๏ธ
  • --tag <PACKAGE_TAG> โ€” show packages, whose tags include parameter. ๐Ÿท๏ธ

murano package-save ๐Ÿ’พ

usage: murano package-save [-p <PATH>] [--package-version PACKAGE_VERSION] [--no-images] <PACKAGE> [<PACKAGE> ...]

Save a package. This will download package(s) with all dependencies to specified path. If path doesn't exist it will be created. โœจ

Positional arguments:

  • <PACKAGE> โ€” package URL or name. ๐Ÿ”—

Optional arguments:

  • -p <PATH>, --path <PATH> โ€” path to the directory to store package. If not set will use current directory. ๐Ÿ“
  • --package-version PACKAGE_VERSION โ€” version of the package to use from repository (ignored when saving with multiple packages). ๐Ÿ“Œ
  • --no-images โ€” if set will skip images downloading. ๐Ÿ–ผ๏ธ

murano package-show ๐Ÿ”

usage: murano package-show <ID>

Display details for a package. It's giving full dossier. ๐Ÿ•ต๏ธโ™€๏ธ

Positional arguments:

  • <ID> โ€” package ID to show. ๐Ÿ†”

murano package-update ๐Ÿ”„

usage: murano package-update [--is-public {true|false}] [--enabled {true|false}] [--name NAME] [--description DESCRIPTION] [--tags [<TAG> [<TAG> ...]]] <ID>

Update an existing package. Glow-up time. ๐Ÿ’…

Positional arguments:

  • <ID> โ€” package ID to update. ๐Ÿ†”

Optional arguments:

  • --is-public {true|false} โ€” make package available to users from other tenants. ๐ŸŒ
  • --enabled {true|false} โ€” make package active and available for deployments. โœ…
  • --name NAME โ€” new name for the package. ๐Ÿท๏ธ
  • --description DESCRIPTION โ€” new package description. ๐Ÿ“
  • --tags [<TAG> [<TAG> ...]] โ€” a list of keywords connected to the application. ๐Ÿท๏ธ

murano static-action-call ๐Ÿช„

usage: murano static-action-call [--arguments [<KEY=VALUE> [<KEY=VALUE> ...]]] [--package-name <PACKAGE>] [--class-version CLASS_VERSION] <CLASS> <METHOD>

Call static method METHOD of the class CLASS with ARGUMENTS. Returns the result of the method execution. PACKAGE and CLASS_VERSION can be specified optionally to find class in a particular package and to look for the specific version of a class respectively. ๐Ÿ”ฎ

Positional arguments:

  • <CLASS> โ€” FQN of the class with static method. ๐Ÿงฌ
  • <METHOD> โ€” static method to run. โšก

Optional arguments:

  • --arguments [<KEY=VALUE> [<KEY=VALUE> ...]] โ€” method arguments. No arguments by default. ๐Ÿงพ
  • --package-name <PACKAGE> โ€” optional FQN of the package to look for the class in. ๐Ÿ“ฆ
  • --class-version CLASS_VERSION โ€” optional version of the class, otherwise version =0 is used. ๐Ÿ“Œ

FOR CONTRIBUTORS ๐Ÿ’–

  • If you are a new contributor to python-muranoclient please refer: So You Want to Contribute... โœจ

So You Want to Contribute... ๐Ÿซถ

For general information on contributing to OpenStack, please check out the contributor guide to get started. It covers all the basics that are common to all OpenStack projects: the accounts you need, the basics of interacting with our Gerrit review system, how we communicate as a community, etc. Below will cover the more project specific information you need to get started with python-muranoclient. ๐ŸŒˆ

Communication ๐Ÿ“ฃ

Contacting the Core Team ๐Ÿ‘‘

Please refer the python-muranoclient Core Team contacts. ๐Ÿ’Œ

New Feature Planning ๐Ÿš€

python-muranoclient features are tracked on Launchpad. ๐Ÿ›ฐ๏ธ

Task Tracking ๐Ÿ“Œ

We track our tasks in Launchpad. If you're looking for some smaller, easier work item to pick up and get started on, search for the 'low-hanging-fruit' tag. ๐Ÿ“

Reporting a Bug ๐Ÿ›

You found an issue and want to make sure we are aware of it? You can do so on Launchpad. ๐Ÿชฒ

Getting Your Patch Merged ๐Ÿงš

All changes proposed to the python-muranoclient project require one or two +2 votes from python-muranoclient core reviewers before one of the core reviewers can approve patch by giving Workflow +1 vote. โœ…

Project Team Lead Duties ๐Ÿ‘‘

All common PTL duties are enumerated in the PTL guide. ๐Ÿ“–


AUTHOR ๐Ÿ‘ป

unknown

OpenStack Foundation


This page is from python-muranoclient, dated Sep 23, 2022, and it's the PYTHON-MURANOCLIENT(1) manual. Periodt. ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from