Fixed CDR_IMAGE_VERSION in portal script
[demo.git] / docker_upgrade_scripts / README.md
1 #Docker Upgrade Scripts
2
3 ##Description
4 These scripts will upgrade docker images in all ONAP components 
5
6 ##Setting UP
7
8 apt-get install python-pip
9
10 pip install Fabric
11
12 Download all the files and modify onap_docker_upgrade.conf with correct configuration based on infrastructure endpoints
13
14 [keystone_auth]
15 user = <user_name>
16 password = <password>
17 tenant = <tenant>
18 url = <keystone_url>
19
20 user: User name to access the tenant
21 Password: Password for the user authentication
22 tenant: Tenant information
23 url: keystone endpoint URL. Currently v2.0 is only supported
24
25 [onap]
26 instance_prefix = <name>
27
28 instance_prefix: ONAP instance prefix configured in heat template or VM name
29
30 Deployment type: 1-nic-nofloat, 1-nic-float, 2-nic
31 deployment_type = <type>
32
33 deployment_type: Based on infrastructure network setup for VMs
34
35 dcae_key_path = <key_for_dcae_component>
36 onap_key_path = <key_for_onap_component>
37
38 Run python onap_docker_upgrade.py
39
40 To run daily basis, add the script to cron job and redirect output to a log file