[ovs-discuss] Informing the controller through OVS when port state is changed to admin up/down

tech_kals Kals tech.kals at gmail.com
Wed Oct 28 12:28:03 UTC 2015


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
to*
*     * turn NETDEV_UP on and off, so this function doesn't have to do
anything*
*     * 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 ?


Thanks,
~Kals~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151028/71ed988d/attachment-0002.html>


More information about the discuss mailing list