def _delete_port_profile_from_ucsm(self, handle, port_profile, ucsm_ip):
        """Deletes Port Profile from UCS Manager."""
        port_profile_dest = (const.PORT_PROFILESETDN + const.VNIC_PATH_PREFIX +
                             port_profile)
        handle.StartTransaction()

        # Find port profile on the UCS Manager
        p_profile = handle.GetManagedObject(
            None,
            self.ucsmsdk.VnicProfile.ClassId(),
            {self.ucsmsdk.VnicProfile.NAME: port_profile,
            self.ucsmsdk.VnicProfile.DN: port_profile_dest})

        if p_profile:
            handle.RemoveManagedObject(p_profile)
        else:
            LOG.warning('UCS Manager network driver did not find '
                        'Port Profile %s to delete.',
                        port_profile)

        handle.CompleteTransaction()