Hello ryu-devel-mailinglist,

I use Mininet with a custom topology and the RYU-REST controller 
"ofctl-rest.py". After installing some flowentries in the switches, 
sending some packets over the network and capturing traffic I recognize 
that the switches do not decrease the ttl - field in the ip - layer. I 
figure out that i have to tell the switches to decrease the ttl field 
(this is possible since OpenFlow - version 1.1). To do so I try the line 
"type": "DEC_NW_TTL", but it does not work. My compleate command look 
like this:

curl -X POST -d '{
     "dpid": 1,
     "cookie": 1,
     "cookie_mask": 1,
     "table_id": 0,
     "idle_timeout": 3600,
     "hard_timeout": 3600,
     "priority": 0,
     "flags": 1,
     "match":{
         "in_port": 1
     },
     "actions":[
         {
             "type":"OUTPUT",
             "port": 4,
             "type":"DEC_NW_TTL"
         }
     ]
  }' http://localhost:8080/stats/flowentry/add

What do I wrong? How do I have to modify the comand to let the switch 
reduce ttl? Please help me.
Thank you in advance.

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to