congress

congress datasource actions show

List supported actions for datasource.

openstack congress datasource actions show
    [--sort-column SORT_COLUMN]
    <datasource>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource

Name or ID of the datasource

This command is provided by the python-congressclient plugin.

congress datasource create

Create a datasource.

openstack congress datasource create
    [--description <datasource-description>]
    [--config <key=value>]
    <datasource-driver>
    <datasource-name>
--description <datasource-description>

Description of the datasource

--config <key=value>

config dictionary to pass in

datasource-driver

Selected datasource driver

datasource-name

Name you want to call the datasource

This command is provided by the python-congressclient plugin.

congress datasource delete

Delete a datasource.

openstack congress datasource delete <datasource>
datasource

Name or ID of the datasource to delete

This command is provided by the python-congressclient plugin.

congress datasource list

List Datasources.

openstack congress datasource list [--sort-column SORT_COLUMN]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

This command is provided by the python-congressclient plugin.

congress datasource request-refresh

Trigger a datasource to poll.

openstack congress datasource request-refresh <datasource>
datasource

Name or ID of the datasource to poll

This command is provided by the python-congressclient plugin.

congress datasource row list

List datasource rows.

openstack congress datasource row list
    [--sort-column SORT_COLUMN]
    <datasource>
    <table>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource

Name or ID of the datasource to show

table

Table to get the datasource rows from

This command is provided by the python-congressclient plugin.

congress datasource row update

Update rows to a datasource table.

openstack congress datasource row update <datasource> <table> <rows>
datasource

Name or ID of the datasource to Update

table

Name or ID of the table to Update

rows

List of Rows should be formmated json style. ex. [[row1], [row2]]

This command is provided by the python-congressclient plugin.

congress datasource schema show

Show schema for datasource.

openstack congress datasource schema show
    [--sort-column SORT_COLUMN]
    <datasource>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource

Name or ID of the datasource

This command is provided by the python-congressclient plugin.

congress datasource status show

List status for datasource.

openstack congress datasource status show <datasource>
datasource

Name or ID of the datasource

This command is provided by the python-congressclient plugin.

congress datasource table list

List datasource tables.

openstack congress datasource table list
    [--sort-column SORT_COLUMN]
    <datasource>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource

Name or ID of the datasource

This command is provided by the python-congressclient plugin.

congress datasource table schema show

Show schema for datasource table.

openstack congress datasource table schema show
    [--sort-column SORT_COLUMN]
    <datasource>
    <table-name>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource

Name or ID of the datasource

table-name

Name of the table

This command is provided by the python-congressclient plugin.

congress datasource table show

Show Datasource Table properties.

openstack congress datasource table show <datasource> <table-id>
datasource

Name or ID of datasource

table-id

Table id

This command is provided by the python-congressclient plugin.

congress driver config show

List driver tables.

openstack congress driver config show <datasource-driver>
datasource-driver

Name of the datasource driver

This command is provided by the python-congressclient plugin.

congress driver list

List drivers.

openstack congress driver list [--sort-column SORT_COLUMN]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

This command is provided by the python-congressclient plugin.

congress driver schema show

List datasource tables.

openstack congress driver schema show
    [--sort-column SORT_COLUMN]
    <datasource-driver>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

datasource-driver

Name of the datasource driver

This command is provided by the python-congressclient plugin.

congress policy create

Create a policy.

openstack congress policy create
    [--description <description>]
    [--abbreviation <abbreviation>]
    [--kind <kind>]
    <policy_name>
--description <description>

Policy description

--abbreviation <abbreviation>

Policy abbreviation (used in traces). The length of the string must be equal to or less than 5 characters. Defaults to the first five characters of policy_name if not set.

--kind <kind>

Kind of policy: {nonrecursive, database, action, materialized, z3}

policy_name

Name of the policy

This command is provided by the python-congressclient plugin.

congress policy create-from-file

Create a policy.

openstack congress policy create-from-file <policy_file_path>
policy_file_path

Path to policy file

This command is provided by the python-congressclient plugin.

congress policy delete

Delete a policy.

openstack congress policy delete <policy>
policy

ID or name of the policy to delete

This command is provided by the python-congressclient plugin.

congress policy list

List Policy.

openstack congress policy list [--sort-column SORT_COLUMN]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

This command is provided by the python-congressclient plugin.

congress policy row list

List policy rows.

openstack congress policy row list
    [--sort-column SORT_COLUMN]
    [--trace]
    <policy-name>
    <table>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

--trace

Display explanation of result

policy-name

Name of the policy to show

table

Table to get the policy rows from

This command is provided by the python-congressclient plugin.

congress policy rule create

Create a policy rule.

openstack congress policy rule create
    [--name RULE_NAME]
    [--comment COMMENT]
    <policy-name>
    <rule>
--name <RULE_NAME>

Name of the policy rule

--comment <COMMENT>

Comment about policy rule

policy-name

Name or identifier of the policy

rule

Policy rule

This command is provided by the python-congressclient plugin.

congress policy rule delete

Delete a policy rule.

openstack congress policy rule delete <policy-name> <rule-id/rule-name>
policy-name

Name of the policy to delete

rule-id/rule-name

ID/Name of the policy rule to delete

This command is provided by the python-congressclient plugin.

congress policy rule list

List policy rules.

openstack congress policy rule list <policy-name>
policy-name

Name of the policy

This command is provided by the python-congressclient plugin.

congress policy rule show

Show a policy rule.

openstack congress policy rule show <policy-name> <rule-id/rule-name>
policy-name

Name or identifier of the policy

rule-id/rule-name

Policy rule id or rule name

This command is provided by the python-congressclient plugin.

congress policy show

Show policy properties.

openstack congress policy show <policy-name>
policy-name

Name of policy

This command is provided by the python-congressclient plugin.

congress policy simulate

Show the result of simulation.

openstack congress policy simulate
    [--delta]
    [--trace]
    <policy>
    <query>
    <sequence>
    <action_policy>
--delta

Return difference in query caused by update sequence

--trace

Include trace describing computation

policy

Name of the policy

query

String representing query (policy rule or literal)

sequence

String representing sequence of updates/actions

action_policy

Name of the policy with actions

This command is provided by the python-congressclient plugin.

congress policy table list

List policy tables.

openstack congress policy table list
    [--sort-column SORT_COLUMN]
    <policy-name>
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

policy-name

Name of the policy

This command is provided by the python-congressclient plugin.

congress policy table show

Show policy table properties.

openstack congress policy table show <policy-name> <table-id>
policy-name

Name of policy

table-id

Table id

This command is provided by the python-congressclient plugin.

congress version list

List API Versions.

openstack congress version list [--sort-column SORT_COLUMN]
--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

This command is provided by the python-congressclient plugin.