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

Margin Hu jhu_com at qq.com
Fri Jun 23 05:37:30 UTC 2017


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,OFPFlowMod(buffer_id=4294967295,command=0,cookie=9477051674213136541L,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-packages/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.






-- 
---------------------------------------------
Margin Hu
Love open source software
mail:    jhu_com at qq.com
github: http://www.github.com/todaygood
---------------------------------------------






More information about the discuss mailing list