def getVnicEther(connHandle, inVnicName, inLsServer):
        logging.debug('In getVnicEther')
        inFilter = FilterFilter()

        andFilter0 = AndFilter()

        wcardFilter = WcardFilter()
        wcardFilter.Class = VnicEther.ClassId()
        wcardFilter.Property = "dn"
        wcardFilter.Value = inLsServer.Dn%"%s/"
        andFilter0.AddChild(wcardFilter)

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

        inFilter.AddChild(andFilter0)

        vnicEther = connHandle.ConfigResolveClass(VnicEther.ClassId(), inFilter, YesOrNo.TRUE, dumpXml = False)

        if (vnicEther.errorCode == 0):
                return vnicEther.OutConfigs.GetChild()
        return 0
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/static-raw/scripts/UcsUtils.py/getVnicEther/swapped operands of `%`