<commit_before>= Link State Routing Assignment =

This assignment will illustrate an important network routing strategy called Link State routing. In this assignment, Seattle nodes will take an initial connectivity map of nodes. They will then implement and run the Link State routing algorithm to build their routing tables.

This assignment consists of X steps and should take around Y minutes to complete. Let's begin!

----
[[TOC(inline)]]
----
[[BR]]
= Link State Routing Primer =
----


[[BR]]
== Step 1 : Building an initial connectivity map ==
----
Once you have acquired resources on the geni website, make a file containing the IP addresses of all the hosts you would like to include in the experiment, with one IP address per line. Then download, and run [[build_connectivity_map.py build_connectivity_map]] python script which will generate and output a list of IP pairs. You can then save this list to a file, and upload this file to all of your geni nodes in the experiment. Each Seattle host can then read this file on startup and connect to the hosts with which it is paired with.<commit_msg>Revision 4 of EducationalAssignments/LinkState<commit_after>= Link State Routing Assignment =

This assignment will illustrate an important network routing strategy called Link State routing. In this assignment, Seattle nodes will take an initial connectivity map of nodes. They will then implement and run the Link State routing algorithm to build their routing tables.

This assignment consists of X steps and should take around Y minutes to complete. Let's begin!

----
[[TOC(inline)]]
----
[[BR]]
= Link State Routing Primer =
----


[[BR]]
== Step 1 : Building an initial connectivity map ==
----
Once you have acquired resources on the geni website, make a file containing the IP addresses of all the hosts you would like to include in the experiment, with one IP address per line. Then download, and run [LinkStateAssignment:build_connectivity_map.py build_connectivity_map] python script which will generate and output a list of IP pairs. You can then save this list to a file, and upload this file to all of your geni nodes in the experiment. Each Seattle host can then read this file on startup and connect to the hosts with which it is paired with.
{'fraction_non_alphanumeric': 0.054697838553153945, 'fraction_numerical': 0.0013233348037053375, 'mean_word_length': 4.311475409836065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '508316', 'n_tokens_mistral': 537, 'n_tokens_neox': 510, 'n_words': 346}