mist.cmd.helpers package¶
Submodules¶
mist.cmd.helpers.ansible module¶
- mist.cmd.helpers.ansible.ansible(args, name)¶
- mist.cmd.helpers.ansible.init_playground(args, name)¶
- mist.cmd.helpers.ansible.install_and_import(package)¶
mist.cmd.helpers.backends module¶
- mist.cmd.helpers.backends.backend_action(args)¶
- mist.cmd.helpers.backends.list_backends(client)¶
- mist.cmd.helpers.backends.show_backend(backend)¶
mist.cmd.helpers.images module¶
- mist.cmd.helpers.images.image_action(args)¶
- mist.cmd.helpers.images.list_images(backend, search_term)¶
mist.cmd.helpers.keys module¶
- mist.cmd.helpers.keys.key_action(args)¶
- mist.cmd.helpers.keys.list_keys(client)¶
- mist.cmd.helpers.keys.show_key(key)¶
mist.cmd.helpers.locations module¶
- mist.cmd.helpers.locations.list_locations(backend)¶
- mist.cmd.helpers.locations.location_action(args)¶
mist.cmd.helpers.login module¶
- mist.cmd.helpers.login.authenticate()¶
- mist.cmd.helpers.login.init_client(mist_uri, email, password)¶
- mist.cmd.helpers.login.parse_config()¶
- mist.cmd.helpers.login.prompt_email()¶
- mist.cmd.helpers.login.prompt_password()¶
- mist.cmd.helpers.login.prompt_save_config(mist_uri, email, password, config_path)¶
- mist.cmd.helpers.login.user_info()¶
mist.cmd.helpers.machines module¶
- mist.cmd.helpers.machines.list_machines(client, backend_value)¶
- mist.cmd.helpers.machines.list_plugins(machine)¶
- mist.cmd.helpers.machines.machine_action(args)¶
- mist.cmd.helpers.machines.machine_take_action(machine, action)¶
- mist.cmd.helpers.machines.toggle_monitoring(machine, action)¶
mist.cmd.helpers.providers module¶
- mist.cmd.helpers.providers.list_providers(client)¶
- mist.cmd.helpers.providers.provider_action(args)¶
mist.cmd.helpers.sizes module¶
- mist.cmd.helpers.sizes.list_sizes(backend)¶
- mist.cmd.helpers.sizes.size_action(args)¶
mist.cmd.helpers.sync module¶
- mist.cmd.helpers.sync.add_backend(client, backend)¶
- mist.cmd.helpers.sync.add_bare_metal_backend(client, backend, keys)¶
Black magic is happening here. All of this wil change when we sanitize our API, however, this works until then
- mist.cmd.helpers.sync.add_key(client, key, key_id)¶
- mist.cmd.helpers.sync.associate_keys(user_dict, client)¶
This whole function is black magic, had to however cause of the way we keep key-machine association
- mist.cmd.helpers.sync.init_client()¶
- mist.cmd.helpers.sync.load_dbyaml(path)¶
- mist.cmd.helpers.sync.sync(path)¶
- mist.cmd.helpers.sync.sync_backends(user_dict, client)¶
- mist.cmd.helpers.sync.sync_keys(user_dict, client)¶