Update sfatables framework for new manager plugins
[sfa.git] / sfa / plc / api.py
index b5c9ce4..7f7d0e3 100644 (file)
@@ -51,7 +51,7 @@ class SfaAPI(BaseAPI):
         self.credential = None
         
         # Initialize the PLC shell only if SFA wraps a myPLC
-        rspec_type = self.config.get_aggregate_rspec_type()
+        rspec_type = self.config.get_aggregate_type()
         if (rspec_type == 'pl' or rspec_type == 'vini'):
             self.plshell = self.getPLCShell()
             self.plshell_version = self.getPLCShellVersion()
@@ -425,7 +425,7 @@ class ComponentAPI(BaseAPI):
         if config is None:
             return
 
-        self.nodemanager = NodeManager()
+        self.nodemanager = NodeManager(config)
 
     def sliver_exists(self):
         sliver_dict = self.nodemanager.GetXIDs()