Policy action implemenations
congressclient.osc.v1.policy.
CreatePolicy
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Create a policy.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
CreatePolicyFromFile
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Create a policy.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
CreatePolicyRule
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Create a policy rule.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
DeletePolicy
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Delete a policy.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.policy.
DeletePolicyRule
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Delete a policy rule.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.policy.
ListPolicy
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List Policy.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.policy.
ListPolicyRows
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List policy rows.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.policy.
ListPolicyRules
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
List policy rules.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.policy.
ListPolicyTables
(app, app_args, cmd_name=None)¶Bases: cliff.lister.Lister
List policy tables.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a tuple containing the column names and an iterable containing the data to be listed.
congressclient.osc.v1.policy.
ShowPolicy
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Show policy properties.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
ShowPolicyRule
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Show a policy rule.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
ShowPolicyTable
(app, app_args, cmd_name=None)¶Bases: cliff.show.ShowOne
Show policy table properties.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Return a two-part tuple with a tuple of column names and a tuple of values.
congressclient.osc.v1.policy.
SimulatePolicy
(app, app_args, cmd_name=None)¶Bases: cliff.command.Command
Show the result of simulation.
get_parser
(prog_name)¶Return an argparse.ArgumentParser
.
log
= <oslo_log.log.KeywordArgumentAdapter object>¶take_action
(parsed_args)¶Override to do something useful.
The returned value will be returned by the program.
congressclient.osc.v1.policy.
get_rule_id_from_name
(client, parsed_args)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.