diff options
author | Vignesh K <vignesh.k041@wipro.com> | 2019-03-27 17:34:08 +0530 |
---|---|---|
committer | Vignesh K <vignesh.k041@wipro.com> | 2019-04-10 20:42:17 +0530 |
commit | 34dd2c9a61528cb87ecf59d031bae23cd257210a (patch) | |
tree | 22830a23428846f38d5daae9a772d44b179b9330 /clamp-policy/README.md | |
parent | a4983a2f9a74b52c1b54491f2a39d2effb2763e6 (diff) |
Initial commit for clamp-policy plugin
Addressed review comments
Issue-ID: DCAEGEN2-1129
Change-Id: Icdf95bdbf7c3ec2f201d5d57544ef6d206f3c5fa
Signed-off-by: Vignesh K <vignesh.k041@wipro.com>
Diffstat (limited to 'clamp-policy/README.md')
-rw-r--r-- | clamp-policy/README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/clamp-policy/README.md b/clamp-policy/README.md new file mode 100644 index 0000000..c26fb15 --- /dev/null +++ b/clamp-policy/README.md @@ -0,0 +1,27 @@ +#supporting policy_model_id for clamp + + - Adding a new node type extended from dcae.node.policy, so it is backward comatible with policy_id and + compatible with newly introduced policy_model_id + + ## Usage + +import the clamppolicy-node-type.yaml into your blueprint to use the clamp.nodes.type node + +```yaml +imports: + - https://YOUR_NEXUS_RAW_SERVER/type_files/clamppolicy/1.0.0/clamppolicy-node-type.yaml +``` + +provide the value for policy_model_id property + +```yaml +node_templates: +... + policy_model: + type: clamp.nodes.policy + properties: + policy_model_id: { get_input: policy_model_id } +``` + +Then the clamppolicyplugin will bring the latest policy model id to the clamp.nodes.policy node +during the install workflow of cloudify. |