def getAdaptorHostEthIf(inConnHandle, inCompServer, inVnicName):
        inFilter = FilterFilter()

        andFilter0 = AndFilter()

        wcardFilter = WcardFilter()
        wcardFilter.Class = "adaptorHostEthIf"
        wcardFilter.Property = "dn"
        wcardFilter.Value = inCompServer.Dn%"%s/"
        andFilter0.AddChild(wcardFilter)

        eqFilter = EqFilter()
        eqFilter.Class = "adaptorHostEthIf"
        eqFilter.Property = "name"
        eqFilter.Value = inVnicName
        andFilter0.AddChild(eqFilter)

        inFilter.AddChild(andFilter0)

        adaptorHostEthIfs = inConnHandle.ConfigResolveClass(AdaptorHostEthIf.ClassId(), inFilter, YesOrNo.TRUE, dumpXml = False)
        if (adaptorHostEthIfs.errorCode == 0):
                return adaptorHostEthIfs.OutConfigs.GetChild()
        return
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/static-raw/scripts/UcsUtils.py/getAdaptorHostEthIf/swapped operands of `%`