Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] actions to replace polishers #36

Open
bernard357 opened this issue Jun 6, 2016 · 1 comment
Open

[wip] actions to replace polishers #36

bernard357 opened this issue Jun 6, 2016 · 1 comment
Labels

Comments

@bernard357
Copy link
Contributor

early work has been engaged to move away from existing 'polishers', and to establish solid fondations for future extensions of plumbery:

  • keep external compatibility with blueprints and facilities, e.g., 'build cluster @na9'
  • allow for non-Dimension Data facilities, e.g., AWS (= no domain: nor ethernet: primitive)
  • new file action.py to define PlumberyAction and PlumberyActionLoader
  • new file test_action.py of course
  • new directory plumbery/actions to host all actions that plumbery can handle
  • early implementation in engine.py and in facility.py

each existing polisher will have to be transformed to an action. because of semantic changes it is not an obvious task. during the transition is may happen that some functions invoke both polishers and actions

on the long run, the goal is to turn a big part of code in engine.py and in facility.py into separate manageable actions, e.g., actions/start.py, actions/stop.py, etc

since the new interface described in plumbery/actions.py will be very structuring, you are invited to have a look and to provide feed-back

@bernard357
Copy link
Contributor Author

plumbery 1.0.2 has early implementation of actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant