The designateclient.v2.cli.recordsets
Module
this page last updated: 2019-03-12 06:08:05.834894
-
class
designateclient.v2.cli.recordsets.
CreateRecordSetCommand
(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Create new recordset
-
get_parser
(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
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: osc_lib.command.command.ShowOne
Delete recordset
-
get_parser
(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
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: osc_lib.command.command.Lister
List recordsets
-
columns
= ['id', 'name', 'type', 'records', 'status', 'action']
-
get_parser
(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
take_action
(parsed_args)[source]
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: osc_lib.command.command.ShowOne
Set recordset properties
-
get_parser
(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
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: osc_lib.command.command.ShowOne
Show recordset details
-
get_parser
(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log
= <logging.Logger object>
-
take_action
(parsed_args)[source]
Return a two-part tuple with a tuple of column names
and a tuple of values.
this page last updated: 2019-03-12 06:08:05.834894