The congressclient.osc.v1.policy Module

Policy action implemenations

class congressclient.osc.v1.policy.CreatePolicy(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Create a policy.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.CreatePolicyRule(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Create a policy rule.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.DeletePolicy(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Delete a policy.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.DeletePolicyRule(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Delete a policy rule.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ListPolicy(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List Policy.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ListPolicyRows(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List policy rows.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ListPolicyRules(app, app_args, cmd_name=None)

Bases: cliff.command.Command

List policy rules.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ListPolicyTables(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

List policy tables.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ShowPolicy(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Show policy properties.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ShowPolicyRule(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Show a policy rule.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.ShowPolicyTable(app, app_args, cmd_name=None)

Bases: cliff.show.ShowOne

Show policy table properties.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
class congressclient.osc.v1.policy.SimulatePolicy(app, app_args, cmd_name=None)

Bases: cliff.command.Command

Show the result of simulation.

get_parser(prog_name)
log = <oslo_log.log.KeywordArgumentAdapter object>
take_action(parsed_args)
congressclient.osc.v1.policy.get_rule_id_from_name(client, parsed_args)