OS_IDX overwritten when using vif utility

Bug #1707982 reported by Damian Rakowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Hari Prasad Killi

Bug Description

I'm using Contrail R3.1.

When creating a new virtual interface, using vif utility tool, and specifying vif number by option --vif <vif ID>, both vif_idx and vif_os_idx of resulting vr_interface structure are set to the vif ID.

Is this the intended behaviour? If I understand it correctly, vif_idx should be set to the requested parameter, but vif_os_idx should be set according to the interface's name via if_nametoindex, independently of the value passed to --vif. Is this correct?.

Tags: vif
Revision history for this message
sagarkchitnis (sagarc) wrote :

Hari, Please see my email about this. This was an issue that came up during windows port.

Changed in opencontrail:
assignee: nobody → Hari Prasad Killi (haripk)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.