You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This is a brief instruction on how to deploy pm-mapper in docker env and how to configure filters in pm-mapper

Prerequisite

  • Docker
  • make
  • bash
  • linux(ubuntu 18+)

Installation

copy pm-mapper repo from onap gerrit

clone pm-mapper repo
git clone "https://gerrit.onap.org/r/dcaegen2/services/pm-mapper"

go to sub-directory:

cd tools/development
cd tools/development

install dmapp-dr, cbs, consul, files-publisher and dmaap-mr:

install cilium
make setup-local

install pm-mapper:

install cilium
make run-pm-mapper

After successful installation, we should see the docker containers:

Config dmaap

config dmaap-dr to create a feed for pm-mapper to subscribe:

config dmaap
make config-dmaap

Subscribe to dmaap-dr feed

config dmaap to create a feed for pm-mapper to subscribe:

subscribe
make subscribe-pm-mapper

List files in container files-publisher

files-publisher is a micro-servive designed for test/demo purpose, it has some prepared files to publish to dmaap-dr:

list prepared files
make list-files

In real onap instance, files-publisher is replaced by Data-File-Collector.

Publish file to dmapp-dr

in the same sub-directory, there are two scripts to do this:

send-meas-collec.sh & send-meas-data.sh

we can pick one files from above list, eg:

subscribe
./send-meas-collec.sh A20181002.0000-1000-0015-1000_5G.xml.gz

Configure filters


Clean env

clean env

clean env
make clean-env
  • No labels