aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-05-18 06:27:36 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-05-18 06:28:28 +0000
commitacd9704269723602f5832ff1c78e2a86ffacd318 (patch)
tree0509b29cc72af5d6640399109d59f6cef9d5210f /src/onaptests
parent060210803b263b681e696bc40bdbe9f254d729db (diff)
[TEST] Patch ip values in pnf-simulator event
Issue-ID: INT-1894 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I59b141fce25581b0fd92fcc3e2857148b7002c2b
Diffstat (limited to 'src/onaptests')
-rw-r--r--src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py
index 3483351..f936839 100644
--- a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py
+++ b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py
@@ -109,6 +109,10 @@ class PnfSimulatorCnfRegisterStep(BaseStep):
"event": {
"commonEventHeader": {
"sourceName": settings.SERVICE_INSTANCE_NAME
+ },
+ "pnfRegistrationFields": {
+ "oamV4IpAddress": "192.168.0.1",
+ "oamV6IpAddress": "2001:db8::1428:57ab"
}
}
}