During a flow POST request to the ONOS REST Apis the passed json file can contain in the criteria different objects. This is an example of a json file with alle the possible criterias.
{ "priority": 400000, "timeout": 0, "isPermanent": true, "deviceId": "of:0000000000000001", "treatment": { "instructions": [ { "type": "OUTPUT", "port": "CONTROLLER" } ] }, "selector": { "criteria": [ { "description1": "ETH_TYPE", "ethType": "0x88cc" }, { "description1": "ETH_TYPE", "ethType": "0x88cc" } ] } }