mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
super_node: node_type_start() should acutally called before node_prepare()
This commit is contained in:
parent
4d6c746232
commit
fe9119337a
2 changed files with 3 additions and 3 deletions
|
@ -113,10 +113,10 @@ public:
|
|||
|
||||
void preparePaths();
|
||||
void prepareNodes();
|
||||
void prepareNodeTypes();
|
||||
|
||||
void startPaths();
|
||||
void startNodes();
|
||||
void startNodeTypes();
|
||||
void startInterfaces();
|
||||
|
||||
void stopPaths();
|
||||
|
|
|
@ -253,7 +253,7 @@ void SuperNode::check()
|
|||
state = State::CHECKED;
|
||||
}
|
||||
|
||||
void SuperNode::startNodeTypes()
|
||||
void SuperNode::prepareNodeTypes()
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
@ -345,6 +345,7 @@ void SuperNode::prepare()
|
|||
|
||||
kernel::rt::init(priority, affinity);
|
||||
|
||||
prepareNodeTypes();
|
||||
prepareNodes();
|
||||
preparePaths();
|
||||
|
||||
|
@ -371,7 +372,6 @@ void SuperNode::start()
|
|||
web.start();
|
||||
#endif
|
||||
|
||||
startNodeTypes();
|
||||
startInterfaces();
|
||||
startNodes();
|
||||
startPaths();
|
||||
|
|
Loading…
Add table
Reference in a new issue