I would like some advice I am trying to solve a problem with traffic going through the switch. To do this I would like to see a detailed log to see how the switch is parsing traffic and understand what the problem is.
I read another issue and added the line "'-bmv2_log_level trace'," in stratum.py, then watched the log file /tmp/leaf1/stratum_bmv2.log
The resulting log is not detailed enough, in my opinion, maybe there is some other way?
I apologise for piling up all the questions:
Do I have the option of connecting to the CLI of the bmv2 switch?
Previously I used L2BridgingComponent.java for L2 forwarding and in this case, I could use ONOS to check the number of packets hitting the IngressPipeImpl.l2_exact_table. However, when I created a new table, I was faced with the need to add new entries using P4Runtime sh, in this case, I cannot see the added entries in ONOS and consequently the matches. Is this the correct behaviour?
Hello!
I would like some advice I am trying to solve a problem with traffic going through the switch. To do this I would like to see a detailed log to see how the switch is parsing traffic and understand what the problem is. I read another issue and added the line "'-bmv2_log_level trace'," in stratum.py, then watched the log file /tmp/leaf1/stratum_bmv2.log The resulting log is not detailed enough, in my opinion, maybe there is some other way?
I apologise for piling up all the questions:
Do I have the option of connecting to the CLI of the bmv2 switch?
Previously I used L2BridgingComponent.java for L2 forwarding and in this case, I could use ONOS to check the number of packets hitting the IngressPipeImpl.l2_exact_table. However, when I created a new table, I was faced with the need to add new entries using P4Runtime sh, in this case, I cannot see the added entries in ONOS and consequently the matches. Is this the correct behaviour?
Thank you very much!