Edison Albuquerque
2017-07-09 00:31:04 UTC
Hi.
I wrote a simple code to send a packet through the switch.
I caught the switch datapath from FeaturesReply message and from datapath I
found the ofproto and parser, which is openflow 1.3;
But when I print the message the controller is sending out, the common
header shows None to all it's fields as follows:
printing:
out = parser.OFPPacketOut(datapath=datapath, buffer_id=buffer_id,
in_port=in_port, actions=actions, data=None)
shows:
version=None,msg_type=None,msg_len=None,xid=None,OFPPacketOut(actions=[OFPActionOutput(len=16,max_len=65509,port=3,type=0)],actions_len=0,buffer_id=4294967295,data=None,in_port=1)
Please help me understand why is that.
Tks, Edison.
--
*Todos querem um mundo melhor. Poucos colaboram.*
Prof. Edison de Queiroz Albuquerque, BSc, Msc, Dr.
Adjunto da Escola Politécnica de Pernambuco, Universidade de Pernambuco
(POLI/UPE)
Professor do Curso de Engenharia de Computação
LÃder do Grupo de Pesquisa em Protocolos de Redes de Computadores
Membro do IEEE (ComSoc), do SBrT, do IECOM e da APEET
Universidade de Pernambuco/Escola Politécnica de Pernambuco
Rua Benfica, 455 (Bl. 'C' 2. andar) - Bairro: Madalena
CEP 50720-001 - Recife, Pernambuco - Brasil
Fone: +55 81 3184-7542 - Fax: +55 81 3184-7581
I wrote a simple code to send a packet through the switch.
I caught the switch datapath from FeaturesReply message and from datapath I
found the ofproto and parser, which is openflow 1.3;
But when I print the message the controller is sending out, the common
header shows None to all it's fields as follows:
printing:
out = parser.OFPPacketOut(datapath=datapath, buffer_id=buffer_id,
in_port=in_port, actions=actions, data=None)
shows:
version=None,msg_type=None,msg_len=None,xid=None,OFPPacketOut(actions=[OFPActionOutput(len=16,max_len=65509,port=3,type=0)],actions_len=0,buffer_id=4294967295,data=None,in_port=1)
Please help me understand why is that.
Tks, Edison.
--
*Todos querem um mundo melhor. Poucos colaboram.*
Prof. Edison de Queiroz Albuquerque, BSc, Msc, Dr.
Adjunto da Escola Politécnica de Pernambuco, Universidade de Pernambuco
(POLI/UPE)
Professor do Curso de Engenharia de Computação
LÃder do Grupo de Pesquisa em Protocolos de Redes de Computadores
Membro do IEEE (ComSoc), do SBrT, do IECOM e da APEET
Universidade de Pernambuco/Escola Politécnica de Pernambuco
Rua Benfica, 455 (Bl. 'C' 2. andar) - Bairro: Madalena
CEP 50720-001 - Recife, Pernambuco - Brasil
Fone: +55 81 3184-7542 - Fax: +55 81 3184-7581