Hi Edison,
AFAIK, on standard OpenFlow Spec, there is no available action to send-back
packets from group table
to flow table.
OpenFlow Spec 1.3.5 says:
===
5.6 Group Table
===
...(snip)..., a bucket with no output or group action effectively drops the
clone of
the packet associated with that bucket.
===
OTOH, with Open vSwitch, it might be able to use NXActionResubmitTable.
Could you try this action?
http://ryu.readthedocs.io/en/latest/nicira_ext_ref.html#ryu.ofproto.ofproto_v1_3_parser.NXActionResubmitTable
e.g.)
actions = [parser.NXActionResubmitTable(table_id=1)]
buckets = [parser.OFPBucket(actions=actions)]
Thanks,
Iwase
On 2017年06月26日 18:54, Edison Albuquerque wrote:
Hi Iwase.
Thanks for helping me out.
According to the figure below I understood that I can send the packet from one flow table to the
group table.That's easy.
My problem is when I have to send the packet from one group table to another flow table in the pipe
line.
Best regards, Edison.
Imagem inline 1
2017-06-25 21:27 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>:
Hi Edison,
Sorry, I misunderstood.
On 2017年06月24日 01:21, Edison Albuquerque wrote:
It's a single switch with more than one FlowTable.
Consider that I need to insert a group (with it's buckets) after
Table_id = 0 and Table_id = 1.
You want to insert the same group entry into table:1 and table:2, right?
To insert a flow into the specified table (which has table_id), please add
"table_id" argument
to FlowMod class.
e.g.)
# insert into Table_id = 0
mod = parser.OFPFlowMod(
datapath=datapath,
table_id=0, # Table ID which you want to insert your flow into
...
instructions=instructions) # instructions include your group
action
datapath.send_msg(mod)
# insert into Table_id = 1
mod = parser.OFPFlowMod(
datapath=datapath,
table_id=1, # Table ID which you want to insert your flow into
...
instructions=instructions) # Note: the same "instructions"
instance can be reused.
datapath.send_msg(mod)
Thanks,
Iwase
Sorry if my English isn't good enough to provide a crystal clear
question.
Bests.
Edison.
2017-06-22 21:00 GMT-03:00 Iwase Yusuke <iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com> <mailto:iwase.yusu...@gmail.com
<mailto:iwase.yusu...@gmail.com>>>:
Hi Edison,
On 2017年06月22日 19:03, Edison Albuquerque wrote:
> Hi.
> I'd like to learn how to insert a group between two flowtables.
What does "between two flowtables" exactly mean?
You mean "how to insert the same group action into two OpenFlow
switches"?
Or, "how to insert the same group entry into two OpenFlow
switches"?
Thanks,
Iwase
> Thanks.
> 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 <tel:%2B55%2081%203184-7542>
<tel:%2B55%2081%203184-7542> -
Fax: +55 81 3184-7581 <tel:%2B55%2081%203184-7581>
<tel:%2B55%2081%203184-7581>
>
>
>
>
------------------------------------------------------------------------------
> 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
<mailto:Ryu-devel@lists.sourceforge.net>
<mailto:Ryu-devel@lists.sourceforge.net
<mailto:Ryu-devel@lists.sourceforge.net>>
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
<https://lists.sourceforge.net/lists/listinfo/ryu-devel>
<https://lists.sourceforge.net/lists/listinfo/ryu-devel
<https://lists.sourceforge.net/lists/listinfo/ryu-devel>>
>
--
/_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 <tel:%2B55%2081%203184-7542> - Fax: +55 81
3184-7581
<tel:%2B55%2081%203184-7581>
------------------------------------------------------------------------------
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 <mailto:Ryu-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ryu-devel
<https://lists.sourceforge.net/lists/listinfo/ryu-devel>
--
/_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
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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