[ovs-discuss] how to understand ofctl request msg ?

Kevin Benton blak111 at gmail.com
Fri Jun 23 08:26:31 UTC 2017


Yeah, this seems like a pretty important gap in the Neutron debug logs.

If you are up for submitting a patch to neutron, you would want to include
self.br_name here: https://github.com/openstack/neutron/blob/
7078a5d8ea8d81d7a6d0bb554997d95e46362f16/neutron/plugins/
ml2/drivers/openvswitch/agent/openflow/native/ofswitch.py#L95-L96

On Fri, Jun 23, 2017 at 1:21 AM, Ben Pfaff <blp at ovn.org> wrote:

> On Fri, Jun 23, 2017 at 01:37:30PM +0800, Margin Hu wrote:
> > Hi Guys,
> >
> > Now I met an issue about neutron and openvswitch,  how to understand
> ofctl
> > request msg like as following ?
> >
> > 2017-06-23 06:21:12.783 7 DEBUG
> > neutron.plugins.ml2.drivers.openvswitch.agent.openflow.native.ofswitch
> > [req-381c7dde-6c3d-4e3b-af32-ae20c75f59d9 - - - - -] ofctl request
> version=0x4,msg_type=0xe,msg_len=0x68,xid=0xd791e92,OFPFlowM
> od(buffer_id=4294967295,command=0,cookie=9477051674213
> 136541L,cookie_mask=0,flags=0,hard_timeout=0,idle_timeout=0,
> instructions=[OFPInstructionActions(actions=[
> OFPActionPopVlan(len=8,type=18), OFPActionOutput(len=16,max_len
> =0,port=4294967290,type=0)],len=32,type=4)],match=OFPMatch
> (oxm_fields={'in_port':
> > 2, 'vlan_vid': 4098}),out_group=0,out_port=0,priority=4,table_id=0)
> result
> > None _send_msg /usr/lib/python2.7/site-packag
> es/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/
> native/ofswitch.py:93
> >
> >  command=0  mean "add flow rule" , I want to know which bridge this
> request
> > is sent to.
>
> The log message doesn't say.
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>



-- 
Kevin Benton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170623/cbc5392b/attachment-0001.html>


More information about the discuss mailing list