summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
diff options
context:
space:
mode:
authorSagarS <sagar.shetty@est.tech>2021-08-16 16:55:10 +0100
committerSagarS <sagar.shetty@est.tech>2021-08-26 13:25:20 +0100
commit4b80d09d8c55c6361dcea126e267ae7207bdaac3 (patch)
tree583fbef61ddf976395380b5981f7cc3af932c90e /components/pm-subscription-handler/pmsh_service/mod/aai_client.py
parent1972718be2da50d09ea3284a7ab1746952be4cbb (diff)
Subscription API DB changes with IPV4, IPV6 updates1.3.2-pmsh
Issue-ID: DCAEGEN2-2823 Change-Id: Ie455b1016ae1372934fa874667226ca9972b8d7f Signed-off-by: SagarS <sagar.shetty@est.tech>
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/aai_client.py')
-rwxr-xr-xcomponents/pm-subscription-handler/pmsh_service/mod/aai_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
index fff91e7e..e53ea3a2 100755
--- a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
+++ b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
@@ -135,7 +135,8 @@ def _filter_nf_data(nf_data, app_conf):
name_identifier = 'pnf-name' if nf['node-type'] == 'pnf' else 'vnf-name'
new_nf = mod.network_function.NetworkFunction(
nf_name=nf['properties'].get(name_identifier),
- ip_address=nf['properties'].get('ipaddress-v4-oam'),
+ ipv4_address=nf['properties'].get('ipaddress-v4-oam'),
+ ipv6_address=nf['properties'].get('ipaddress-v6-oam'),
model_invariant_id=nf['properties'].get('model-invariant-id'),
model_version_id=nf['properties'].get('model-version-id'))
if not new_nf.set_nf_model_params(app_conf):