from sfa.trust.certificate import convert_public_key, Keypair
from sfa.importer.sfaImport import sfaImport, _cleanup_string
from sfa.util.sfalogging import logger
+from sfa.plc.plshell import PlShell
def process_options():
sfaImporter.create_top_level_records()
logger=sfaImporter.logger
logger.setLevelFromOptVerbose(config.SFA_API_LOGLEVEL)
- shell = sfaImporter.shell
+ shell = PlShell (config)
# special case for vini
if ".vini" in interface_hrn and interface_hrn.endswith('vini'):
self.config = Config()
self.TrustedRoots = TrustedRoots(Config.get_trustedroots_dir(self.config))
self.root_auth = self.config.SFA_REGISTRY_ROOT_AUTH
- # should use a driver instead...
- from sfa.plc.plshell import PlShell
- # how to connect to planetlab
- self.shell = PlShell (self.config)
def create_top_level_records(self):
"""