[TEST] Patch ip values in pnf-simulator event 94/121394/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 18 May 2021 06:27:36 +0000 (06:27 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Tue, 18 May 2021 06:28:28 +0000 (06:28 +0000)
Issue-ID: INT-1894
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: I59b141fce25581b0fd92fcc3e2857148b7002c2b

src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py

index 3483351..f936839 100644 (file)
@@ -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"
                                 }
                             }
                         }