stratum / fabric-tna

The SD-Fabric data plane
https://docs.sd-fabric.org/
31 stars 15 forks source link

How to find the source code or source file of the flows #534

Open 1760947562 opened 1 year ago

1760947562 commented 1 year ago

When the P4 switch and ONOS are successfully connected, this picture shows that ONOS has sent many flows to the switch. Where can I find the source files or source codes corresponding to these flows? and and where do these flows come from?

Dscano commented 1 year ago

Hi @1760947562,

Cna you please add the image?

1760947562 commented 1 year ago

---- Replied Message ---- | From | Davide @.> | | Date | 08/15/2023 17:25 | | To | stratum/fabric-tna @.> | | Cc | 1760947562 @.>, Mention @.> | | Subject | Re: [stratum/fabric-tna] How to find the source code or source file of the flows (Issue #534) |

Hi @1760947562,

Cna you please add the image?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

1760947562 commented 1 year ago

Hi @1760947562,

Cna you please add the image? flows

1760947562 commented 1 year ago

Hi @1760947562,

Cna you please add the image?

1760947562 commented 1 year ago

Hi @1760947562,

Cna you please add the image?

flows

Dscano commented 1 year ago

Here you have the P4 code https://github.com/stratum/fabric-tna/tree/main/p4src/tna/include/control Here is where the conrtrol plane app is implemented https://github.com/stratum/fabric-tna/tree/main/src/main/java/org/stratumproject/fabric/tna

Those flow rules are sent by the controller proactively, so you have to inspect the controller application to undestand how those flows are generated.