From 280ccc770758dfd2921aacc2a13072840dd9439a Mon Sep 17 00:00:00 2001 From: Eduardo Sousa Date: Fri, 21 Sep 2018 16:34:29 +0100 Subject: [PATCH] Renaming PM to POL Updated all the references from PM to POL. Change-Id: I5d8c228bfa5498d810eb98d55d9f30a681a2730d Signed-off-by: Eduardo Sousa --- docker/Makefile | 2 +- docker/{pm => POL}/Dockerfile | 14 +++++++++++++- docker/{pm => POL}/Makefile | 0 3 files changed, 14 insertions(+), 2 deletions(-) rename docker/{pm => POL}/Dockerfile (85%) rename docker/{pm => POL}/Makefile (100%) diff --git a/docker/Makefile b/docker/Makefile index 0dcb3dfe..6e6ae572 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. # -SUBDIRS = MON NBI osmclient RO LCM light-ui pm Keystone +SUBDIRS = MON NBI osmclient RO LCM light-ui POL Keystone include mk/dirs.mk diff --git a/docker/pm/Dockerfile b/docker/POL/Dockerfile similarity index 85% rename from docker/pm/Dockerfile rename to docker/POL/Dockerfile index 64097404..f5ce0571 100644 --- a/docker/pm/Dockerfile +++ b/docker/POL/Dockerfile @@ -47,4 +47,16 @@ ARG COMMON_VERSION RUN apt-get --yes update && apt-get -y install python3-osm-policy-module${POL_VERSION} -#CMD bash /MON/policy_module/scripts/gen_config_from_env.sh && osm-policy-agent --config osm_policy_agent.cfg +ENV OSMPOL_MESSAGE_DRIVER kafka +ENV OSMPOL_MESSAGE_HOST kafka +ENV OSMPOL_MESSAGE_PORT 9092 + +ENV OSMPOL_DATABASE_DRIVER mongo +ENV OSMPOL_DATABASE_HOST mongo +ENV OSMPOL_DATABASE_PORT 27017 + +ENV OSMPOL_SQL_DATABASE_URI sqlite:///mon_sqlite.db + +ENV OSMPOL_LOG_LEVEL INFO + +CMD osm-policy-agent diff --git a/docker/pm/Makefile b/docker/POL/Makefile similarity index 100% rename from docker/pm/Makefile rename to docker/POL/Makefile -- 2.25.1