Datasource action implemenations
congressclient.osc.v1.datasource.
CreateDatasource
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Create a datasource.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.CreateDatasource (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.datasource.
DatasourceRequestRefresh
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Trigger a datasource to poll.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.DatasourceRequestRefresh (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.datasource.
DeleteDatasource
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Delete a datasource.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.DeleteDatasource (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.datasource.
ListDatasourceRows
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List datasource rows.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ListDatasourceRows (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
ListDatasourceTables
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List datasource tables.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ListDatasourceTables (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
ListDatasources
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List Datasources.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ListDatasources (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
ShowDatasourceActions
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List supported actions for datasource.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ShowDatasourceActions (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
ShowDatasourceSchema
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
Show schema for datasource.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ShowDatasourceSchema (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
ShowDatasourceStatus
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
List status for datasource.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ShowDatasourceStatus (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.datasource.
ShowDatasourceTable
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Show Datasource Table properties.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ShowDatasourceTable (WARNING)>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.datasource.
ShowDatasourceTableSchema
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
Show schema for datasource table.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.ShowDatasourceTableSchema (WARNING)>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.datasource.
UpdateDatasourceRow
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Update rows to a datasource table.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <KeywordArgumentAdapter congressclient.osc.v1.datasource.UpdateDatasourceRow (WARNING)>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.