Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
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>
- s1 ------------------------------------------------------------------------
-