-
Notifications
You must be signed in to change notification settings - Fork 45
Receive VSD via UDP and deposit to SDC
This tests the full end-to-end functionality of the VSD SDC depositor feature. An UPER encoded VSD message will be sent over UDP from a test instance (emulating an OBU or RSE) to an instance running the ODE over IPv6. The ODE will then automatically forward and deposit this message to the SDC.
This expands on the functionality in Send VSD to SDC Test.
OBU -----ServiceRequest-----> ODE -----ServiceRequest----> SDC
OBU <----ServiceResponse----- ODE <----ServiceResponse---- SDC
OBU --------VsdMessage------> ODE --------VsdMessage-----> SDC
- OBU sends ServiceRequest to ODE, which forwards it to the SDC.
- ODE receives ServiceResponse from SDC, and forwards it back to the OBU.
- OBU sends VSD to ODE, which forwards it to the SDC.
Test Server --------VsdMessage------> ODE --------VsdMessage-----> SDC
- Tester sends VSD to ODE, which forwards it to the SDC.
This test deposits VSD from ODE to SDC by following the VSD Dialog. In order to demonstrate this functionality, the sample VSD message which originates in Wyoming is sent as a unit test. Once ODE-308 is complete, this process will be automated as a service.
- Read the VSD deposit test to set up SDC subscription using the SDC web tools. Send VSD to SDC Test
- Deploy ODE in an IPv6 environment and create a separate IPv6 test instance to emulate an OBU.
- On the OBU emulator instance, obtain a VSDM uper file.
curl https://raw.githubusercontent.com/usdot-jpo-ode/jpo-ode/ode-308/data/vsdm.uper > vsdm.uper
- Send the VSDM UPER file to the ODE over IPv6.
cat vsdm.uper | nc -6u <ode_ip> 46753
- Verify the ODE received the message by checking
ode.log
. In the log there should be confirmation of UDP reception as well as a list of JSON BSMs extracted/converted from the VSDM: Screenshot - Verify the ODE attempted to send the VSD message to the SDC by checking the logs.
- Return up the SDC web tools page and verify the message was deposited.
This test deposits VSD from ODE to SDC by following the VSD Dialog. In order to demonstrate this functionality, the sample VSD message which originates in Wyoming is sent as a unit test. Once ODE-308 is complete, this process will be automated as a service.
- Read the VSD deposit test to set up SDC subscription using the SDC web tools. Send VSD to SDC Test
- Deploy ODE in an IPv6 environment and create a separate IPv6 test instance to emulate an OBU.
- Open http://162.242.218.130:8080/ in a browser and click
Connect
button to subscribe to bsm kafka topic. - On the OBU emulator instance, obtain the
ObuEmulator
folder from:https://github.com/usdot-jpo-ode/jpo-ode/tree/ode-308/data/VSDM_Testing/ObuEmulator
- From within the
ObuEmulator
folder, run the following commands:
a) Command to compile the java file.
javac -classpath .:commons-codec-1.10.jar VsdDepositorToOde.java
b) Command to run the app that sends VSD dialog to ODE.
java -classpath .:commons-codec-1.10.jar VsdDepositorToOde
- Verify the ODE received the message by checking
ode.log
. In the log there should be confirmation of UDP reception as well as a list of JSON BSMs extracted/converted from the VSDM. - Verify the ODE attempted to send the VSD message to the SDC by checking the logs.
- Check the SDC web tools page and verify the message was deposited.
- Check the http://162.242.218.130:8080/ to verify that the BSMs have been received.
- Decode a file with asn1c
- Deposit BSM to S3
- Docker fix for SSL issues due to corporate network
- Docker management
- ECDSA Primer
- Filter BSMs through PPM module
- Geofence Filtering for PPM
- Import BSMs from RSU log file
- Import TIMs from RSU log file
- jpo security svcs Integration
- Link host directory to Docker directory
- Migrating from SDW websocket depositor to SDW Depositor Submodule
- ODE Release Deployment
- ODE Release Preparation
- Prepare a fresh Ubuntu instance for ODE installation
- Process for Handling Bugs (Code Defects)
- Run the ODE using the ASN codec module
- Query RSU for set TIMs
- Schema Version 6 Change Notice
- Signed Message File Import
- TIM REST Endpoint Changes
- Using the .env configuration file
- Using the ODE test harness
- Delete TIM on RSU test
- Event Logger Test
- Import Decode and Deliver BSM Test
- Manage SNMP Test
- Sending PDM to RSU Test
- Sending TIM to RSU Test
- Submit_TIM_To_SDW Test
- Log File Changes (schemaVersion=4)
- Receive BSMs over UDP
- Receive ISD via UDP and deposit to SDC
- Receive VSD via UDP and deposit to SDC
- Run the crypto test vectors code with ODE team's OSS encoder
- SchemaVersion 5 Change Notice