Skip to content

Instantly share code, notes, and snippets.

@jacyzon
Created November 25, 2015 08:43
Show Gist options
  • Save jacyzon/11d6b40c2a3956d02341 to your computer and use it in GitHub Desktop.
Save jacyzon/11d6b40c2a3956d02341 to your computer and use it in GitHub Desktop.
localhost:8080/stats/flowentry/add
{
"dpid": 1,
"table_id": 0,
"priority": 10000,
"match":{
"in_port": 3
},
"actions":[
{
"type": "SET_NW_SRC",
"nw_src": "192.168.1.123"
},
{
"type":"OUTPUT",
"port": 3
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment