Greetings!!!

I am using Emulab to make nodes of 2 or 3 lans talk to each other. In
these small lans one node is supposed to be the switch for that lan
and talk to nodes of that lan as well as to the switches of other
lans.

For the nodes, I am using Ubuntu 14.04 and have installed POX and
written a controller using Python. With time additional
functionalities will be added to the controller like firewalling,
dynamic routing mechanism, traffic generation etc.

My questions are:

Q1)  When writing controllers in Python in POX environment for Emulab
nodes, will each controller reside in each node (irrespective of
whether the node is a switch or a host), or the controllers are
supposed to reside in switch nodes only?

Q2)  The controller files which are python files are supposed to
reside inside the /user directory?

Q3) How may the switches be connected to each other and to the rest of
the nodes for e.g. like connecting the ethernet of the nodes or
connecting the in_port of one node with the out_port of a switch and
so on........

Are there any sample code showing how two controllers are connected to
each other or to remaining hosts?


Thanks & Regards
Sanghamitra

Reply via email to