From c376ebdafcdc9a8e23f0bf082216cd14ca414700 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Sun, 28 Jun 2009 10:36:05 +0000 Subject: [PATCH] UpdateSlice needs input in plc format --- geni/methods/update.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.0