How spirent/landslide-5gc works
1. This repository is not an application service; it is a Spirent Landslide 5GC automation content package. Its purpose is to provide reusable test assets that iTest can execute in Landslide, usually orchestrated from Velocity or a Network DevOps Agent after SCM synchronization.
2. The repo has two main content roots:
- Landslide_5GC/ai_LS_5G: the primary 5G test library.
- Landslide_5GC/di_Landslide: deployment/integration assets that support launching and parameterizing runs.
A separate Inventory/ area and package_manifest.json appear to be packaging/catalog metadata rather than test logic.
3. The main architectural boundary is between test definitions and their data/configuration. Under ai_LS_5G/testcases, the executable scenarios are stored as .fftc files, while matching scenario parameters live under ai_LS_5G/parameters as .ffpt files. The mirrored directory structure and naming show that each testcase is paired with a scenario-specific parameter set.
4. ai_LS_5G is organized by test intent and topology scope:
- adjacent for interface-adjacent NF interactions such as AMF-SMF and SMF-UPF.
- endtoend for full 5GC flows.
- isolation for NF-focused functional cases.
- security for fuzzing, SCAS, VA, IMS, and protocol-security cases.
- oran for O-RAN CU/DU/RIC scenarios.
This hierarchy is important for diagramming coverage boundaries and execution groupings.
5. The 5GC domain coverage is broad and NF-centric. The parameter/testcase sets explicitly cover AMF, SMF, UPF, UDM, UDR, AUSF, NRF, NSSF, PCF, NEF, CHF, BSF, LMF, SMSF, SCP, SEPP, and N3IWF. That indicates the package is built to validate both service-based core interactions and user-plane/control-plane behavior across the 5G core.
6. Shared test infrastructure lives in ai_LS_5G/utility_library. The presence of pcap_utils.fftc, topology.fftc, and utils.fftc shows a reusable helper layer for packet-capture handling, topology modeling, and common test operations. assets/sample.pcap is a concrete data artifact used by packet-driven or replay/fuzzing-style tests.
7. Expected-output mapping is separated into ai_LS_5G/response_map with .ffrm files such as DU_NODAL_CELL_STAT.ffrm and IMS_AUTH_KEY_RESPONSE.ffrm. These are validation artifacts that likely map observed responses to expected keys/statistics, allowing tests to assert outcomes without hard-coding checks into each testcase.
8. di_Landslide provides the automation glue for execution. session_profiles/landslide_rest.ffsp and landslide_rest_quickcall_library.fftc suggest a REST-oriented session/profile layer for controlling Landslide. The utility create_parameter_from_json_changes.fftc indicates a transform step that converts JSON configuration deltas into Landslide parameter content.
9. Security testing is a first-class branch, not an afterthought. Under ai_LS_5G/parameters/security and testcases/security, the repo separates:
- fuzzing inputs for malformed/protocol-break cases,
- SCAS security assurance scenarios,
- VA attack/vulnerability scenarios,
- IMS-specific security checks,
- UPF/NAS/NRF/SEPP/UDM/AMF security cases.
This makes the security model distinct from normal functional coverage in both structure and execution intent.
10. The packaging layer matters operationally. Inventory/*.bin, Inventory/inventory.xml, and package_manifest.json point to a packaged, versioned content distribution model used by Velocity/SCM synchronization. In an architecture diagram, these are the distribution/metadata boundary feeding the automation runtime, not part of the test execution path itself.
11. The execution flow is therefore: package sync from SCM/Velocity → Landslide loads the relevant session profile and testcase → testcase pulls parameters, utilities, response maps, and test assets → Landslide drives the network under test → results are validated against response maps/expected outcomes. The repo’s directory layout is designed to keep those responsibilities cleanly separated.
Main entry points: parameters Parameters · ai_LS_5G ai_LS_5G · testcases Testcases · di_Landslide di_Landslide
Components 18
Distribution
Packaged content and inventory metadata synchronized into Landslide.
Automation glue
Session profiles and transforms used to launch and parameterize runs.
- di_Landslide · Deployment and integration assets for launching and parameterizing runs.
Landslide_5GC/di_Landslide - Session profiles · Landslide session/profile layer for REST-oriented execution control.
Landslide_5GC/di_Landslide/session_profiles - JSON transform · Converts JSON configuration changes into Landslide parameter content.
Landslide_5GC/di_Landslide/utils/create_parameter_from_json_changes.fftc
5G content
Primary reusable test library for functional, security, and O-RAN coverage.
- ai_LS_5G · Primary 5G reusable test library and shared assets.
Landslide_5GC/ai_LS_5G
Testcases
Executable Landslide test scenarios.
- Testcases · Executable Landslide scenarios organized by intent and topology.
Landslide_5GC/ai_LS_5G/testcases
Parameters
Scenario-specific parameter sets paired to testcases.
- Parameters · Scenario-specific parameter sets paired with testcases.
Landslide_5GC/ai_LS_5G/parameters - Adjacent · Interface-adjacent NF interactions such as AMF-SMF and SMF-UPF.
Landslide_5GC/ai_LS_5G/parameters/adjacent - End-to-end · Full 5GC flows spanning registration, sessions, roaming, and throughput.
Landslide_5GC/ai_LS_5G/parameters/endtoend - Isolation · NF-focused functional cases for individual core functions.
Landslide_5GC/ai_LS_5G/parameters/isolation - Security · Fuzzing, SCAS, VA, IMS, and protocol-security coverage.
Landslide_5GC/ai_LS_5G/parameters/security - O-RAN · O-RAN CU, DU, RIC, and related scenarios.
Landslide_5GC/ai_LS_5G/parameters/oran - Core NFs · Representative coverage across AMF, NRF, UDM, UPF, SMF, PCF, NEF, CHF, BSF, NSSF, SCP, SEPP, N3IWF, and related 5GC functions.
Support assets
Reusable helpers, response maps, and data artifacts.
- Response maps · Expected-output mappings used to validate observed results.
Landslide_5GC/ai_LS_5G/response_map - Utilities · Reusable packet-capture, topology, and common operation helpers.
Landslide_5GC/ai_LS_5G/utility_library - Sample pcap · Concrete packet capture used by packet-driven or replay-style tests.
Landslide_5GC/ai_LS_5G/assets/sample.pcap
Connections 21
- Repo → Inventory: packages · Repository is distributed through inventory artifacts.
- Repo → Manifest: describes · Package manifest describes the content bundle.
- Repo → ai_LS_5G: contains · Primary 5G library lives under ai_LS_5G.
- Repo → di_Landslide: contains · Automation glue lives under di_Landslide.
- di_Landslide → Session profiles: launches · Session profiles control Landslide execution.
- di_Landslide → JSON transform: generates · JSON delta transform produces Landslide parameter content.
- ai_LS_5G → Testcases: defines · Executable scenarios are stored as testcase files.
- ai_LS_5G → Parameters: pairs with · Testcases are paired with scenario parameter files.
- ai_LS_5G → Response maps: validates with · Response maps provide expected-output validation.
- ai_LS_5G → Utilities: shares · Reusable helpers are centralized in the utility library.
- ai_LS_5G → Sample pcap: uses · Packet-driven tests use a sample capture artifact.
- Testcases → Parameters: mirrors · Scenario naming and structure mirror parameter sets.
- Testcases → Utilities: calls · Scenarios depend on shared helper routines.
- Testcases → Response maps: asserts · Observed behavior is checked against response maps.
- Testcases → Sample pcap: consumes · Some scenarios consume packet capture inputs.
- Parameters → Adjacent: organizes · Adjacent NF scenarios are grouped here.
- Parameters → End-to-end: organizes · End-to-end 5GC scenarios are grouped here.
- Parameters → Isolation: organizes · Isolation scenarios are grouped here.
- Parameters → Security: organizes · Security scenarios are grouped here.
- Parameters → O-RAN: organizes · O-RAN scenarios are grouped here.
- Parameters → Core NFs: covers · Parameter sets span major 5GC network functions.