Open
Description
How to use Ryu restAPI to add stream entries to a switch?
for example:
curl -X POST -d '{
"dpid": 2,
"cookie": 1,
"cookie_mask": 1,
"table_id": 0,
"idle_timeout": 0,
"hard_timeout": 0,
"priority": 11111,
"flags": 1,
"match":{
"in_port":3,
"dl_dst":"00:00:00:00:00:01"
},
"actions":[
{
"type":"OUTPUT",
"port": 1
}
]
}' http://localhost:8080/stats/flowentry/add
In the example above, what format should the MAC address match be in? What went wrong?
Metadata
Metadata
Assignees
Labels
No labels