The documentation for the JSON to add a selector in the flow API looks like this:
But a selector is actually a collection of criterion, so adding a selector with multiple criterion should look more like this:
I tried to play around with the swagger to get it to display example JSON like this, but it seems tricky to show a list of hetrogenous element (as opposed to one example element when the list is homogenous) with Swagger.
Can someone with more expertise here take a look?
|8149,2||ONOS-4114 Flows Post has example of criteria, swagger shows link to wiki page with full json criteria||master||onos||Status: MERGED||+2||+1|