From 0080fa4309a40599b7d239b53bab9a74182ae500 Mon Sep 17 00:00:00 2001 From: efiacor Date: Tue, 8 Sep 2020 16:26:50 +0100 Subject: [PMSSH] Add sdnc model info to event publish Signed-off-by: efiacor Change-Id: I89e25e99a2d541a29cf4a8dde986fab5b1812c9e Issue-ID: DCAEGEN2-2405 --- .../pm-subscription-handler/pmsh_service/mod/subscription_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py') diff --git a/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py b/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py index e74a1732..6de702f2 100644 --- a/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py +++ b/components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py @@ -54,8 +54,8 @@ class SubscriptionHandler: def _activate(self, local_admin_state, new_administrative_state): logger.info(f'Administrative State has changed from {local_admin_state} ' f'to {new_administrative_state}.') - existing_nfs_in_aai = aai.get_pmsh_nfs_from_aai(self.app_conf) - self.app_conf.subscription.activate_subscription(existing_nfs_in_aai, self.mr_pub, + nfs_in_aai = aai.get_pmsh_nfs_from_aai(self.app_conf) + self.app_conf.subscription.activate_subscription(nfs_in_aai, self.mr_pub, self.app_conf) self.app_conf.subscription.update_subscription_status() logger.info('Start listening for new NFs on AAI-EVENT topic in MR.') -- cgit 1.2.3-korg