diff options
author | 2019-04-23 13:42:21 +0000 | |
---|---|---|
committer | 2019-04-23 14:17:45 +0000 | |
commit | 6ab8b62c35c6c850b95dbb3206de78a6ddb1206d (patch) | |
tree | 3d20b3abea69a298426e70e1fe68efa8015e7d13 /test/mocks/emssimulator/swm/pnf_simulators | |
parent | ca2b87e4a1e01d1184b0793ea98ddd5385dec6a6 (diff) |
Add an EMS simulator
Change-Id: I4fedf9a812e19033e7f9a1bff55eae264bc5122f
Issue-ID: INT-1041
Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Diffstat (limited to 'test/mocks/emssimulator/swm/pnf_simulators')
17 files changed, 86 insertions, 0 deletions
diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/current b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/current new file mode 120000 index 000000000..28c218c44 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/current @@ -0,0 +1 @@ +v1
\ No newline at end of file diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/installed_sw.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/installed_sw.json new file mode 100644 index 000000000..9c1921521 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/installed_sw.json @@ -0,0 +1,12 @@ +{ + "ran_du_pkg2-v1": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2", + "version": "v1", + "name": "ran_du_pkg2" + }, + "ran_du_pkg1-v1": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1", + "version": "v1", + "name": "ran_du_pkg1" + } +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/app1 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/app1 new file mode 100644 index 000000000..9df42f773 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/app1 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app1" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/manifest.json new file mode 100644 index 000000000..dd19981aa --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg1/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg1", + "version": "v1" +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/app2 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/app2 new file mode 100644 index 000000000..e74b3655a --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/app2 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app2" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/manifest.json new file mode 100644 index 000000000..9bc88f5ad --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.1/opt/install/v1/ran_du_pkg2/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg2", + "version": "v1" +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/current b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/current new file mode 120000 index 000000000..8494ac270 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/current @@ -0,0 +1 @@ +v2
\ No newline at end of file diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/installed_sw.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/installed_sw.json new file mode 100644 index 000000000..31cddf9a1 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/installed_sw.json @@ -0,0 +1,12 @@ +{ + "ran_du_pkg2-v1": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2", + "version": "v1", + "name": "ran_du_pkg2" + }, + "ran_du_pkg1-v1": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1", + "version": "v1", + "name": "ran_du_pkg1" + } +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/app1 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/app1 new file mode 100644 index 000000000..9df42f773 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/app1 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app1" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/manifest.json new file mode 100644 index 000000000..dd19981aa --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg1/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg1", + "version": "v1" +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/app2 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/app2 new file mode 100644 index 000000000..e74b3655a --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/app2 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app2" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/manifest.json new file mode 100644 index 000000000..9bc88f5ad --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v1/ran_du_pkg2/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg2", + "version": "v1" +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/installed_sw.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/installed_sw.json new file mode 100644 index 000000000..e55c7f5f0 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/installed_sw.json @@ -0,0 +1,12 @@ +{ + "ran_du_pkg1-v2": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1", + "version": "v2", + "name": "ran_du_pkg1" + }, + "ran_du_pkg2-v2": { + "installedLocation": "/home/ubuntu/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2", + "version": "v2", + "name": "ran_du_pkg2" + } +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/app1 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/app1 new file mode 100644 index 000000000..9df42f773 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/app1 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app1" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/manifest.json new file mode 100644 index 000000000..a3e7d0598 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg1/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg1", + "version": "v2" +} diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/app2 b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/app2 new file mode 100644 index 000000000..e74b3655a --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/app2 @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "app2" + diff --git a/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/manifest.json b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/manifest.json new file mode 100644 index 000000000..fe9ffe0e2 --- /dev/null +++ b/test/mocks/emssimulator/swm/pnf_simulators/192.168.1.2/opt/install/v2/ran_du_pkg2/manifest.json @@ -0,0 +1,4 @@ +{ + "name": "ran_du_pkg2", + "version": "v2" +} |