Re: [Ryu-devel] Error when add a flow entry

2016-02-02 Thread Minoru TAKAHASHI
Hi, I think, the connection with the controller may have gone wrong. For example, ofctl_rest (ryu/app/ofctl_rest.py) app start-up already? > curl -X POST -d '{"dpid": "7", "match": {"ip_dscp": "46"}, And, OFspec1.3says that OXM_OF_IP_DSCP is allowed only if it is preceded by another entry with E

[Ryu-devel] Error when add a flow entry

2016-02-02 Thread Le Tran Duc
Hello, I am trying to add a flow entry to a switch with following command: curl -X POST -d '{"dpid": "7", "match": {"ip_dscp": "46"}, "actions": [{"type": "OUTPUT "," port ":" 4 "}]} ' http://localhost:8080/stats/flowentry/add I just want to send the packets that have ip_dscp =46 to the out_port