Skip to content
Snippets Groups Projects
Commit 30f68521 authored by Djojomoenawie, N.E. (Nathan, Student M-CS)'s avatar Djojomoenawie, N.E. (Nathan, Student M-CS) :speech_balloon:
Browse files

Clarify what the next hop table should look like

parent d55a277c
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ A complete `balance_controller.py` will contain the following components:
1. **TODO** A function that writes the ecmp group values called `writeEcmpGroupValues`
2. **TODO** A function that writes the next hop rules called `writeEcmpNextHopRules`.
This function will:
1. Create a total of `NHOP_TABLE_ENTRIES` (default 100) table entries, divided over the two links according to the provided division in `entry_amounts`
1. Create a total of `NHOP_TABLE_ENTRIES` table entries (default 100). There should be an entry for each value that the key can have. Each entry has to point to one of the links. The division of links should be according to `entry_amounts`.
2. Write the table entries to the switch using the provided `update_type`.
This is because we need to specify that we are doing a `MODIFY` operation
when changing the table entries instead of inserting them.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment