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

Remove unnecessary text

parent 485dd6b5
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ A complete `balance_controller.py` will contain the following components:
6. A function to print information of an GRPC error (communication protocol)
called `printGrpcError`
7. A function to obtain the byte count of a counter on a switch called `getByteCounter`
8. **TODO** (needs finishing) A function that sets up the connection with the balancing
8. **TODO** A function that sets up the connection with the balancing
switch and install the initial rules called `setupBalancingSwitch`. You should call
the function `writeEcmpNextHopRules` to set the initial entries.
9. The main function that:
......
......@@ -114,8 +114,6 @@ def readTableRules(p4info_helper, sw):
for response in sw.ReadTableEntries():
for entity in response.entities:
entry = entity.table_entry
# TODO For extra credit, you can use the p4info_helper to translate
# the IDs in the entry to names
table_name = p4info_helper.get_tables_name(entry.table_id)
print('%s: ' % table_name, end=' ')
for m in entry.match:
......
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