diff options
author | Enbo Wang <wangenbo@huawei.com> | 2020-03-12 16:49:42 +0800 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2020-03-23 12:39:21 +0000 |
commit | ebbd0c313e44fcbc7bd176371f9b33d1ecf5c97c (patch) | |
tree | f9993eee4333932a7e15fbfe0d4fe932cc1b97ff /test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch | |
parent | e0fe449c16bd0781840e1608e72373ac1d2cc18a (diff) |
Add script and patch to build CBA file to support PNF SW upgrade
Change-Id: I8b0155a0a6022d7b6d172c1b46d1b7d189fcbe8a
Issue-ID: INT-1210
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Diffstat (limited to 'test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch')
-rw-r--r-- | test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch b/test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch new file mode 100644 index 000000000..b5a9c5bb2 --- /dev/null +++ b/test/mocks/emssimulator/pnf-sw-upgrade-cba-builder/patches/restconf-mount-template.vtl.patch @@ -0,0 +1,16 @@ +--- PNF_CDS_RESTCONF/Templates/restconf-mount-template.vtl 2020-03-12 12:13:38.664851500 +0800 ++++ PNF_SW_UPGRADE_WITH_EM/Templates/restconf-mount-template.vtl 2020-03-12 23:36:52.209773400 +0800 +@@ -1,11 +1,11 @@ + { + "node": [ + { +- "node-id": "${pnf-id}", ++ "node-id": "%ems-id%", + "netconf-node-topology:protocol": { + "name": "TLS" + }, +- "netconf-node-topology:host": "${pnf-ipv4-address}", ++ "netconf-node-topology:host": "${ems-ipv4-address}", + "netconf-node-topology:key-based": { + "username": "netconf", + "key-id": "ODL_private_key_0" |