Enbo Wang | ebbd0c3 | 2020-03-12 16:49:42 +0800 | [diff] [blame^] | 1 | --- PNF_CDS_RESTCONF/Templates/pnf-swug-download-ne-sw-template.vtl 2020-03-12 12:13:38.660945300 +0800 |
| 2 | +++ PNF_SW_UPGRADE_WITH_EM/Templates/pnf-swug-download-ne-sw-template.vtl 2020-03-12 23:12:49.980281200 +0800 |
| 3 | @@ -7,17 +7,21 @@ |
| 4 | "operation": "merge", |
| 5 | "target": "/", |
| 6 | "value": { |
| 7 | - "software-upgrade": { |
| 8 | - "upgrade-package": [ |
| 9 | + "software-management": { |
| 10 | + "pnf-software-package": [ |
| 11 | { |
| 12 | - "id": "${target-software-version}", |
| 13 | - "current-status": "INITIALIZED", |
| 14 | - "action": "%actionName%", |
| 15 | - "user-label": "trial software update", |
| 16 | - "uri": "sftp://127.0.0.1/test_software_2.img", |
| 17 | - "software-version": "${target-software-version}", |
| 18 | - "user": "test_user", |
| 19 | - "password": "test_password" |
| 20 | + "neIdentifier": "${pnf-id}", |
| 21 | + "current-status": "INITIALIZED", |
| 22 | + "action": "%actionName%", |
| 23 | + "software-version": "${target-software-version}", |
| 24 | + "swToBeDownloaded": [ |
| 25 | + { |
| 26 | + "swLocation": "http://192.168.35.96:10080/ran_du_pkg1-v2.zip", |
| 27 | + "swFileSize": "12345678", |
| 28 | + "swFileCompression": "ZIP", |
| 29 | + "swFileFormat": "binary" |
| 30 | + } |
| 31 | + ] |
| 32 | } |
| 33 | ] |
| 34 | } |