kollacli.commands package

Submodules

kollacli.commands.deploy module

class kollacli.commands.deploy.Deploy(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Deploy containers to hosts.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.deploy.Setdeploy(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Set deploy mode.

Set deploy mode to either local or remote. Local indicates that the openstack deployment will be to the local host. Remote means that the deployment is on remote hosts.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.exceptions module

Exception definitions.

exception kollacli.commands.exceptions.CommandError(message, *args)[source]

Bases: exceptions.Exception

CLI command error

kollacli.commands.group module

class kollacli.commands.group.GroupAdd(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Add group to openstack-kolla.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.group.GroupAddhost(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Add host to group.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.group.GroupAddservice(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Add service to group.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.group.GroupListhosts(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List all groups and their hosts.

take_action(parsed_args)[source]
class kollacli.commands.group.GroupListservices(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List all groups and their services.

take_action(parsed_args)[source]
class kollacli.commands.group.GroupRemove(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Remove group from openstack-kolla.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.group.GroupRemovehost(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Remove host group from group.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.group.GroupRemoveservice(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Remove service group from group.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.host module

class kollacli.commands.host.HostAdd(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Add host to openstack-kolla.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostCheck(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Check configuration of host(s).

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostDestroy(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Destroy all kolla containers on host(s).

Stops and removes all kolla related docker containers on either the specified host or all hosts if the hostname all is used.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostList(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List hosts and their groups.

If a hostname is provided, only list information about that host.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostRemove(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Remove host from openstack-kolla.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostSetup(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Setup openstack-kollacli on host.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.host.HostStop(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Stop all kolla containers on host(s).

Stops all kolla related docker containers on either the specified host or all hosts if the hostname all is used.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.password module

class kollacli.commands.password.PasswordClear(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Password Clear

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.password.PasswordInit(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Init all empty passwords and ssh keys.

take_action(parsed_args)[source]
class kollacli.commands.password.PasswordList(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List all password names.

take_action(parsed_args)[source]
class kollacli.commands.password.PasswordSet(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Password Set

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.password.PasswordSetKey(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Password Set SSH Key

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.property module

class kollacli.commands.property.PropertyClear(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Property Clear

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.property.PropertyList(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List all properties.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.property.PropertySet(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Property Set

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.pull module

class kollacli.commands.pull.Pull(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Pull enabled service images onto appropriate hosts.

take_action(parsed_args)[source]

kollacli.commands.reconfigure module

class kollacli.commands.reconfigure.Reconfigure(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Reconfigure and update kolla containers on all hosts.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.service module

class kollacli.commands.service.ServiceAddGroup(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Add group to service.

Associated the service to a group. If this is a sub-service, the inherit flag will be cleared.

get_parser(prog_name)[source]
take_action(parsed_args)[source]
class kollacli.commands.service.ServiceList(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List services and their sub-services.

take_action(parsed_args)[source]
class kollacli.commands.service.ServiceListGroups(app, app_args, cmd_name=None)[source]

Bases: cliff.lister.Lister

List services and their groups.

take_action(parsed_args)[source]
class kollacli.commands.service.ServiceRemoveGroup(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Remove group from service.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

kollacli.commands.support module

class kollacli.commands.support.Dump(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Dumps configuration data for debugging.

Dumps most files in /etc/kolla and /usr/share/kolla into a tar file so be given to support / development to help with debugging problems.

take_action(parsed_args)[source]

kollacli.commands.upgrade module

class kollacli.commands.upgrade.Upgrade(app, app_args, cmd_name=None)[source]

Bases: cliff.command.Command

Upgrade.

get_parser(prog_name)[source]
take_action(parsed_args)[source]

Module contents