-
Notifications
You must be signed in to change notification settings - Fork 45
Filter BSMs through PPM module
hmusavi edited this page May 19, 2017
·
13 revisions
Use the ORNL PPM module to test sanitization of BSMs.
- Create a new directory called
repos
. - Clone and build the ODE into the
repos
as per the instructions in the README.md. - Clone the PPM repository into the
repos
directory. - Create a directory in
repos
called ppm_data. - 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 fileconfig.properties
. - 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 fileroad_file.csv
. - At this point you directory structure should look like the following:
repos _
|
jpo-ode
|
jpo-cvdp
|
ppm_data _
|
config.properties
road_file.csv
- Open the
config.properties
file from step 4 in a text editor and set the propertyprivacy.filter.geofence.mapfile
to/ppm_data/road_file.csv
. Also adjust and set any other properties as needed to run the desired effect. - Set
$DOCKER_HOST_IP
to the address of the Docker engine. Instructions - Set
$DOCKER_SHARED_VOLUME
to the full path of the directory created in step 3. - Run
docker-compose up --build -d
to start the containers. Usedocker-compose ps
to ensure all four containers started correctly (status isUp
). - 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. - 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.
- 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