Hi Tomas,

You can try the below values for ct_state/ct_mask

0x21 / 0x21 (+trk+new)
0x22 / 0x37 (+trk+est)

Thanks
Aswin

On Tue, Jan 10, 2017 at 8:03 PM, Tomáš Slušný <[email protected]>
wrote:

> Hi Somashekar,
>
> We are trying to reproduce your issue, we was not able to succesfully add
> flow with ct_state match, because we do not know what to put
> into ct_state and mask fields when adding flow via RPC. Can you send us
> example of mentioned values so we will be able to reproduce it?
>
> Thanks,
> Tomas
>
> ________________________________________
> Od: Somashekar B [[email protected]]
> Odoslané: 5. januára 2017 16:23
> Komu: 'openflowplugin-dev'
> Kópia: [email protected]
> Predmet: [openflowplugin-dev] RPC       
> opendaylight-direct-statistics:get-flow-statistics
> not working
>
> Hi,
>
> I am trying RPC opendaylight-direct-statistics:get-flow-statistics to get
> statistics for below flows
>
> cookie=0x6900000, duration=10169.451s, table=41, n_packets=4, n_bytes=300,
> priority=62020,ct_state=+inv+trk actions=drop
> cookie=0x6900000, duration=10169.456s, table=41, n_packets=0, n_bytes=0,
> priority=50,ct_state=+new+trk actions=drop
>
> JSON input below:
> {
>   "input": {
>     "node":  "/opendaylight-inventory:nodes/opendaylight-inventory:
> node[opendaylight-inventory:id='openflow:9114073057828']",
>     "table_id": "41",
>     "store-stats": "true"
>   }
> }
>
> If the flows doesn’t have “ct_state” in the match field, it works fine.
> But with the above flows, RPC results in exception as shown below (Complete
> exception attached in the mail).
> I feel this is related to nicira extensions. It fails to serialize flows
> which has nicira extensions.
> Please help in fixing this issue.
>
> ---------------------------
> 2017-01-04 16:21:03,041 | ERROR | qtp463448082-512 | ContainerResponse
>             | 97 - com.sun.jersey.jersey-server - 1.17.0 | The
> RuntimeException could not be mapped to a response, re-throwing to the HTTP
> container
> org.opendaylight.yangtools.binding.data.codec.impl.IncorrectNestingException:
> Child interface org.opendaylight.yang.gen.v1.urn.opendaylight.
> openflowplugin.extension.general.rev140714.GeneralAugMatchNotifUpdateFlowStats
> is not valid child.
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> IncorrectNestingException.create(IncorrectNestingException.java:28)
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:180)
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> DataObjectCodecContext.streamChild(DataObjectCodecContext.java:143)
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> BindingToNormalizedStreamWriter.enter(BindingToNormalizedStreamWrite
> r.java:74)
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> BindingToNormalizedStreamWriter.startAugmentationNode(
> BindingToNormalizedStreamWriter.java:139)
>        at org.opendaylight.yang.gen.v1.urn.opendaylight.
> openflowplugin.extension.general.rev140714.GeneralAugMatchNotifUpdateFlow
> Stats$StreamWriter.serialize(DataObjectSerializerPrototype.java)
>        at org.opendaylight.yangtools.binding.data.codec.impl.
> BindingNormalizedNodeCodecRegistry$DataObjectSerializerProxy.serialize(
> BindingNormalizedNodeCodecRegistry.java:295)
> --------------------------
>
> Thanks,
> Somashekar
>
> TomášSlušný
> Software Developer
>
> Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia
> R&D centrum / Janka Kráľa 9 /  974 01 Banská Bystrica / Slovakia
> +421 911 083 902 / [email protected]
> reception: +421 2 206 65 114 / www.pantheon.tech
>
> [logo]
>
>
> _______________________________________________
> netvirt-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/netvirt-dev
>
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to