Policy of manager api call
Registered by
Nachi Ueno
Methods in managers must be called via api.py.
- Rationality
Isoration between managers
Parameter checking
More testable
Bad example
see https:/
In this case, the compute manager directly calls volume manager without using it's API.
Because of this code the compute manager and the volume manager are not fully isolated.
This policy also affects input value validation policy (https:/
Each of manager should validate input values. If the another manager call's internal method directly, we should validate all input values for all method in the manager because it's hard to know which api will be used.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Nachi Ueno
- Direction:
- Needs approval
- Assignee:
- Nachi Ueno
- Definition:
- New
- Series goal:
- Accepted for essex
- Implementation:
- Unknown
- Milestone target:
- essex-1
- Started by
- Completed by
Related branches
Related bugs
Bug #872445: nova.compute.manager calls methods in nova.volume.manager directly | Fix Released |
Bug #883255: nova.image.glance.get must check input parameter | Invalid |
Sprints
Whiteboard
(?)