|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| board (ip, mac, board_id=None) | |
| cfg (**boards) | |
| test_recovery_address_matches_firmware_and_ota_tool () | |
| test_two_boards_sharing_a_recovery_address_are_refused () | |
| test_board_id_must_match_its_address () | |
| test_interface_is_the_one_on_the_board_subnet () | |
| test_hosts_only_writes_just_the_reservations (Path tmp_path) | |
| test_a_refused_config_leaves_the_served_list_alone (Path tmp_path) | |
Variables | |
| SUBNET = ipaddress.ip_network("192.168.2.0/24") | |
| str | IP_ADDR |
| str | CONFIG |
generate_dhcp_config.py: what star-dhcp-sync runs as root on every config save. Run: python3 -m pytest daq-server/deploy/dhcp -q
| test_generate_dhcp_config.board | ( | ip, | |
| mac, | |||
| board_id = None ) |
Definition at line 15 of file test_generate_dhcp_config.py.
Referenced by test_board_id_must_match_its_address(), and test_two_boards_sharing_a_recovery_address_are_refused().
| test_generate_dhcp_config.cfg | ( | ** | boards | ) |
Definition at line 22 of file test_generate_dhcp_config.py.
Referenced by test_board_id_must_match_its_address(), and test_two_boards_sharing_a_recovery_address_are_refused().
| test_generate_dhcp_config.test_a_refused_config_leaves_the_served_list_alone | ( | Path | tmp_path | ) |
Definition at line 81 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.test_board_id_must_match_its_address | ( | ) |
Definition at line 42 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.test_hosts_only_writes_just_the_reservations | ( | Path | tmp_path | ) |
Definition at line 72 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.test_interface_is_the_one_on_the_board_subnet | ( | ) |
Definition at line 58 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.test_recovery_address_matches_firmware_and_ota_tool | ( | ) |
Definition at line 26 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.test_two_boards_sharing_a_recovery_address_are_refused | ( | ) |
Definition at line 34 of file test_generate_dhcp_config.py.
| str test_generate_dhcp_config.CONFIG |
Definition at line 64 of file test_generate_dhcp_config.py.
| str test_generate_dhcp_config.IP_ADDR |
Definition at line 50 of file test_generate_dhcp_config.py.
| test_generate_dhcp_config.SUBNET = ipaddress.ip_network("192.168.2.0/24") |
Definition at line 12 of file test_generate_dhcp_config.py.