Skip to content

Filter BSMs through PPM module

hmusavi edited this page May 19, 2017 · 13 revisions

Goal

Use the ORNL PPM module to test sanitization of BSMs.

Procedure

  1. Create a new directory called repos.
  2. Clone and build the ODE into the repos as per the instructions in the README.md.
  3. Clone the PPM repository into the repos directory.
  4. Create a directory in repos called ppm_data.
  5. Copy a suitable properties file from the config directory of jpo-cvdp repository into the ppm_data directory created above. For this test, test.all.on.properties file was used. Rename the properties file config.properties.
  6. Copy a map file from the data directory of jpo-cvdp repository into the ppm_data directory. For this test, I_80.edges map file was used. Rename the map file road_file.csv.
  7. At this point you directory structure should look like the following:
repos _
       |
       jpo-ode
       |
       jpo-cvdp
       |
       ppm_data _
                 |
                 config.properties
                 road_file.csv
  1. Open the config.properties file from step 4 in a text editor and set the property privacy.filter.geofence.mapfile to /ppm_data/road_file.csv. Also adjust and set any other properties as needed to run the desired effect.
  2. Set $DOCKER_HOST_IP to the address of the Docker engine. Instructions
  3. Set $DOCKER_SHARED_VOLUME to the full path of the directory created in step 3.
  4. Run docker-compose up --build -d to start the containers. Use docker-compose ps to ensure all four containers started correctly (status is Up).
  5. Open the Web UI by navigating to localhost:8080. Upload a bsm file that contains records to be filtered. BSMs that have been filtered will appear under the "Filtered BSMs" section.
  6. Return to the console running the ppm shell script and check to see that the script is capturing and filtering BSMs.

Note: if step 8 fails to create the ppm container, run docker run -v $DOCKER_SHARED_VOLUME:/ppm-data -e DOCKER_HOST_IP=${DOCKER_HOST_IP} -it jpoode_kafka:latest /bin/bash and at the shell prompt type docker-test/ppm.sh to see what error is returned tot he console and correct the issue.

Releases

Change Notices

Informational Reference

  • 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

Test Procedures

  • 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

Archived

  • 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
Clone this wiki locally