def process_uplink_event(self, msg, phy_uplink):
        LOG.info(_LI("Received New uplink Msg %(msg)s for uplink %(uplink)s"),
                 {'msg': msg.get_status(), 'uplink': phy_uplink})
        if msg.get_status() == 'up':
            ovs_exc_raised = False
            try:
                self.ovs_vdp_obj_dict[phy_uplink] = ovs_vdp.OVSNeutronVdp(
                    phy_uplink, msg.get_integ_br(), msg.get_ext_br(),
                    msg.get_root_helper())
            except Exception as exc:
                LOG.error(_LE("OVS VDP Object creation failed %s"), str(exc))
                ovs_exc_raised = True
            if (ovs_exc_raised or not self.ovs_vdp_obj_dict[phy_uplink].
                    is_lldpad_setup_done()):
                # Is there a way to delete the object??
                LOG.error(_LE("UP Event Processing NOT Complete"))
                self.err_que.enqueue(constants.Q_UPL_PRIO, msg)
            else:
                self.uplink_det_compl = True
                veth_intf = (self.ovs_vdp_obj_dict[self.phy_uplink].
                             get_lldp_bridge_port())
                LOG.info(_LI("UP Event Processing Complete Saving uplink "
                             "%(ul)s and veth %(veth)s"),
                         {'ul': self.phy_uplink, 'veth': veth_intf})
                self.save_uplink(uplink=self.phy_uplink, veth_intf=veth_intf)
        elif msg.get_status() == 'down':
            # Free the object fixme(padkrish)
            if self.ovs_vdp_obj_dict in phy_uplink:
                self.ovs_vdp_obj_dict[phy_uplink].clear_obj_params()
            else:
                ovs_vdp.delete_uplink_and_flows(self.root_helper, self.br_ex,
                                                phy_uplink)
            self.save_uplink()
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/apps/saf/agent/vdp/dfa_vdp_mgr.py/VdpMgr.process_uplink_event/swapped operands of `in`