designateclient.v2.cli.recordsets module

class designateclient.v2.cli.recordsets.CreateRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Create new recordset

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.CreateRecordSetCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.recordsets.DeleteRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Delete recordset

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.DeleteRecordSetCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.recordsets.ListRecordSetsCommand(app, app_args, cmd_name=None)[source]

Bases: Lister

List recordsets

columns = ['id', 'name', 'type', 'records', 'status', 'action']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.ListRecordSetsCommand (WARNING)>
take_action(parsed_args)[source]

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.recordsets.SetRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Set recordset properties

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.SetRecordSetCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.recordsets.ShowRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: ShowOne

Show recordset details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.ShowRecordSetCommand (WARNING)>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.