The designateclient.cli.servers Module

The designateclient.cli.servers Module

class designateclient.cli.servers.CreateServerCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.CreateCommand

Create Server

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.servers.DeleteServerCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.DeleteCommand

Delete Server

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.servers.GetServerCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get Server

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.servers.ListServersCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.ListCommand

List Servers

columns = ['id', 'name']
execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
log = <logging.Logger object>
class designateclient.cli.servers.UpdateServerCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.UpdateCommand

Update Server

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-designateclient 2.10.1.dev3