Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-37

Unable to execute some actions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: Linux
      Platform: PC

    • 327

    Description

      Was able to PUT/GET successfuly (seeing 200 OK) the xml file for push-mpls-action (and set-dl-src-action, set-dl-dst-action, set-vlan-id-action).

      But we are unable to see flows on the switch.
      mininet@mininet-vm:~/odl_testing/xmls$ sudo ovs-ofctl -O OpenFlow13 dump-flows s1
      OFPST_FLOW reply (OF1.3) (xid=0x2):
      mininet@mininet-vm:~/odl_testing/xmls$

      RESTCONF
      http://192.168.56.103:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/248

      Using below XML:
      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <flow xmlns="urn:opendaylight:flow:inventory">
      <strict>false</strict>
      <flow-name>FooXf248</flow-name>
      <id>248</id>
      <cookie_mask>255</cookie_mask>
      <cookie>889</cookie>
      <table_id>2</table_id>
      <priority>8</priority>
      <hard-timeout>1200</hard-timeout>
      <idle-timeout>3400</idle-timeout>
      <installHw>false</installHw>
      <instructions>
      <instruction>
      <order>0</order>
      <apply-actions>
      <action>
      <order>0</order>
      <push-mpls-action>
      <ethernet-type>34888</ethernet-type>
      </push-mpls-action>
      </action>
      </apply-actions>
      </instruction>
      </instructions>
      <match>
      <ethernet-match>
      <ethernet-type>
      <type>2048</type>
      </ethernet-type>
      <ethernet-destination>
      <address>20:14:29:01:19:61</address>
      </ethernet-destination>
      <ethernet-source>
      <address>00:00:00:11:23:ae</address>
      </ethernet-source>
      </ethernet-match>
      <ipv4-source>19.1.2.3/10</ipv4-source>
      <ipv4-destination>172.168.5.6/18</ipv4-destination>
      <ip-match>
      <ip-protocol>17</ip-protocol>
      <ip-dscp>8</ip-dscp>
      <ip-ecn>3</ip-ecn>
      </ip-match>
      <udp-source-port>25364</udp-source-port>
      <udp-destination-port>8080</udp-destination-port>
      <in-port>0</in-port>
      </match>
      </flow>

      Please let us know if you need more information.

      Attachments

        1. f113.xml
          1 kB
        2. f120.xml
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gaurav.bhagwani@ericsson.com Gaurav Bhagwani
            praveen_recker@sify.com Praveen Darshanam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: