Hi,

On 2015年01月09日 21:52, Finze, Robert wrote:
> Thanks Vilius,
> 
> that's quit unfortunate. This means I can either use OF1.3 actions or
> OF1.0 actions. And I was really starting to like Ryu...
> 
> Well for my initial tests that should still be enough.
> 
> Is there anyone working on implementing the missing actions for OF1.2+?

Action is not missing.
Only how realization has been changed in OF1.2+.

OFspec1.2 Says:
  B.10.2 Extensible 'set field' packet rewriting support
  Prior versions of the OpenFlow specification were using
  hand-crafted actions to rewrite header fields.The Extensible
  set_field action reuses the OXM encoding defined for
  matches, and enables to rewrite any header field in a single action.

>> I've tried to add a "SET_VLAN_VID" action and the switch (mininet) doesn't
>> accept it.

For example, if you want to register the flow to be rewritten from the vid = 
100 to vid = 203, and then run the curl as follows.

$ curl -X POST -d '{"dpid": 1, "actions":[{"type":"SET_FIELD", 
"field":"vlan_vid", "value": 4299},{"type": "OUTPUT", "port": 2}], 
"match":{"vlan_vid": 4196}}' http://localhost:8080/stats/flowentry/add


> Or where would one start to look for code?
> 
> 
> On 09.01.2015 13:04, Vilius Palubinskas wrote:
>> Hi,
>>
>> Unfortunately you cannot use OF1.0 messages on OF1.3 only switch. Unless
>> your switch or controller will downgrade OF version to version what is
>> supported by switch and controller.
>>
>> Regards,
>>  Vilius.
>>
>> -----Original Message-----
>> From: Finze, Robert [mailto:[email protected]] 
>> Sent: Friday, January 9, 2015 1:26 PM
>> To: [email protected]
>> Subject: [Ryu-devel] OF1.0 and OF1.2+ Actions
>>
>> Hi,
>>
>> I'm new in the SDN world and am currently working on my first Apps.
>>
>> In the docu (
>> http://ryu.readthedocs.org/en/latest/app/ofctl_rest.html#description-of-matc
>> h-and-actions
>> ) there is a list of OF1.0 actions and one for OF1.2+ actions.
>>
>> My question is if these lists are exclusive or can I use the OF1.0 actions
>> when running OF1.3?
>>
>> I've tried to add a "SET_VLAN_VID" action and the switch (mininet) doesn't
>> accept it. It installs the flow without any action. The actions from the
>> OF1.2+ list work fine however.
>> Would be really nice to also use the older actions.
>>
>>
>> Thanks!
>>
>> ----------------------------------------------------------------------------
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to