You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I am grabbing controller._nodes to re-add nodes on startup. Would be nice to have standard methods to grab this info so internal data structures can change, but the interface to nodeservers isn't affected.
Get existing nodes from db
return just those with given nodedef
controller.get_nodes('nodedef': 'myNodeDef')
or get all
controller.get_nodes()
or all for a given primary
controller.get_nodes('primary': 'myPrimaryAddress')
Would be nice if it returned objects, but if not then just a standard array or hash that doesn't ever change?
The text was updated successfully, but these errors were encountered:
I call getDriver in init before Super cause I need to know some info before super can be called, but getDriver fails since self.controller is not set, so I have to set it. Wondering if controller should just be a global since you can only have one?
# Have to set this to call getDriver
self.controller = controller
tag_type = self.getDriver('GV1')
Just a start to open the discussion...
Currently I am grabbing controller._nodes to re-add nodes on startup. Would be nice to have standard methods to grab this info so internal data structures can change, but the interface to nodeservers isn't affected.
Get existing nodes from db
return just those with given nodedef
controller.get_nodes('nodedef': 'myNodeDef')
or get all
controller.get_nodes()
or all for a given primary
controller.get_nodes('primary': 'myPrimaryAddress')
Would be nice if it returned objects, but if not then just a standard array or hash that doesn't ever change?
The text was updated successfully, but these errors were encountered: