-
Notifications
You must be signed in to change notification settings - Fork 31
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
ERROR: not enough fields provided to complete _hexify() #56
Comments
Hi, I have been trapped with this problem too, have you solved this problem now? |
HI @happyPisces, I haven't solve it yet, but I discover that If I comment on one of the lines below, it works. I don't know why this is happening.
Tell me if it works for you. And if you find out the cause of this behavior, please, tell me too. |
HI @guimvmatos , |
We solved the problem by fixing our command.txt,
The wrong command.txt is as follows:
table_cam_add_entry forward set_output_port 0b0000 => 0b00000001
table_cam_add_entry forward set_to_cpu 0b0001 =>
The correct command.txt is as follows:
table_cam_add_entry forward set_output_port 0b0000 => 0b00000001
table_cam_add_entry forward set_to_cpu 0b0001 => 0b00000010
I think the number of ancitons in command.txt should match the number of acrtions in table,
So you should add one more tcam entry whose action is srv6_t_insert_3, or you can circumvent this problem by commenting srv6_t_insert_3 in your table just as you did before.
|
This problem i have solved. You should add some zero in your commands.txt. i.e. |
Hi,
I'm trying to add an entry on a ternary table, but i'm getting this error:
ERROR: not enough fields provided to complete _hexify()
But, I think I'm doing everything right. Can anybody tell me what's wrong?
I'm using
python sw/CLI/P4_SWITCH_CLI.py
to add entries. I've tryed with the lines below:This is my table:
And my action:
The TEID field has 32 bits lenght
The text was updated successfully, but these errors were encountered: