[pox-dev] How to pass arguments to pox modules

Murphy McCauley murphy.mccauley at gmail.com
Thu Apr 10 11:43:36 PDT 2014


Yes, this is possible, and many components do it.  Check many of them for a demonstration (forwarding.l2_learning, for example).

The mechanism is described in the "Developing your own Components" section of the manual, in the subsection "The launch function".

-- Murphy

On Apr 10, 2014, at 7:22 AM, Keqiang He <hekeqiang at gmail.com> wrote:

> Hi --
> 
> I am wondering whether we can pass arguments to a user-defined module in POX? For example, we have a module called security. I know that we can call it like ./pox.py samples.security. However, What the user can do if he/she wants to pass some arguments to this security module?
> 
> Thanks!




More information about the pox-dev mailing list