Hey Murphy,

I want to modify some ports under certain conditions so I tried the
following:

        msg = of.ofp_port_mod( port_no=p,
                                 config = of.OFPPC_NO_RECV,
                                 mask = of.OFPPC_NO_RECV )
        self.connection.send(msg)


which unfortunately does not seem to work (is the hw_addr mandatory? - If
so, where do I get it from?).


On Wed, Dec 19, 2012 at 8:30 PM, Murphy McCauley
<[email protected]>wrote:

> I'm not entirely sure what you have in mind.  Maybe you can describe it
> more fully?
>
> -- Murphy
>
> On Dec 19, 2012, at 4:27 AM, Julius Bachnick wrote:
>
> > Hey Everyone!
> >
> > I'm currently trying to develop a Controller which interacts with OVS.
> In certain cases I want the controller to Block certain Ports on a Switch
> but I do not seem to be able to find the corresponding action in
> libopenflow_01.py so I'm currently running out of ideas.
> >
> > Is that possible in a way? And if yes, what would be an approrpiate
> approach?
> >
> >
> >
> > Regards,
> >
> > Julius
>
>

Reply via email to