Details
-
Improvement
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
Description
When I pushed a particular flow entry using "addMDFlow openflow:1 f4" and request the flow using readConfigurationData() API, readOperationalData() API both the Flows are not matching. The fields like Flow id/values, FlowKey, _barrier=false, _cookieMask=10, _flowName=Bar etc. are either malformed or not present. This bug might affect VTN-2 as suggested by Michal Rehak.
I am using latest openflowplugin and OVSK switch with OF1.3
getAllControllerFlows: tableId= 4
getAllControllerFlows: flow= Flow [_id=Uri [_value=127], _key=FlowKey [_id=Uri [_value=127]], _barrier=false, _cookieMask=10, _flags=FlowModFlags [_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=true], _flowName=Bar, _installHw=false, _instructions=Instructions [_instruction=[Instruction [_key=InstructionKey [], _instruction=ApplyActionsCase [_applyActions=ApplyActions [_action=[Action [_key=ActionKey [], _action=DropActionCase [_dropAction=DropAction [augmentation=[]], augmentation=[]], augmentation=[]]], augmentation=[]], augmentation=[]], augmentation=[]]], augmentation=[]], _match=Match [_ethernetMatch=EthernetMatch [_ethernetDestination=EthernetDestination [_address=MacAddress [_value=ff:ff:ff:ff:ff:ff], _mask=MacAddress [_value=ff:ff:ff:00:00:00], augmentation=[]], _ethernetSource=EthernetSource [_address=MacAddress [_value=00:00:00:00:23:ae], _mask=MacAddress [_value=ff:ff:00:00:00:00], augmentation=[]], _ethernetType=EthernetType [_type=EtherType [_value=2048], augmentation=[]], augmentation=[]], augmentation=[]], _strict=false, _cookie=10, _hardTimeout=0, _idleTimeout=0, _priority=2, _tableId=4, augmentation=[]]
getAllSwitchFlows: tableId= 4
getAllSwitchFlows: flow= Flow [_id=Uri _value=#UF$TABLE*4*2, _key=FlowKey _id=Uri [_value=#UF$TABLE*4*2], augmentation=[FlowStatisticsData [_flowStatistics=FlowStatistics [_byteCount=Counter64 [_value=0], _packetCount=Counter64 [_value=0], _duration=Duration [_nanosecond=Counter32 [_value=707000000], _second=Counter32 [_value=722], augmentation=[]], _flags=FlowModFlags [_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=true], _instructions=Instructions [_instruction=[], augmentation=[]], _match=Match [_ethernetMatch=EthernetMatch [_ethernetDestination=EthernetDestination [_address=MacAddress [_value=FF:FF:FF:00:00:00], augmentation=[]], _ethernetSource=EthernetSource [_address=MacAddress [_value=00:00:00:00:00:00], augmentation=[]], _ethernetType=EthernetType [_type=EtherType [_value=2048], augmentation=[]], augmentation=[]], augmentation=[]], _cookie=10, _hardTimeout=0, _idleTimeout=0, _priority=2, _tableId=4, augmentation=[]]]]]