+ self.logger.info("OpenstackImporter: imported slice: %s" % record)
+
+ return tenants_dict
+
+ def run (self, options):
+ # we don't have any options for now
+ self.logger.info ("OpenstackImporter.run : to do")
+
+ # create dict of all existing sfa records
+ existing_records = {}
+ existing_hrns = []
+ key_ids = []
+ for record in dbsession.query(RegRecord):
+ existing_records[ (record.hrn, record.type,) ] = record
+ existing_hrns.append(record.hrn)
+
+
+ tenants_dict = self.import_tenants(existing_hrns, existing_records)
+ users_dict, user_keys = self.import_users(existing_hrns, existing_records)