From: Anil-Kumar Vengalil Date: Thu, 3 Dec 2009 23:28:12 +0000 (+0000) Subject: with this we can use the sfa update method to renew slices X-Git-Tag: sfa-0.9-7~206 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=60d0c854a7cc1443adf60457da509d774db9b9a5 with this we can use the sfa update method to renew slices --- diff --git a/sfa/plc/api.py b/sfa/plc/api.py index ed8883f3..5612d890 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -208,6 +208,8 @@ class GeniAPI(BaseAPI): pl_record["url"] = record["url"] if "description" in record: pl_record["description"] = record["description"] + if "expires" in record: + pl_record["expires"] = int(record["expires"]) elif type == "node": if not "hostname" in pl_record: