MCPcopy Create free account

hub / github.com/SpaceNetLab/StarryNet / functions

Functions113 in github.com/SpaceNetLab/StarryNet

↓ 58 callersFunctionsn_remote_cmd
(remote_ssh, cmd)
starrynet/sn_utils.py:181
↓ 6 callersFunctionsn_get_param
(file_)
starrynet/sn_utils.py:149
↓ 5 callersMethod__init__
(self, remote_ssh, docker_service_name, node_size, container_id_list, container_global_idx)
starrynet/sn_utils.py:214
↓ 5 callersFunctionsn_get_container_info
()
starrynet/sn_orchestrater.py:267
↓ 3 callersMethodset_ping
(self, sat1_index, sat2_index, time_index)
starrynet/sn_synchronizer.py:209
↓ 3 callersFunctionsn_get_container_info
(remote_machine_ssh)
starrynet/sn_utils.py:235
↓ 3 callersMethodstop_emulation
(self)
starrynet/sn_synchronizer.py:235
↓ 2 callersMethodcheck_routing_table
(self, sat_index, time_index)
starrynet/sn_synchronizer.py:199
↓ 2 callersMethodcreate_links
(self)
starrynet/sn_synchronizer.py:122
↓ 2 callersMethodcreate_nodes
(self)
starrynet/sn_synchronizer.py:110
↓ 2 callersMethoddo_exit
stop the emulation
starrynet/cli.py:235
↓ 2 callersMethodget_GSes
(self, sat_index, time_index)
starrynet/sn_synchronizer.py:162
↓ 2 callersMethodget_IP
(self, sat_index)
starrynet/sn_synchronizer.py:182
↓ 2 callersMethodget_distance
(self, sat1_index, sat2_index, time_index)
starrynet/sn_synchronizer.py:143
↓ 2 callersMethodget_neighbors
(self, sat_index, time_index)
starrynet/sn_synchronizer.py:151
↓ 2 callersMethodget_position
(self, sat_index, time_index)
starrynet/sn_synchronizer.py:176
↓ 2 callersMethodget_utility
(self, time_index)
starrynet/sn_synchronizer.py:173
↓ 2 callersMethodprint_conf
(self, sat_node_number, fac_node_number, ID, Q, remote_ftp)
starrynet/sn_observer.py:428
↓ 2 callersMethodrun_routing_deamon
(self)
starrynet/sn_synchronizer.py:133
↓ 2 callersMethodset_damage
(self, damaging_ratio, time_index)
starrynet/sn_synchronizer.py:192
↓ 2 callersMethodset_next_hop
(self, sat_index, des, next_hop_sat, time_index)
starrynet/sn_synchronizer.py:203
↓ 2 callersMethodset_perf
(self, sat1_index, sat2_index, time_index)
starrynet/sn_synchronizer.py:214
↓ 2 callersMethodset_recovery
(self, time_index)
starrynet/sn_synchronizer.py:196
↓ 2 callersFunctionsn_check_utility
(time_index, remote_ssh, file_path)
starrynet/sn_utils.py:628
↓ 2 callersFunctionsn_damage
(ratio, damage_list, constellation_size, remote_ssh, remote_ftp, file_path, configuration_file_p
starrynet/sn_utils.py:650
↓ 2 callersFunctionsn_get_param
(file_)
starrynet/sn_orchestrater.py:257
↓ 2 callersFunctionsn_recover
(damage_list, sat_loss, remote_ssh, remote_ftp, file_path, configuration_file_path)
starrynet/sn_utils.py:672
↓ 2 callersFunctionsn_route
(src, time_index, file_path, configuration_file_path, container_id_list, remote_ssh)
starrynet/sn_utils.py:771
↓ 2 callersFunctionsn_sr
(src, des, target, container_id_list, remote_ssh)
starrynet/sn_utils.py:691
↓ 2 callersFunctionsn_update_delay
(file_path, configuration_file_path, timeptr, constellation_size, remote_ssh,
starrynet/sn_utils.py:635
↓ 2 callersMethodstart_emulation
(self)
starrynet/sn_synchronizer.py:219
↓ 2 callersMethodto_cbf
(self, lat_long, length)
starrynet/sn_observer.py:114
↓ 1 callersMethod__init__
(cls, name, bases, dict_)
starrynet/log.py:65
↓ 1 callersMethodaccess_P_L_shortest
(self, sat_cbf, fac_cbf, fac_num, sat_num, num_orbits, num_sats_per_orbit, duratio
starrynet/sn_observer.py:37
↓ 1 callersMethodcalculate_bound
(self, inclination_angle, height)
starrynet/sn_observer.py:136
↓ 1 callersMethodcalculate_delay
(self)
starrynet/sn_observer.py:216
↓ 1 callersFunctioncleanup
()
starrynet/clean.py:10
↓ 1 callersMethodcompute_conf
(self, sat_node_number, interval, num1, num2, ID, Q, num_backbone, matrix)
starrynet/sn_observer.py:317
↓ 1 callersMethodgenerate_conf
(self, remote_ssh, remote_ftp)
starrynet/sn_observer.py:437
↓ 1 callersFunctionmakeListCompatible
Return a new function allowing fn( 'a 1 b' ) to be called as newfn( 'a', 1, 'b' )
starrynet/log.py:157
↓ 1 callersMethodmatrix_to_change
(self, duration, orbit_number, sat_number, path, GS_lat_long)
starrynet/sn_observer.py:145
↓ 1 callersMethodrun
Run our cmdloop(), catching KeyboardInterrupt
starrynet/cli.py:59
↓ 1 callersMethodsetLogLevel
Setup loglevel. Convenience function to support lowercase names. levelName: level name from LEVELS
starrynet/log.py:113
↓ 1 callersFunctionsn_copy_run_conf_to_each_container
(container_id_list, sat_node_number, fac_node_number, path)
starrynet/sn_orchestrater.py:395
↓ 1 callersFunctionsn_damage
(random_list, container_id_list)
starrynet/sn_orchestrater.py:433
↓ 1 callersFunctionsn_del_link
(first_index, second_index, container_id_list, remote_ssh)
starrynet/sn_utils.py:871
↓ 1 callersFunctionsn_delete_remote_network_bridge
(remote_ssh)
starrynet/sn_utils.py:246
↓ 1 callersFunctionsn_establish_GSL
(container_id_list, matrix, GS_num, constellation_size, bw, loss)
starrynet/sn_orchestrater.py:280
↓ 1 callersFunctionsn_establish_ISLs
(container_id_list, matrix, orbit_num, sat_num, constellation_size, bw, loss)
starrynet/sn_orchestrater.py:240
↓ 1 callersFunctionsn_establish_new_GSL
(container_id_list, matrix, constellation_size, bw, loss, sat_index, GS_index, remote
starrynet/sn_utils.py:783
↓ 1 callersFunctionsn_get_down_satellite
(current_sat_id, current_orbit_id, sat_num)
starrynet/sn_orchestrater.py:19
↓ 1 callersFunctionsn_get_right_satellite
(current_sat_id, current_orbit_id, orbit_num)
starrynet/sn_orchestrater.py:12
↓ 1 callersFunctionsn_init_remote_ftp
(transport)
starrynet/sn_utils.py:176
↓ 1 callersFunctionsn_init_remote_machine
(host, username, password)
starrynet/sn_utils.py:159
↓ 1 callersFunctionsn_load_file
(path, GS_lat_long)
starrynet/sn_utils.py:48
↓ 1 callersFunctionsn_recover
(damage_list, container_id_list, sat_loss)
starrynet/sn_orchestrater.py:489
↓ 1 callersFunctionsn_rename_all_container
(remote_ssh, container_id_list, new_idx)
starrynet/sn_utils.py:270
↓ 1 callersFunctionsn_reset_docker_env
(remote_ssh, docker_service_name, node_size)
starrynet/sn_utils.py:255
↓ 1 callersFunctionsn_stop_emulation
()
starrynet/sn_orchestrater.py:470
↓ 1 callersFunctionsn_update_delay
(matrix, container_id_list, constellation_size)
starrynet/sn_orchestrater.py:502
Method__call__
(cls, *args, **kw)
starrynet/log.py:69
Method__init__
(self)
starrynet/log.py:98
Method__init__
(self, configuration_file_path, GS_lat_long, hello_interval
starrynet/sn_synchronizer.py:13
Method__init__
Start and run interactive or batch mode CLI starrynet: Starrynet network object stdin: standard input for CLI script:
starrynet/cli.py:43
Method__init__
(self, file_path, configuration_file_path, remote_ssh)
starrynet/sn_utils.py:190
Method__init__
(self, remote_ssh, remote_ftp, orbit_num, sat_num, constellation_size, fac_num, file_path,
starrynet/sn_utils.py:283
Method__init__
(self, remote_ssh, remote_ftp, orbit_num, sat_num, constellation_size, fac_num, file_path, sa
starrynet/sn_utils.py:322
Method__init__
(self, remote_ssh, remote_ftp, sat_loss, sat_ground_bw, sat_ground_loss, container_id_list, f
starrynet/sn_utils.py:356
Method__init__
(self, remote_ssh, remote_ftp, file_path)
starrynet/sn_utils.py:893
Method__init__
(self, file_path, configuration_file_path, inclination, satellite_altitude, orbit_number, sat
starrynet/sn_observer.py:19
Methoddefault
Exit
starrynet/cli.py:249
Methoddo_EOF
Exit
starrynet/cli.py:244
Methoddo_check_routing_table
list the routing table of a node at a certain time.
starrynet/cli.py:193
Methoddo_create_links
initialize the entire network links
starrynet/cli.py:131
Methoddo_create_nodes
initialize the entire network nodes
starrynet/cli.py:127
Methoddo_get_GSes
list the GS connected to the node at a certain time
starrynet/cli.py:155
Methoddo_get_IP
list the IP of a node
starrynet/cli.py:169
Methoddo_get_distance
calculate the distance of two node at a certain time
starrynet/cli.py:139
Methoddo_get_neighbors
list the neighbor node indexes of node at a certain time
starrynet/cli.py:148
Methoddo_get_position
list the LLA of a node at a certain time
starrynet/cli.py:162
Methoddo_get_utility
list the CPU and memory useage at a certain time
starrynet/cli.py:175
Methoddo_help
Describe available CLI commands.
starrynet/cli.py:121
Methoddo_path
get the working directory
starrynet/cli.py:208
Methoddo_quit
Exit
starrynet/cli.py:240
Methoddo_run_routing_deamon
run routing deamon for each node
starrynet/cli.py:135
Methoddo_set_damage
set a random damage of a given ratio at a certain time, which will be processed during emulation
starrynet/cli.py:181
Methoddo_set_next_hop
set the nhelpext hop at a certain time
starrynet/cli.py:200
Methoddo_set_perf
perf msg of two nodes at a certain time
starrynet/cli.py:219
Methoddo_set_ping
ping msg of two nodes at a certain time
starrynet/cli.py:212
Methoddo_set_recovery
set a recovery of the damages at a certain time, which will be processed during emulation
starrynet/cli.py:187
Methoddo_start_emulation
start the emulation
starrynet/cli.py:226
Methoddo_stop_emulation
stop the emulation
starrynet/cli.py:230
Methodemit
Emit a record. If a formatter is specified, it is used to format the record. The record is then written to the stream with a tra
starrynet/log.py:34
Methodemptyline
Don't repeat last command when you hit return.
starrynet/cli.py:74
MethodgetLocals
Local variable bindings for py command
starrynet/cli.py:78
Functionget_down_satellite
(current_sat_id, current_orbit_id, sat_num)
starrynet/sn_utils.py:41
Functionget_right_satellite
(current_sat_id, current_orbit_id, orbit_num)
starrynet/sn_utils.py:34
Functionnewfn
Generated function. Closure-ish.
starrynet/log.py:161
Methodoutput
Log 'msg % args' with severity 'OUTPUT'. To pass exception information, use the keyword argument exc_info with a true value, e.
starrynet/log.py:132
Methodrun
(self)
starrynet/sn_utils.py:196
next →1–100 of 113, ranked by callers