Maybe someone wants to give this a try: add a port to the OVS switch when it has already started to communicate with the controller. I do not know if OVS allows that.
OpenFlow ideally allows port status messages to be sent for such an event, so this question seems switch specific to me. Regards KK On 8 September 2010 02:09, Kyriakos Zarifis <kyr.zari...@gmail.com> wrote: > Hi Yuji, > it's hard to communicate an event to NOX at that point, as the communication > channel between switch-controller is not even necessarily up. > I wonder if you can use the datapath_join event for your purpose? > Or maybe you could make use of the Link_event that should be raised after > the interface is configured as an OF interface (assuming that there is an > active OF interface on the other end) > (You could define a new event and raise it from an external application (or, > say, a hacked 'ovs-dpctl add-if' command) using the 'messenger' to > communicate it to NOX, but I'm not sure this is what you want to do and its > probably more work than you'd want). > > On Tue, Sep 7, 2010 at 11:56 PM, Yuji NISHIDA <nish...@nict.go.jp> wrote: >> >> Hi >> >> Are there any events called when network device is assigned to a datapath? >> I mean I want to add a flow rule every when I do this command "$ovs-dpctl >> add-if dpX ethX". >> >> I checked out the wiki page and source files as follows. >> http://noxrepo.org/noxwiki/index.php/NOX_Events >> src/include/* >> >> I tried several events but they all didn't work. >> >> Regards. >> >> ----- >> Yuji Nishida >> nish...@nict.go.jp >> >> >> _______________________________________________ >> nox-dev mailing list >> nox-dev@noxrepo.org >> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > > _______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org