byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1 package
Module contents
Perform traffic tests for LL-04.40-CM using ByteBlower.
- byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1.configure_traffic_endpoints(test_config: Dict) Tuple[Server, Dict[str, Any], Dict[str, Any]]
Configure LL-04.40 Part 1 test.
- byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1.generate_report(proc_1_report_info: Tuple[List[LatencyFrameLossAnalyser], DataFrame, Tuple[Path | None, List[int]]], proc_2_report_info: Tuple[List[LatencyFrameLossAnalyser], DataFrame, Tuple[Path | None, List[int]]], report_path: str | None = None, report_prefix: str = 'report') Path
Generate HTML report for the LL-04.40 Part 1 test.
- Parameters:
proc_1_report_info (ReportingInfo) – All flows and analysers as returned by
run_procedure_1_1()proc_2_report_info (ReportingInfo) – All flows and analysers as returned by
run_procedure_1_2()report_path (str, optional) – Path where the report files are stored. None or empty string will default to the current directory. Default: None
report_prefix (str) – Prefix of the report files. Default: ‘report’
- Returns:
File name and path of the HTML report file
- Return type:
Path
- byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1.run(test_config: Dict, report_path: str, report_prefix: str) None
Run LL-04.40 Part 1 test.
- byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1.run_procedure_1_1(server: Server, nsi_config: Dict[str, Any], cpe_config: Dict[str, Any], enable_capture: bool = False, enable_sequence_numbers: bool = False) Tuple[List[LatencyFrameLossAnalyser], DataFrame, Tuple[Path | None, List[int]]]
Run LL-04.40 Part 1 procedure 1.1.
- Parameters:
server (Server) – ByteBlower Server connection as returned by
configure_traffic_endpoints()nsi_config (PortConfig) – NSI-side Traffic endpoint configuration as returned by
configure_traffic_endpoints()cpe_config (PortConfig) – CPE-side Traffic endpoint configuration as returned by
configure_traffic_endpoints()enable_capture (bool, optional) – Whether to enable capture file generation of the received packets. Default: False
enable_sequence_numbers (bool, optional) – Whether to enable sequence numbers in the transmitted packets. Default: False
- Return type:
ReportingInfo
- Returns:
Information for reporting.
List of:
Flow analyser
Port configuration information
- Capture-related information which is a list of:
Capture file name (full path)
- List of UDP ports used in the traffic flows:
First 20s flow
Second 20s flow
- byteblower.test_cases.docsis_atp.mulpi_v4_0.ll_04_40.part1.run_procedure_1_2(server: Server, nsi_config: Dict[str, Any], cpe_config: Dict[str, Any], enable_capture: bool = False, enable_sequence_numbers: bool = False) Tuple[List[LatencyFrameLossAnalyser], DataFrame, Tuple[Path | None, List[int]]]
Run LL-04.40 Part 1 procedure 1.2.
- Parameters:
server (Server) – ByteBlower Server connection as returned by
configure_traffic_endpoints()nsi_config (PortConfig) – NSI-side Traffic endpoint configuration as returned by
configure_traffic_endpoints()cpe_config (PortConfig) – CPE-side Traffic endpoint configuration as returned by
configure_traffic_endpoints()enable_capture (bool, optional) – Whether to enable capture file generation of the received packets. Default: False
enable_sequence_numbers (bool, optional) – Whether to enable sequence numbers in the transmitted packets. Default: False
- Return type:
ReportingInfo
- Returns:
Information for reporting.
List of:
Flow analyser
Port configuration information
- Capture-related information which is a list of:
Capture file name (full path)
- List of UDP ports used in the traffic flows:
First 20s flow
Seconds 20s flow
LLD flow (None in this test since it is not used)