diff options
-rw-r--r-- | yardstick/network_services/helpers/samplevnf_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/network_services/helpers/samplevnf_helper.py b/yardstick/network_services/helpers/samplevnf_helper.py index 543d814df..dbaa47c19 100644 --- a/yardstick/network_services/helpers/samplevnf_helper.py +++ b/yardstick/network_services/helpers/samplevnf_helper.py @@ -90,7 +90,7 @@ class MultiPortConfig(object): def make_ip_addr(ip, mask_len): try: return ipaddress.ip_interface(six.text_type('/'.join([ip, mask_len]))) - except ValueError: + except (TypeError, ValueError): # None so we can skip later return None |