From 4bcdedd37d74cc111ac1dadf157489c21f5ed6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Wed, 13 Mar 2013 11:20:56 +0100 Subject: [PATCH] Add SLA to request.edge --- slapos/recipe/request.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slapos/recipe/request.py b/slapos/recipe/request.py index ce9edc842..8dcfc359d 100644 --- a/slapos/recipe/request.py +++ b/slapos/recipe/request.py @@ -244,6 +244,9 @@ class RequestEdge(Recipe): # Request will have its own copy of options dict local_options = original_options.copy() local_options['name'] = '%s-%s' % (country, name) + local_options['sla'] = "region" + local_options['sla-region'] = country + self.request_dict[country] = Recipe(buildout, name, local_options) # "Bubble" all connection parameters for option, value in local_options.iteritems(): -- 2.30.9