Add cli command for retrieving policy and rule status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-congressclient |
New
|
Undecided
|
Amey Bhide |
Bug Description
Add a subcommand to request status of a rule or policy
commit 50d3d073c425690
Author: Alexander Yip <email address hidden>
Date: Fri Apr 24 14:53:13 2015 -0700
Add status api calls for policy and rule
This change allows an API client to request the status of a rule or policy.
The response will reflect the state of the policy engine, not the state of t
database, since the policy engine and the database can become out of sync.
For a policy that exists, the API response will contain the policy name and
id. For a rule that exists, the API response will contain the rule name, id
comment, and original string. If the rule or policy does not exist, the
congress server will return a 404 error.
Change-Id: I5c134e14d1ae5f
Changed in python-congressclient: | |
assignee: | nobody → Amey Bhide (abhide) |
Amey, Are you still working on this bug?