@@ -24,63 +24,63 @@ def main():
2424 samples .TLE_constellation .TLE_constellation_test_cases .TLE_constellation_test_cases ()
2525 print ("END." )
2626
27- print ("Starting Standalone Module Testing..." )
28- # test each standalone module under "src/standalone_module/" in starperf 2.0
29- import samples .standalone_module .standalone_module_test_cases as standalone_module_test_cases
30- standalone_module_test_cases .standalone_module_test_cases ()
31- print ("END." )
27+ # print("Starting Standalone Module Testing...")
28+ # # test each standalone module under "src/standalone_module/" in starperf 2.0
29+ # import samples.standalone_module.standalone_module_test_cases as standalone_module_test_cases
30+ # standalone_module_test_cases.standalone_module_test_cases()
31+ # print("END.")
3232
33- print ("Starting Tool Scripts Testing..." )
34- # test each tool script under "kits/" in starperf 2.0
35- import samples .kits .kits_test_cases as KITS_TEST_CASES
36- KITS_TEST_CASES .kits_test_cases ()
37- print ("END." )
33+ # print("Starting Tool Scripts Testing...")
34+ # # test each tool script under "kits/" in starperf 2.0
35+ # import samples.kits.kits_test_cases as KITS_TEST_CASES
36+ # KITS_TEST_CASES.kits_test_cases()
37+ # print("END.")
3838
39- """
40- The visualization results generated here will be located under
41- /StarPerf_Simulator/visualization/CesiumApp. Before you uncomment
42- this section and run the visualization, please make sure to set your
43- own Cesium Token by assigning it to the Cesium.Ion.defaultAccessToken
44- parameter in /StarPerf_Simulator/visualization/html_head_tail/head.html
39+ # """
40+ # The visualization results generated here will be located under
41+ # /StarPerf_Simulator/visualization/CesiumApp. Before you uncomment
42+ # this section and run the visualization, please make sure to set your
43+ # own Cesium Token by assigning it to the Cesium.Ion.defaultAccessToken
44+ # parameter in /StarPerf_Simulator/visualization/html_head_tail/head.html
4545
46- For the specific steps of rendering the resulting web page, please
47- refer to the Constellation Visualization Instructions in README.md.
48- """
49- # print("Starting constellation visualization...")
50- # # test visualization part in "visualization/" in starperf 2.0
51- # import visualization.constellation_visualization as CONS_VIS_TEST_CASES
52- # CONS_VIS_TEST_CASES.visualization_example()
46+ # For the specific steps of rendering the resulting web page, please
47+ # refer to the Constellation Visualization Instructions in README.md.
48+ # """
49+ # # print("Starting constellation visualization...")
50+ # # # test visualization part in "visualization/" in starperf 2.0
51+ # # import visualization.constellation_visualization as CONS_VIS_TEST_CASES
52+ # # CONS_VIS_TEST_CASES.visualization_example()
53+ # # print("END.")
54+
55+ # """
56+ # This will test the functionality of duration constellation. It is similar to the previously
57+ # implemented XML Constellation, but supports customizing the simulation time and simulation
58+ # sampling interval (XML Constellation currently only supports simulation of the entire orbital period)
59+ # """
60+ # print("Start simulation performance and indicators testing")
61+ # import samples.duration_constellation.duration_constellation_cases
62+ # samples.duration_constellation.duration_constellation_cases.constellation_performance()
5363 # print("END.")
5464
55- """
56- This will test the functionality of duration constellation. It is similar to the previously
57- implemented XML Constellation, but supports customizing the simulation time and simulation
58- sampling interval (XML Constellation currently only supports simulation of the entire orbital period)
59- """
60- print ("Start simulation performance and indicators testing" )
61- import samples .duration_constellation .duration_constellation_cases
62- samples .duration_constellation .duration_constellation_cases .constellation_performance ()
63- print ("END." )
64-
65- """
66- This will take the longest time. On a 4-core Intel Xeon Processor (Icelake) processor,
67- 1 second of traffic will be generated every 15 seconds. Therefore, the traffic generation
68- here is set to 10 seconds, although I generated 1000 seconds of traffic in the experiment.
69- """
70- print ("Start benign traffic generation" )
71- import samples .traffic .traffic_generation_cases
72- samples .traffic .traffic_generation_cases .traffic_generation ()
73- print ("END." )
65+ # """
66+ # This will take the longest time. On a 4-core Intel Xeon Processor (Icelake) processor,
67+ # 1 second of traffic will be generated every 15 seconds. Therefore, the traffic generation
68+ # here is set to 10 seconds, although I generated 1000 seconds of traffic in the experiment.
69+ # """
70+ # print("Start benign traffic generation")
71+ # import samples.traffic.traffic_generation_cases
72+ # samples.traffic.traffic_generation_cases.traffic_generation()
73+ # print("END.")
7474
75- """
76- Energy consumption attacks require longer traffic generation time, because the implementation
77- period of the attack is usually measured in months and years. In the example here, I only
78- implemented a simulation of dT=500 for one orbital period, which requires 11s of traffic generation.
79- """
80- print ("Start LEO network security simulation" )
81- import samples .attack .attack_cases
82- samples .attack .attack_cases .attack_cases ()
83- print ("END." )
75+ # """
76+ # Energy consumption attacks require longer traffic generation time, because the implementation
77+ # period of the attack is usually measured in months and years. In the example here, I only
78+ # implemented a simulation of dT=500 for one orbital period, which requires 11s of traffic generation.
79+ # """
80+ # print("Start LEO network security simulation")
81+ # import samples.attack.attack_cases
82+ # samples.attack.attack_cases.attack_cases()
83+ # print("END.")
8484
8585
8686
0 commit comments