CLI for creating/activating policy from library
Bug #1693622 reported by
Eric K
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
API reference:
https:/
Workflow reference:
https:/
Depends-on: https:/
description: | updated |
tags: | added: policy-lib |
summary: |
- API & CLI for creating/activating policy from library + CLI for creating/activating policy from library |
summary: |
- CLI for creating/activating policy from library + API & CLI for creating/activating policy from library |
tags: | added: pike-goal |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/479167 /git.openstack. org/cgit/ openstack/ congress/ commit/ ?id=94fdc38c867 a9b5dd7cd28f77c 64a6fa973336d9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 94fdc38c867a9b5 dd7cd28f77c64a6 fa973336d9
Author: Eric Kao <email address hidden>
Date: Sun Jun 25 14:45:37 2017 -0700
Add policy creation with rules or from policy library
persistent_ create_ policy_ with_rules method added to agnostic runtime insert_ rules method extended to allow creation
to transactionally create policy along with rules. The main work is
done by the persistent_
of the target policy along with the rule inserts.
Database transactions added in persistent_ insert_ rules to make sure
all changes (policy add and rules insert) can be committed or rolled
back together.
DB table locking expanded to the `policies` table in the policy
creation case to prevent conflicting policy changes from other nodes.
policy_model add_item API method extended to accept policy item with
rules, (exclusive) or parameter specifying ID of library policy to
activate.
Partially implements: blueprint policy-library
Partial-Bug: 1693622
Change-Id: I2a83ac11b7014d 417ff7553f602a8 bb96a9adc34