diff options
author | 2020-09-10 12:28:23 +0000 | |
---|---|---|
committer | 2020-09-10 12:28:23 +0000 | |
commit | 2c6ad52e8d0e29b8037776fff035f031558cc4b0 (patch) | |
tree | 08b7de937b034a63c883ac9d3da00f6e2e2b381f /components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py | |
parent | 8265ba613930d3b834d26b0802682c3bef6c2c04 (diff) | |
parent | 0080fa4309a40599b7d239b53bab9a74182ae500 (diff) |
Merge "[PMSSH] Add sdnc model info to event publish"
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py')
-rw-r--r-- | components/pm-subscription-handler/pmsh_service/mod/subscription_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
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.') |