aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/uat-blueprints/PNF_CDS_RESTCONF/Templates/pnf-swug-download-ne-sw-template.vtl
blob: 695b668661e8dfb6f08f87ff5ed86dd1866c27b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  "ietf-restconf:yang-patch": {
    "patch-id": "patch-1",
    "edit": [
      {
        "edit-id": "edit1",
        "operation": "merge",
        "target": "/",
        "value": {
          "software-upgrade": {
            "upgrade-package": [
              {
                  "id": "${target-software-version}",
                  "current-status": "INITIALIZED",
                  "action": "%actionName%",
                  "user-label": "trial software update",
                  "uri": "sftp://127.0.0.1/test_software_2.img",
                  "software-version": "${target-software-version}",
                  "user": "test_user",
                  "password": "test_password"
              }
            ]
          }
        }
      }
    ]
  }
}