From: Mike Manning <mmann...@vyatta.mail-att.com> Date: Mon, 26 Feb 2018 16:48:56 +0000
> Setting an interface into a vrf fails with 'RTNETLINK answers: File > exists' if one of its vifs is already in the same vrf. As the vrf is an > upper device of the vif, it is also showing up as an upper device of > the interface itself. The solution is to restrict this check to devices > other than master. As only one master device can be linked to a device, > in this case the check is for the upper device (vrf) to be linked to as > being the master device rather than any other upper device. > > Signed-off-by: Mike Manning <mmann...@att.com> David A., please review.