From: Anil-Kumar Vengalil Date: Sun, 28 Jun 2009 10:36:05 +0000 (+0000) Subject: UpdateSlice needs input in plc format X-Git-Tag: sfa-0.9-0@14641~236 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c376ebdafcdc9a8e23f0bf082216cd14ca414700;p=sfa.git UpdateSlice needs input in plc format --- diff --git a/geni/methods/update.py b/geni/methods/update.py index a62d38bd..e9866e38 100644 --- a/geni/methods/update.py +++ b/geni/methods/update.py @@ -57,7 +57,9 @@ class update(Method): self.api.plshell.UpdateSite(self.api.plauth, pointer, record) elif type == "slice": - self.api.plshell.UpdateSlice(self.api.plauth, pointer, record) + hrn=record.get_name() + pl_record=self.api.geni_fields_to_pl_fields(type, hrn, record) + self.api.plshell.UpdateSlice(self.api.plauth, pointer, pl_record) elif type == "user": # SMBAKER: UpdatePerson only allows a limited set of fields to be