Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use cli for resubmit_recirculate example? #47

Open
ku3nsting opened this issue Sep 12, 2023 · 1 comment
Open

How to use cli for resubmit_recirculate example? #47

ku3nsting opened this issue Sep 12, 2023 · 1 comment

Comments

@ku3nsting
Copy link

ku3nsting commented Sep 12, 2023

Hi,
I'm running the resubmit_recirculate example to understand the difference between resubmit and recirculate -- at the bottom of the readme it says the following:

By default, `send.py` transmits packets with *Identification* field set to 255.

To read the state of `recirculate_register` we can use the cli:

RuntimeCmd: register_read MyEgress.recirculate_register

Which cli is it referring to, and how do I send this RuntimeCmd?

@Tay-13
Copy link

Tay-13 commented Oct 23, 2023

Hi, if still needed, you can run the command by the following steps:

  1. open one terminal, and input the command
    $ sudo python3 network_resubmit.py
  2. After Starting CLI, open another terminal, and input
    simple_switch_CLI --thrift-port 9090

Then, you can use the cli RuntimeCmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants