X-Git-Url: https://git.josue.xyz/?p=vsorcdistro%2F.git;a=blobdiff_plain;f=scripts%2Fbasicflow.sh;h=4c5caed69a99ab98b055b1f93dc2e49bb6e16810;hp=0804e14d87783b836e7619a83aab3b0c075be21a;hb=73d89c910881fe6edea40a5eda3abc9fb6c776ca;hpb=3348aea2dc8f910222bfccc9c2d22d9bbc26b793 diff --git a/scripts/basicflow.sh b/scripts/basicflow.sh index 0804e14..4c5caed 100755 --- a/scripts/basicflow.sh +++ b/scripts/basicflow.sh @@ -12,13 +12,13 @@ echo "adding new flows entry to switches 1 and 2" curl -X POST -d '{ "dpid": 1, - "cookie": 1, - "cookie_mask": 1, + "cookie": 0, + "cookie_mask": 0, "table_id": 0, "idle_timeout": 0, "hard_timeout": 0, - "priority": 11111, - "flags": 1, + "priority": 1, + "flags": 0, "match":{ "in_port":1 }, @@ -32,13 +32,13 @@ curl -X POST -d '{ curl -X POST -d '{ "dpid": 1, - "cookie": 1, - "cookie_mask": 1, + "cookie": 0, + "cookie_mask": 0, "table_id": 0, "idle_timeout": 0, "hard_timeout": 0, - "priority": 22222, - "flags": 1, + "priority": 1, + "flags": 0, "match":{ "in_port":2 }, @@ -51,13 +51,13 @@ curl -X POST -d '{ }' http://localhost:8080/stats/flowentry/add curl -X POST -d '{ "dpid": 2, - "cookie": 1, - "cookie_mask": 1, + "cookie": 0, + "cookie_mask": 0, "table_id": 0, "idle_timeout": 0, "hard_timeout": 0, - "priority": 11111, - "flags": 1, + "priority": 1, + "flags": 0, "match":{ "in_port":2 }, @@ -71,13 +71,13 @@ curl -X POST -d '{ curl -X POST -d '{ "dpid": 2, - "cookie": 1, - "cookie_mask": 1, + "cookie": 0, + "cookie_mask": 0, "table_id": 0, "idle_timeout": 0, "hard_timeout": 0, - "priority": 22222, - "flags": 1, + "priority": 1, + "flags": 0, "match":{ "in_port":1 },