mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
vxlan error 'str' object has no attribute 'append'
Ticket: CM-6329 Reviewed By: roopa Testing Done: unit testing with vxlan configs A bug iproute2.py creates an unnecessary warning about appending the ageing value to a string. This patch removes the append and simply sets the ageing value.
This commit is contained in:
@ -79,7 +79,7 @@ class iproute2(utilsBase):
|
||||
elif citems[j] == 'svcnode':
|
||||
vattrs['svcnode'].append(citems[j+1])
|
||||
elif citems[j] == 'ageing':
|
||||
vattrs['ageing'].append(citems[j+1])
|
||||
vattrs['ageing'] = citems[j+1]
|
||||
elif citems[j] == 'nolearning':
|
||||
vattrs['learning'] = 'off'
|
||||
# get vxlan peer nodes
|
||||
|
Reference in New Issue
Block a user