Fix VLAN info not added to interfacesByIdx map
VLAN interfaces were initially created with a temporary index, which
only updated the `interfaces` map and not `interfacesByIdx`. This change
updates `interfacesByIdx` once `createInterface` is triggered after VLAN
creation.
Tested:
1. Enabled VLAN.
2. Verified VLAN IP by launching WebUI with VLAN IP.
3. Checked VLAN D-Bus objects are created.
4. Disabled VLAN.
5. Checked VLAN D-Bus objects are deleted.
Change-Id: I077adc400ff1248c9c7dda726206f9c54d8fb361
Signed-off-by: Rashid MP <rashidmp@ami.com>
1 file changed