Commit f9a594aa authored by Andreas Rammhold's avatar Andreas Rammhold Committed by Peter V. Saveliev

force address load for vlan interfaces

`vlan` interfaces, like `bond`, `bridge` & `veth` requires a forced address reload
parent 98504101
......@@ -815,7 +815,7 @@ class Interface(Transactional):
#
# FIXME: probably, we should handle other
# types as well
if self['kind'] in ('bond', 'bridge', 'veth'):
if self['kind'] in ('bond', 'bridge', 'veth', 'vlan'):
for addr in self.nl.get_addr(family=socket.AF_INET6):
self.ipdb.ipaddr._new(addr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment