diff options
author | haiyanx1.zhang <haiyanx1.zhang@intel.com> | 2020-01-21 10:08:08 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-22 08:13:10 +0000 |
commit | 8aa83d922392c488df80cc1c490c0715b94aa250 (patch) | |
tree | c25e2edc69c394b6b8641fd08b521e494a6b7f4a /resources/libraries/python/LoadBalancerUtil.py | |
parent | 654bfa4c33dca6d6eeba6636199de0ff80f75652 (diff) |
fix loadbalancer running error(Caused by code upgrades)
Signed-off-by: haiyanx1.zhang <haiyanx1.zhang@intel.com>
Change-Id: I39bd1d9ad59971bb8cba6e664ba5509abba6a527
Diffstat (limited to 'resources/libraries/python/LoadBalancerUtil.py')
-rw-r--r-- | resources/libraries/python/LoadBalancerUtil.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/LoadBalancerUtil.py b/resources/libraries/python/LoadBalancerUtil.py index c8e6c0ddd7..340afe50a3 100644 --- a/resources/libraries/python/LoadBalancerUtil.py +++ b/resources/libraries/python/LoadBalancerUtil.py @@ -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 ) |