Dears Colleagues,
After am reading the simple_switch_13.py application , I have some notes and
I have some miss understanding point , please if you can help me to get full
idea about what happen in this application .
In the application:
There are two type of message the application deal with it :
1- Switch features message
2- Packet in message
By the way the event is corresponding with the message.
The switch features message is first message after handshake occur between
controller and OpenFlow switch.
The function used in switch feature message is :
def switch_features_handler(self,ev)
msg = ev.msg
datapath = msg.datapath
ofproto = datapath.ofprot
parser = datapath.openflow_parser
my notes :
is the ev content multiple thing ? so we need only the message inside ev ?
therefor we save the message inside ev to msg ?
msg = I think it is the message exchange between open flow switch and
controller.
Is the msg content multiple thing ? so we need only the datapath inside msg
? therefor we save the datapath inside msg to datapath ?
datapath = I think it is the open flow switch id that send the message
Is the datapath content multiple thing ? so we need only the ofproto inside
datapath ? therefor we save the ofprot inside datapath to ofproto ?
Ofproto = I think it is the open flow protocol type such as open flow 1.0 or
open flow 1.3
I do not what mean by parser ? and what is function , if know please told me
.
Parser = ?
Am I right? , please told me if am I right or not ?
Best Regards
Munther Numan
Master Student
Faculty of Engineering
University Putra Malaysia
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel