Revision d4f28d8f snf-deploy/snfdeploy/fabfile2.py
b/snf-deploy/snfdeploy/fabfile2.py | ||
---|---|---|
125 | 125 |
def update_env_with_service_info(service="pithos"): |
126 | 126 |
result = RunComponentMethod(Astakos, "get_services") |
127 | 127 |
r = re.compile(r"(\d+)[ ]*%s[ ]*(\S+)" % service, re.M) |
128 |
match = r.search(result)
|
|
128 |
match = r.search(result) |
|
129 | 129 |
if env.dry_run: |
130 | 130 |
env.service_id, env.service_token = \ |
131 | 131 |
("dummy_service_id", "dummy_service_token") |
... | ... | |
144 | 144 |
else: |
145 | 145 |
env.backend_id, = match.groups() |
146 | 146 |
|
147 |
|
|
147 | 148 |
# |
148 | 149 |
# |
149 | 150 |
# Those methods act on components after their basic setup |
... | ... | |
211 | 212 |
RunComponentMethod(Kamaki, "fetch_image") |
212 | 213 |
RunComponentMethod(Kamaki, "upload_image") |
213 | 214 |
RunComponentMethod(Kamaki, "register_image") |
215 |
|
|
216 |
|
|
214 | 217 |
# |
215 | 218 |
# |
216 | 219 |
# Those methods do the basic setup of a synnefo role |
Also available in: Unified diff