From 60d0c854a7cc1443adf60457da509d774db9b9a5 Mon Sep 17 00:00:00 2001
From: Anil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Date: Thu, 3 Dec 2009 23:28:12 +0000
Subject: [PATCH] with this we can use the sfa update method to renew slices

---
 sfa/plc/api.py | 2 ++
 1 file changed, 2 insertions(+)

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:
-- 
2.47.0