383
384
for iface in sorted(interfaces.values(),
384
385
key=lambda k: (order[k['type']], k['name'])):
387
389
subnets = iface.get('subnets', {})
389
391
for index, subnet in zip(range(0, len(subnets)), subnets):
391
395
iface['mode'] = subnet['type']
392
396
if iface['mode'].endswith('6'):