Fix Bug 2086 Updating VNF status configurable
This fix allows to set REFRESH_ACTIVE period as config option which
periodically checks the VM status from VIM. Env variable can be set in the
ro container export OSMRO_PERIOD_REFRESH_ACTIVE=-1 to disable VM status updates.
This config parameter allowed to set >= 60 seconds or -1.
Making the stage-releasenotes.sh executable.
Change-Id: I90a859d9b831c1ce24faea4eab12dc998ac655d5
Signed-off-by: aticig <gulsum.atici@canonical.com>
diff --git a/NG-RO/osm_ng_ro/ro.cfg b/NG-RO/osm_ng_ro/ro.cfg
index 6969702..e232ad1 100644
--- a/NG-RO/osm_ng_ro/ro.cfg
+++ b/NG-RO/osm_ng_ro/ro.cfg
@@ -62,6 +62,13 @@
task_max_locked_time: 1200 # lock is renewed until this maximum time
task_relock_time: 15 # 30s before expiring lock time, it is re-locked again
+[period]
+# use env for OSMRO_PERIOD_XXX
+refresh_active: 60 # default 1 min
+refresh_build: 15 # default 15 seconds
+refresh_image: 3600 * 10
+refresh_error: 600
+queue_size: 100
[database]
# use env OSMRO_DATABASE_XXX to override