TOSCA paser support feature about affinity and anti affinity
Affinity and anti-affinity are very important, especially in occasion of high performance requirements, such as vms in telecommunications cloud.
As a affinity rule, vms sharing storage are co-located on the same hardware resources. As a anti-affinity rule, in active and standy scenario, the primary vm and the secondary vm must be located on different hardware resources.
Policy types of tosca.policy.
tosca.policy.
tosca.policy.
This bp update the TOSCA definition with these types, provide an example template and tests for parsing.
Blueprint information
- Status:
- Not started
- Approver:
- Sahdev Zala
- Priority:
- Undefined
- Drafter:
- xiaodong shang
- Direction:
- Needs approval
- Assignee:
- xiaodong shang
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(spzala) we have provided initial support for Policy parsing, anything that you can do to enhance it would be great. Thanks!
(shangxdy)Yes,i will enhance it based on policy, but the most modification will be in heat-translator, and it is only definition and validation in tosca-parser.
(srinivas) In my view, we need to have clear definition of affinity and antiaffinity for tosca.policies.
(spzala) @srinivas, yes and as @shangxdy forward with the blueprint, all the missing pieces he finds needs to be send to TOSCA TC for needed change in spec.
Work Items
Work items:
Definition: INPROGRESS
Test case: TODO