commit | a72ccecc581896f88a8f5ac0ce45bfcae74da6de | [log] [tgz] |
---|---|---|
author | Michael Mokry <michael.mokry@att.com> | Tue Nov 13 09:33:51 2018 -0600 |
committer | Michael Mokry <michael.mokry@att.com> | Wed Nov 14 15:09:14 2018 +0000 |
tree | 8c712733964aafc1ab1edc8676712bfe551a7b46 | |
parent | 8b2837109495afab4b31e39c1e70a266ece3ceba [diff] |
Fix bug in Guard policies for Docker Modified push-policies.sh to fix pre-loaded guard policies Change-Id: I8716079d6abb0b1ac2872c55b4450bf69842c163 Issue-ID: POLICY-1257 Signed-off-by: Michael Mokry <michael.mokry@att.com> (cherry picked from commit 5c2b280fbc04014a120c516e4b9531f15380e8e8)
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the files for the ONAP Policy docker-compose configuration
The following needs to be setup before using docker-compose:
chmod +x config/drools/drools-tweaks.sh IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) echo $IP_ADDRESS > config/pe/ip_addr.txt
If you do not want the policies pre-loaded, then set this environment variable to false:
export PRELOAD_POLICIES=false
It will override the settings in the .env file. Which is set to true.