X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FLoadBalancerUtil.py;h=986d5b598db27ebf8fa3cbc939b1ba6fb292815b;hb=75eb3abbac136bd6e9fb47f595b4f7b8a8294038;hp=c8e6c0ddd7dd532dacf1582db73cfe4cdccd3254;hpb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;p=csit.git diff --git a/resources/libraries/python/LoadBalancerUtil.py b/resources/libraries/python/LoadBalancerUtil.py index c8e6c0ddd7..986d5b598d 100644 --- a/resources/libraries/python/LoadBalancerUtil.py +++ b/resources/libraries/python/LoadBalancerUtil.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Intel and/or its affiliates. +# Copyright (c) 2021 Intel and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -117,7 +117,7 @@ class LoadBalancerUtil: args = dict( pfx={ u"len": 128, - u"address": {u"un": {u"ip": vip_addr}, u"af": 0} + u"address": {u"un": {u"ip4": vip_addr}, u"af": 0} }, protocol=protocol, port=port, @@ -174,11 +174,11 @@ class LoadBalancerUtil: args = dict( pfx={ u"len": 128, - u"address": {u"un": {u"ip": vip_addr}, u"af": 0} + u"address": {u"un": {u"ip4": vip_addr}, u"af": 0} }, protocol=protocol, port=port, - as_address={u"un": {u"ip": as_addr}, u"af": 0}, + as_address={u"un": {u"ip4": as_addr}, u"af": 0}, is_del=is_del, is_flush=is_flush )