EnvironmentsConfig should be serializable
Bug #614469 reported by
Gustavo Niemeyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Kapil Thangavelu |
Bug Description
We need a method like:
data = EnvironmentsCon
This will generate a valid "environments.yaml" configuration, containing only the environment with the given name.
Internally, this option should call the environment's serialize() method, which in turn should call the serialize() method in the machine provider. This enables the machine provider to inject additional required options such as AWS keys (which may be retrieved from the env variables) and translate the authorized_
This is needed by the ProvisioningAgent
Related branches
lp:~hazmat/pyjuju/lp-614469-serialize-environment
- Gustavo Niemeyer: Approve
-
Diff: 224 lines (+107/-3) (has conflicts)7 files modifiedMakefile (+3/-0)
ensemble/environment/environment.py (+5/-0)
ensemble/environment/tests/test_environment.py (+28/-0)
ensemble/providers/dummy.py (+11/-1)
ensemble/providers/ec2/__init__.py (+16/-0)
ensemble/providers/ec2/tests/test_provider.py (+39/-2)
ensemble/providers/tests/test_dummy.py (+5/-0)
description: | updated |
description: | updated |
Changed in ensemble: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in ensemble: | |
milestone: | none → 0.1 |
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | Confirmed → In Progress |
Changed in ensemble: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
description: | updated |
Changed in ensemble: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.