- def call(self, cred, hrn):
-
- self.api.auth.check(cred, 'resetslice')
- ## XX Not yet implemented
-
+ def call(self, cred, xrn, origin_hrn=None):
+ hrn, type = urn_to_hrn(xrn)
+ self.api.auth.check(cred, 'resetslice', hrn)
+ self.api.manager.reset_slice (self.api, xrn)