Commit a1b2e575 authored by Venkata Harshavardhan Reddy Allu's avatar Venkata Harshavardhan Reddy Allu Committed by harsha
Browse files

Fix logic in adding prefix to ip-a in classifier



This commit has following changes:

- When 'source-ip-address' or 'destination-ip-address' are not provided
  under "nsd:nsd-catalog:nsd:vnffgd:classifier:match-attributes" this
  would avoid adding the '/32' prefix in the classifier definition.

- add details to classifier definition only if provided.

This patch helps us in creating classifier with minimum details and
avoid errors when 'source-ip-address' or  'destination-ip-address'
 were not provided in nsd.

Change-Id: I5b572552bd670b56faa0aba5833209d198e10450
Signed-off-by: default avatarVenkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
parent 40c6a3fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment