<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    <div class="moz-cite-prefix">On 12/30/2018 10:57 AM, Hoàng Công
      Phước wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAC4zCiMVaE0a5GbhcDQfMO0ktb8nM6uX2a=iZ93HYMFuYEiL+g@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">Hi folks,</div>
                <div dir="ltr"><br>
                </div>
                <div>I am using Open vSwitch to create service function
                  chain with NSH (network service header) enabled.
                  However, I have a bug when I add new flow rule to
                  bridge. Here are my command to add flow rule manually:</div>
                <div>$ sudo ovs-ofctl add-flow br-int "table=0,
                  tcp,in_port=11,nw_src=10.10.0.8,nw_dst=<a
                    href="http://10.10.0.0/24,tp_dst=1024"
                    moz-do-not-send="true">10.10.0.0/24,tp_dst=1024</a>
actions=encap(nsh(md_type=1)),set_field:0x33-&gt;nsh_spi,set_field:255-&gt;nsh_si,encap(ethernet),group:1"</div>
                <div><br>
                </div>
                <div>As the error log, it shown: bad action at offset 0
                  (OFPBAC_BAD_VENDOR_TYPE). More detail in this link: <a
                    href="http://paste.openstack.org/show/739456"
                    moz-do-not-send="true">http://paste.openstack.org/show/739456</a>.</div>
                <div><br>
                </div>
                <div>My Open vSwitch environment: ovs-vswitchd (Open
                  vSwitch) 2.9.0. As I known, NSH feature was already
                  merged into master branch of Open vSwitch in version
                  2.9.0. I want to known what I should do to fix that
                  issue or . I hope someone can help me about it. Thank
                  in advance.</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    There's been bug fixes for NSH since 2.9.0, you should get the
    latest version which is 2.9.3 if I'm not mistaken.<br>
    <br>
    - Greg<br>
    <br>
    <blockquote type="cite"
cite="mid:CAC4zCiMVaE0a5GbhcDQfMO0ktb8nM6uX2a=iZ93HYMFuYEiL+g@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div><br>
                </div>
                <div>Best regards,</div>
                <div>Phuoc Hoang Cong</div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:discuss@openvswitch.org">discuss@openvswitch.org</a>
<a class="moz-txt-link-freetext" href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>