<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><div style="direction: ltr;"><br></div><div style="direction: ltr;">Thank you Murphy</div><div style="direction: ltr;">I tried it but it didn't work</div><div style="direction: ltr;">I noticed the flow-table concerted the 10 to hex "0x000a"</div><div style="direction: ltr;">Should I worry about this this.</div><div style="direction: ltr;"><br></div><div style="direction: ltr;">Best regards,</div><div style="direction: ltr;">Amer </div><br>Sent from my iPhone</div><div><div style="direction: rtl;"><br></div>On Nov 12, 2015, at 7:25 AM, Murphy McCauley <<a href="mailto:murphy.mccauley@gmail.com">murphy.mccauley@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span>I think you want match.vlan_tci = 10</span><br><span></span><br><span>On Nov 11, 2015, at 4:59 AM, Amer <<a href="mailto:amer7777@hotmail.com">amer7777@hotmail.com</a>> wrote:</span><br><span></span><br><blockquote type="cite"><span>Dear All</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>May you please provide me with an example of using VLAN under nicira flow_mod and match rule.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I received an error when I used it as the following:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>msg = nx.nx_flow_mod()</span><br></blockquote><blockquote type="cite"><span>msg.match.dl_vlan = 10 </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>"dl_vlan" works only with of_flow_mod()</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Best regards,</span><br></blockquote><blockquote type="cite"><span>Amer</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Sent from my iPhone</span><br></blockquote><span></span><br><span></span><br></div></blockquote></body></html>