def add_port_profile_to_delete_table(self, profile_name, device_id):
if not self.has_port_profile_to_delete(profile_name, device_id):<EOL><INDENT>port_profile = ucsm_model.PortProfileDelete(<EOL>profile_id=profile_name, device_id=device_id)<EOL>with self.session.begin(subtransactions=True):<EOL><INDENT>self.session.add(port_profile)<EOL><DEDENT>return port_profile<EOL><DEDENT>
Adds a port profile to the delete table.