You can check flow in OVS by the following command in xterm of OVS ovs-ofctl dump-flows. It will show you all the flows in switch which were added.
> Date: Mon, 29 Apr 2013 01:07:46 -0700 > From: Murphy McCauley <[email protected]> > To: Kouvakas Alexandros <[email protected]> > Cc: [email protected] > Subject: Re: [pox-dev] POX on planetlab > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > (Inline) > > On Apr 29, 2013, at 12:56 AM, Kouvakas Alexandros wrote: > > > Sorry for asking again.Does anybody knows the answer on the above > question? > > Sorry; I've been busy. Hopefully this brief reply will be helpful. > > > 2013/4/23 Kouvakas Alexandros <[email protected]> > > Hello, > > I managed to create my network as I would like it to be. > > So, I have one OVS and two hosts connected to it through tunnels. > > Before running the POX controller I delete the flows of the OVS with > "ovs-ofctl del-flows".So, after that I cannot have pings between the > machines. > > As a note, POX clears the tables as soon as switches connect by default. > > > After that I run the pox controller with the module of l2_learning, so I > have new flows and I have pings. > > How can I check the flows that are now added in the flow table? > > If you want to do it from within POX, send a flow stats request. There's > some info on the POX manual wiki: > > https://openflow.stanford.edu/display/ONL/POX+Wiki#POXWiki-Example-WebFlowStatistics > > That example filters them to only show ones on port 80, but obviously you > don't have to do that. There's also a further example in the third party > section. And POXDesk does this and displays them. > > If you want to do it from the commandline, look into ovs-ofctl. (Something > like ovs-ofctl show <switch-name>.) > > > I stop the POX controller and I still have pings,which means that the > flows are somewhere saved. I need to check this flows and furthermore to > modify them. > > Sure. By default, nothing in POX uninstalls them when it shuts down > (though you could make this happen). If I recall correctly, all the ones > from l2_learning have timeouts, so they'll expire eventually, but they'll > stick around until then. > > As mentioned above, look into ovs-ofctl. And also ovs-dpctl. Or write a > POX component to modify them how you want! > > -- Murphy > > > 2013/4/16 Kouvakas Alexandros <[email protected]> > > Hi, > > it's a bit irrelevant with pox mailing list but do you know how can I > create an overlay network with one node running OVS and some hosts that are > connected to the OVS through a subnet (let's say 192.168.3.1/24) without > running OVS on them. I mean, can I substitute the tunnel from the host to > the OVS with something else? > > > > > > 2013/4/12 Murphy McCauley <[email protected]> > > On Apr 12, 2013, at 2:30 AM, Kouvakas Alexandros wrote: > > > >> Note that only the SENDER (the OF switch) has the controller. By this I > mean that I run "ovs-vsctl set-controller" only on the SENDER node. > > > > So each machine is running OVS, but only one of the OVS instances is > connecting to a controller? In this case, you may be able to get them to > act as learning switches, but you can't program them from the controller, > which is going to prevent you from doing interesting path selection using > OpenFlow. If that's what you want to do, connect them to the controller > either via the controller's external IP (131.188.44.100), or by setting up > in-band control and having the control traffic go through your tunnels. > > > > -- Murphy > > > > > > > > -- > > Kouvakas Alexandros > > > > > > > > -- > > Kouvakas Alexandros > > > > > > > > -- > > Kouvakas Alexandros > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130429/88fe02c0/attachment-0001.htm > > > > ------------------------------ > > _______________________________________________ > pox-dev mailing list > [email protected] > http://lists.noxrepo.org/listinfo.cgi/pox-dev-noxrepo.org > > > End of pox-dev Digest, Vol 13, Issue 46 > *************************************** > -- *Regards Sayed Qaiser Ali Shah MSIT-12 NUST (SEECS)*
