[ovs-discuss] Informing the controller through OVS when port state is changed to admin up/down
tech.kals at gmail.com
Thu Oct 29 03:15:55 UTC 2015
Can someone have a look at this issue please ?
On Wed, Oct 28, 2015 at 5:58 PM, tech_kals Kals <tech.kals at gmail.com> wrote:
> Hi experts,
> Am facing the issue of the *OVS doesn't inform Controller when port state
> is changed to down by admin*.
> When look at the code, " *port_reconfigured " * function would be called
> to inform the controller when port state is changed.
> But, the comment says that OVS will not inform the controller about the
> same. I found it as true in my testing as well.
> Is my understanding correct ? Could someone correct me if my
> understanding is wrong.
> * /* Called after an OpenFlow request changes a port's configuration.*
> * * 'ofport->pp.config' contains the new configuration. 'old_config'*
> * * contains the previous configuration.*
> * **
> * * The caller implements OFPUTIL_PC_PORT_DOWN using netdev functions
> * * turn NETDEV_UP on and off, so this function doesn't have to do
> * * for that bit (and it won't be called if that is the only bit that*
> * * changes). */*
> * void (*port_reconfigured)(struct ofport *ofport,*
> * enum ofputil_port_config old_config);*
> Could someone guide me how to fix this issue ? How can make OVS to inform
> the controller when port state is changed ? Is there any other function to
> do the same ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss