- # Find the valid credentials
- ValidCreds = self.api.auth.checkCredentials(creds, 'shutdown', hrn)
-
- manager_base = 'sfa.managers'
-
- if self.api.interface in ['geni_am']:
- mgr_type = self.api.config.SFA_GENI_AGGREGATE_TYPE
- manager_module = manager_base + ".geni_am_%s" % mgr_type
- manager = __import__(manager_module, fromlist=[manager_base])
- return manager.Shutdown(self.api, slice_xrn, ValidCreds)
-
- return ''
-