E2E Verification Module
- class mtf.network_port.e2e_verification.E2EVerificationListener
This class is responsible for Starting and Stopping the E2E verification process
- __init__(path: str, someip_check: bool = False)
- someip_e2e_check
- start_verifying()
- stop_verifying()
- start_listening() bool
Start the E2E verification listener
- Returns:
True if the E2E Verification Listener is started. False otherwise.
- Examples:
>>> path = "channel_name::frame_id::pdu_name" # the path could be for LegacyPDU >>> path = "ecu_name::npdu_name" # the path could be for NPDU >>> path = "ecu_name::npdu_id" # the path could be for NPDU >>> e2e_verif_listener = E2EVerificationListener(path) # Create an instance of E2EVerificationListener >>> e2e_verif_listener.start_verifying()
- stop_listening()
Stop the E2E verification listener
- Examples:
>>> path = channel_name::frame_id::pdu_name # the path could be for LegacyPDU >>> path = ecu_name::npdu_name # the path could be for NPDU >>> path = ecu_name::npdu_id # the path could be for NPDU >>> e2e_verif_listener = E2EVerificationListener(path) # Create an instance of E2EVerificationListener >>> e2e_verif_listener.stop_verifying()
- get_e2e_monitoring_status()
Get the E2E monitoring status
- Examples:
>>> path = channel_name::frame_id::pdu_name # the path could be for LegacyPDU >>> path = ecu_name::npdu_name # the path could be for NPDU >>> path = ecu_name::npdu_id # the path could be for NPDU >>> e2e_verif_listener = E2EVerificationListener(path) # Create an instance of E2EVerificationListener >>> e2e_monitoring_status = e2e_verif_listener.get_e2e_monitoring_status()
- static __new__(cls, *args, **kwargs)
Initialize a new instance of the ControllerBase.
The instance will be automatically added to the list of controllers.
- clean_up()
- classmethod controllers_cleanup()
Clean up all controller instances.
Calls the clean_up() method for each instance.
- get_queue() Queue
Get the queue
- reset()
cleanup the queue