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

Unable to push flows to OVS via RESTCONF

    XMLWordPrintable

Details

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

    • 936

    Description

      Since the new Datastore was made default unable to push flows to OVS.

      Start mininet
      sudo mn --controller=remote,ip=192.168.68.1 --topo tree,2 --switch ovsk,protocols=OpenFlow13

      Push flow via RESTConf. http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <flow xmlns="urn:opendaylight:flow:inventory">
      <strict>false</strict>
      <instructions>
      <instruction>
      <order>0</order>
      <apply-actions>
      <action>
      <order>0</order>
      <dec-nw-ttl/>
      </action>
      </apply-actions>
      </instruction>
      </instructions>
      <table_id>2</table_id>
      <id>124</id>
      <cookie_mask>255</cookie_mask>
      <installHw>true</installHw>
      <match>
      <ethernet-match>
      <ethernet-type>
      <type>2048</type>
      </ethernet-type>
      </ethernet-match>
      <ipv4-destination>10.0.1.0/24</ipv4-destination>
      </match>
      <hard-timeout>120</hard-timeout>
      <flags>FlowModFlags [_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false]</flags>
      <cookie>1</cookie>
      <idle-timeout>34</idle-timeout>
      <flow-name>FooXf1</flow-name>
      <priority>2</priority>
      <barrier>false</barrier>
      </flow>

      Can see flow via RESTConf
      http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124

      But when checking out the flows in OVS i'm unable to see the flow
      mininet> dpctl dump-flows -O OpenFlow13

          • s1 ------------------------------------------------------------------------
            OFPST_FLOW reply (OF1.3) (xid=0x2):
          • s2 ------------------------------------------------------------------------
            OFPST_FLOW reply (OF1.3) (xid=0x2):
          • s3 ------------------------------------------------------------------------
            OFPST_FLOW reply (OF1.3) (xid=0x2):
            mininet>

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            christopher.o.shea@ericsson.com Christopher O'Shea
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: