Closed Bruol closed 6 months ago
Hi @Bruol , Thanks for your contribution. Before merging this pr, please add an evidence (logs) that this changes does not break the existing code by running scion code. (https://github.com/seed-labs/seed-emulator/tree/master/test/scion). And if you are adding a new features, please add test code as well.
already though about the staticInfoConf as well here: #181
Hi @Bruol , Thanks for your contribution. Before merging this pr, please add an evidence (logs) that this changes does not break the existing code by running scion code. (https://github.com/seed-labs/seed-emulator/tree/master/test/scion). And if you are adding a new features, please add test code as well.
I tried to run the test cases. And run into some weird errors that I could not make sense of. So I ran the same test cases on the main repo master branch and got the same errors. So I am fairly certain, that these errors do not relate to the code I added.
Because of this I dont think I will be able to provide logs that prove my code does not break the other scion code.
I attached the test output as reference test_result.txt
@Bruol May I know the spec of your pc? (Platform: amd or arm/ CPU/ Memory)
I will create a branch for it then run test on my side.
@Bruol May I know the spec of your pc? (Platform: amd or arm/ CPU/ Memory)
I am running in an x86 vm with intel cpu and 4gb of ram. I realize that this might be too little for the blockchain tests. I also attached lscpu
and lsmem
output for reference.
I will create a branch for it then run test on my side.
Thanks a lot
Overiew:
As part of my Bachelor Thesis on creating a SCION Traffic Simulator with Beacon Meta-data, I made some changes and additions to the scion implementation in seed as well as to some other parts of the seed-emulator. Firstly I added the possibility to specify link properties on CrossConnect(XC) and InternetExchange(IX) links. Secondly I also added the possibility to specify which scion border routers to connect for routing. This allows for more flexibility when connecting different ASes (e.g. several links between different routers of the same two ASes). Thirdly I added the possibility to generate a
staticInfoConfig.json
file on the control service nodes, so that link properties are included in the beacons as meta data. There are also some other smaller changes that are detailed in the list below.I tried to adhere to the general style of the codebase and the contribution guidelines. Also I am happy to implement suggestions that would make my code more in line with this project.
Changes and Additions:
Enhanced Link Configuration:
Extended Connectivity Options:
Improved Beacon Information:
staticInfoConfig.json
on Control Service nodes to ensure their inclusion in the beacons.Documentation Enhancements:
ScionAutonomousSystem
andNode
classes.New Service Creation:
scion-bwtestclient
Service.Examples and Explanations:
Disclaimer:
Parts of this Code was created with Github Copilot autocompletion enabled
Also Thanks to my two Supervisors François Wirz and Jordi Subirà Nieto who have given me guidance in this project