def _delete_port_profile_from_ucsm(self, handle, port_profile, ucsm_ip):
port_profile_dest = (const.PORT_PROFILESETDN + const.VNIC_PATH_PREFIX +<EOL>port_profile)<EOL>handle.StartTransaction()<EOL>p_profile = handle.GetManagedObject(<EOL>None,<EOL>self.ucsmsdk.VnicProfile.ClassId(),<EOL>{self.ucsmsdk.VnicProfile.NAME: port_profile,<EOL>self.ucsmsdk.VnicProfile.DN: port_profile_dest})<EOL>if p_profile:<EOL><INDENT>handle.RemoveManagedObject(p_profile)<EOL><DEDENT>else:<EOL><INDENT>LOG.warning('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>port_profile)<EOL><DEDENT>handle.CompleteTransaction()<EOL>
Deletes Port Profile from UCS Manager.