X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=util%2Fgeniclient.py;h=29f832bba610ea60a59b0162da3077c620e5200e;hb=52c61280cf161a52321d5d003d6cae331f31fe3c;hp=accf658a7231c0fa3eeadcaf96675d878a2457da;hpb=5585b61cbeae2f0356b8476bd4256da39be0cc10;p=sfa.git diff --git a/util/geniclient.py b/util/geniclient.py index accf658a..29f832bb 100644 --- a/util/geniclient.py +++ b/util/geniclient.py @@ -197,13 +197,11 @@ class GeniClient(): # then the PLC records will also be removed. # # @param cred credential object specifying rights of the caller - # @param record record to register. The only relevant - # fields of the record are 'name' and 'type', which are used to lookup - # the current copy of the record in the Geni database, to make sure - # that the appopriate record is removed. + # @param type + # @param hrn - def remove(self, cred, record): - result = self.server.remove(cred.save_to_string(save_parents=True), record.as_dict()) + def remove(self, cred, type, hrn): + result = self.server.remove(cred.save_to_string(save_parents=True), type, hrn) return result ##