Support container based VNF AutoHeal and AutoScale operation with External Monitoring Tools. Add the Fault Management interfaces and CLI to support AutoHeal. Add the Performance Management interfaces and CLI to support AutoScale. The Fault Management and Performance Management interfaces are based on ETSI NFV-SOL 002 v3.3.1 and ETSI NFV-SOL 003 v3.3.1, which are Version "2.0.0" API of Tacker. Add the Prometheus Plugin that has a interface between tacker and Prometheus as a sample of External Monitoring Tool. Implements: blueprint support-auto-lcm Change-Id: Ib74305f0b1da4eb8d996ebae400e75902aaa1321
15 lines
471 B
Bash
15 lines
471 B
Bash
#!/bin/bash -xe
|
|
|
|
# This script is used to set up a fake prometheus server
|
|
# for functional testing.
|
|
#
|
|
|
|
cd /opt/stack/tacker/tacker/tests/functional/sol_kubernetes_v2/samples/
|
|
sudo unzip tacker-monitoring-test.zip
|
|
cd ./tacker-monitoring-test
|
|
|
|
sudo docker build -t tacker-monitoring-test .
|
|
sudo docker run -v ${PWD}/src:/work/src -v ${PWD}/rules:/etc/prometheus/rules \
|
|
-p 55555:55555 -p 50022:22 -e TEST_REMOTE_URI="http://0.0.0.0" -d \
|
|
-it tacker-monitoring-test
|