Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1062)

Issue 6350057: jitsu environment import export

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by hazmat
Modified:
11 years, 10 months ago
Reviewers:
mp+112819
Visibility:
Public.

Description

jitsu environment import export Deployment automation for juju. We see lots of shell scripts for creating environments. Ideally we could just edit a json file or dump an existing environment to create a new one. These pair of commands (export and import) do just that. you can dump an environment to json with jitsu export -e env_name > env.json it will capture services, unit counts, constraints, service config, relations, etc. That can in turn be imported to another environment with jitsu import -e env_name env.json R=negronil https://code.launchpad.net/~hazmat/juju-jitsu/import-export/+merge/112819 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : jitsu environment import export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+413 lines, -0 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
A sub-commands/export View 1 1 chunk +170 lines, -0 lines 0 comments Download
A sub-commands/import View 1 1 chunk +241 lines, -0 lines 0 comments Download

Messages

Total messages: 3
hazmat
Please take a look.
11 years, 10 months ago (2012-06-29 17:40:35 UTC) #1
negronjl
Kapil: Thanks for this. It is very useful. Some thoughts about both export and import: ...
11 years, 10 months ago (2012-06-29 19:07:18 UTC) #2
hazmat
11 years, 10 months ago (2012-07-01 00:40:04 UTC) #3
*** Submitted:

jitsu environment import export

Deployment automation for juju. We see lots of shell scripts for creating 
environments. Ideally we could just edit a json file or dump an existing 
environment to create a new one. These pair of commands (export and import) do
just that.

 you can dump an environment to json with

   jitsu export -e env_name > env.json

 it will capture services, unit counts, constraints, service config, relations,
etc.

 That can in turn be imported to another environment with 

   jitsu import -e env_name env.json


R=negronil

R=negronjl
CC=
https://codereview.appspot.com/6350057
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b