One way, which may not be satisfactory, is to use "ovs-appctl ofproto/trace" to simulate a packet from the switch to the controller.
On Tue, Apr 18, 2017 at 03:39:24PM +0000, 蘇于倫 wrote: > Hi Farooq, > > Thanks for the comments. > > I use the command a lot. However, what I want to get is which ports the OVS > is using for hidden flow packet. > The actions of default hidden flows are NORMAL (ports) which do not provide > this info. > > If I got any misunderstanding, please kindly comment! > > Thanks > Ethan > > Farooq Basha <fasss.jut...@gmail.com> 於 2017年4月18日 週二 下午11:33寫道: > > > Please check the ovs hidden flows (Which are programmed by controller in > > in-band mode) using ovs-appctl bridge/dump-flows <bridge-name> command.It > > should have the openflow flows with high priority (>65535) with tcp port > > 6653 and also it has port info through which packets should sent/receive. > > > > On Tue, Apr 18, 2017 at 8:51 PM, 蘇于倫 <yulunsu.eed...@g2.nctu.edu.tw> > > wrote: > > > >> Hi everyone, > >> > >> I'd like to know if we can see which ports the OVS is using to connect to > >> controller in "in-band" mode? > >> > >> I use ovs-appctl fdb/show <bridge>, and get the following table > >> > >> port VLAN MAC Age > >> 2 0 00:0c:29:30:04:48 4 > >> 1 0 00:0c:29:c2:d1:42 0 > >> 1 0 00:0c:29:15:f5:00 0 > >> > >> Does it provide in-band control channel connection port info? > >> > >> > >> Regards, > >> Ethan > >> > >> _______________________________________________ > >> discuss mailing list > >> disc...@openvswitch.org > >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > >> > >> > > _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss