diff options
author | kranthi guttikonda <kranthi.guttikonda9@gmail.com> | 2017-10-12 12:24:51 -0400 |
---|---|---|
committer | kranthi guttikonda <kranthi.guttikonda9@gmail.com> | 2017-10-12 13:38:03 -0400 |
commit | 905b71b4fc72c7c091d9bd3dd616b951c75556fa (patch) | |
tree | f543865ac5a52af246b700c961cac9db5825835b /docker_upgrade_scripts/README.md | |
parent | bf58a19263620322eb8308826728aa4f91f79eb1 (diff) |
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 <kranthi.guttikonda9@gmail.com>
Diffstat (limited to 'docker_upgrade_scripts/README.md')
-rw-r--r-- | docker_upgrade_scripts/README.md | 40 |
1 files changed, 40 insertions, 0 deletions
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 = <user_name> +password = <password> +tenant = <tenant> +url = <keystone_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 = <name> + +instance_prefix: ONAP instance prefix configured in heat template or VM name + +Deployment type: 1-nic-nofloat, 1-nic-float, 2-nic +deployment_type = <type> + +deployment_type: Based on infrastructure network setup for VMs + +dcae_key_path = <key_for_dcae_component> +onap_key_path = <key_for_onap_component> + +Run python onap_docker_upgrade.py + +To run daily basis, add the script to cron job and redirect output to a log file |