From 905b71b4fc72c7c091d9bd3dd616b951c75556fa Mon Sep 17 00:00:00 2001 From: kranthi guttikonda Date: Thu, 12 Oct 2017 12:24:51 -0400 Subject: Initial scripts to upgrade docker ONAP component Initial scripts to upgrade docker containers in each component. Script will login to each vm and run vm_init.sh based on component Issue-ID: INT-269 Change-Id: I8453a401a8a2d1f94f34424bba915c176fbcee2d Signed-off-by: kranthi guttikonda --- docker_upgrade_scripts/README.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docker_upgrade_scripts/README.md (limited to 'docker_upgrade_scripts/README.md') diff --git a/docker_upgrade_scripts/README.md b/docker_upgrade_scripts/README.md new file mode 100644 index 00000000..5d981587 --- /dev/null +++ b/docker_upgrade_scripts/README.md @@ -0,0 +1,40 @@ +#Docker Upgrade Scripts + +##Description +These scripts will upgrade docker images in all ONAP components + +##Setting UP + +apt-get install python-pip + +pip install Fabric + +Download all the files and modify onap_docker_upgrade.conf with correct configuration based on infrastructure endpoints + +[keystone_auth] +user = +password = +tenant = +url = + +user: User name to access the tenant +Password: Password for the user authentication +tenant: Tenant information +url: keystone endpoint URL. Currently v2.0 is only supported + +[onap] +instance_prefix = + +instance_prefix: ONAP instance prefix configured in heat template or VM name + +Deployment type: 1-nic-nofloat, 1-nic-float, 2-nic +deployment_type = + +deployment_type: Based on infrastructure network setup for VMs + +dcae_key_path = +onap_key_path = + +Run python onap_docker_upgrade.py + +To run daily basis, add the script to cron job and redirect output to a log file -- cgit 1.2.3-korg