Amthal
Amthal

Reputation: 1

omnet runtime erro

I'm trying to run SDN Multiple controllers in omnet. I change some code in OFA_switch.cc .. I uncommented the first section and comment the lower section of code as illustrated. Since there is not a module "controller" but instead there is a submodule "controller" in each domain controller I got runtime error: Error processing command OPEN_ACTIVE:remote address and port must be specified... Can you please help me?

enter image description here

enter image description here

enter image description here

Upvotes: 0

Views: 46

Answers (1)

Rudi
Rudi

Reputation: 6681

There is no reason to rewrite the code. It is totally fine to get that parameter from the INI file. The problem is that the remote address must be correctly specified. You can use the direct IP address there (if you know it) or it is also possible to specify a module path to the given node. My guess is that it is specified as controller which assumes that there is a module named controller at the top level. I assume you have put these components into submodules so the controller module is now inside a submodule. You may use submodulename.controller or may use relative module path something like this^.^.controller (I'm not sure on the exact number of (^) parent navigations. It depends on how deep the application module is inside the node.

Upvotes: 1

Related Questions