1
0
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:
Sam Tannous
2015-06-16 17:15:57 -04:00
parent 6f10696cc3
commit 76cb1a631e

View File

@ -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