table.create()
# create root authority
- sfaImporter.create_top_level_auth_records(root_auth)
- if not root_auth == interface_hrn:
- sfaImporter.create_top_level_auth_records(interface_hrn)
+ sfaImporter.create_top_level_auth_records(interface_hrn)
# create s user record for the slice manager
sfaImporter.create_sm_client_record()
if not parent_hrn == hrn:
self.create_top_level_auth_records(parent_hrn)
+ # enxure key and cert exists:
+ self.AuthHierarchy.create_top_level_auth(hrn)
# create the db record if it doesnt already exist
auth_info = self.AuthHierarchy.get_auth_info(hrn)
table = SfaTable()