{"id":15622407,"url":"https://github.com/nklapste/a2sdn","last_synced_at":"2025-07-23T05:35:45.378Z","repository":{"id":86657267,"uuid":"152434642","full_name":"nklapste/a2sdn","owner":"nklapste","description":"CMPUT 379 Assignment 2","archived":false,"fork":false,"pushed_at":"2018-11-22T15:49:20.000Z","size":1001,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T16:27:08.204Z","etag":null,"topics":["cpp","university-course"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nklapste.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-10T14:11:55.000Z","updated_at":"2018-11-22T15:49:22.000Z","dependencies_parsed_at":"2023-03-13T19:55:15.258Z","dependency_job_id":null,"html_url":"https://github.com/nklapste/a2sdn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nklapste/a2sdn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklapste%2Fa2sdn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklapste%2Fa2sdn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklapste%2Fa2sdn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklapste%2Fa2sdn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nklapste","download_url":"https://codeload.github.com/nklapste/a2sdn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklapste%2Fa2sdn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266624971,"owners_count":23958304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","university-course"],"created_at":"2024-10-03T09:53:50.457Z","updated_at":"2025-07-23T05:35:45.331Z","avatar_url":"https://github.com/nklapste.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a2sdn\n\nCMPUT 379 Assignment 2\n\n## Description\nA c++ program that implements the transactions performed by a simple linear SDN. \n\n### Controller Mode\nThe program can be invoked as a controller using `a2sdn cont nSwitch` where `cont`\nis a reserved word, and `nSwitch` specifies the number of switches in the network \n(at `mostMAXNSW=7` switches). \n\n### Switch Mode\nThe program can also be invoked as a switch using \n`a2sdn swi trafficFile [null|swj] [null|swk] IPlow-IPhigh`. In this form, the \nprogram simulates switch `swi` by processing traffic read from file `trafficFile`.\nPort 1 and port 2 of `swi` are connected to switches `swj` and `swk`, respectively. \nEither, or both, of these two switches may be `null`. Switch `swi` handles traffic\nfromhosts in the IP range `[IPlow-IPhigh]`. \n\n### Other Requirements\nEach IP address is `≤MAXIP(= 1000)`.\n\nData transmissions among the switches and the controller use FIFOs. \n\nEach Connection is named `fifo-x-y` where `x=/=y`, and `x=0` (or, `y=0`) for the controller, and\n`x,y∈[1,MAXNSW]` for a switch. \n\nThus, e.g., `sw2` sends data to the controller on `fifo-2-0`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnklapste%2Fa2sdn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnklapste%2Fa2sdn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnklapste%2Fa2sdn/lists"}