Thank you for reply! I would like to know what host is the sender of packet and 
what is the destination.

For example:

I launch h1 ping h2 (I have only switch, s1).

I would like to have:
-source: 00:00:00:00:00:01 (h1)
-dest: 00:00:00:00:00:02 (h2)

I don't care ports. Is there possibility to obtain those data?

Thanks

Inviato da iPhone

Il giorno 02/ago/2017, alle ore 03:06, "Fujimoto Satoshi" 
<satoshi.fujimo...@gmail.com<mailto:satoshi.fujimo...@gmail.com>> ha scritto:

Hi, Nicholas

What you want to know is the meanings of these field in 'Add a flow entry' API, 
right?
        http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#add-a-flow-entry

'in_port' is used in 'match' field. It specifies an incoming port.
If 'in_port' is specified to 2, the flow matches the packet which comes from 
port 2.

And 'OUTPUT' action is simply to send a packet from specific port.
If 'OUTPUT: 2' is specified in 'action' field, the matched packet will be sent 
from port 2.

These are defined in 'A.2.3.7 Flow Match Fields' and 'A.2.5 Action Structures' 
in OpenFlow Spec:
        
https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.3.1.pdf


Sorry, I could not make clear what "host destination" and "host sender" are 
referring to.
Did you see these word in Ryu documentation or any other document?


Thanks,
Fujimoto

On 2017年08月01日 18:01, Nicholas Brasini wrote:

Hi guys! I don't understand what means the field 'actions: OUTPUT' and 
'in_port' in REST Ryu. I would like to know what is the host destination and 
the host sender. Thank a lot!


Nicholas



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net<mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to