def delete_hosting_device_resources(self, context, tenant_id, mgmt_port,<EOL>**kwargs):
if mgmt_port is not None:<EOL><INDENT>try:<EOL><INDENT>self._cleanup_hosting_port(context, mgmt_port['<STR_LIT:id>'])<EOL><DEDENT>except n_exc.NeutronException as e:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>", {'<STR_LIT:port>': mgmt_port['<STR_LIT:id>'],<EOL>'<STR_LIT>': DELETION_ATTEMPTS,<EOL>'<STR_LIT>': str(e)})<EOL><DEDENT><DEDENT>
Deletes resources for a hosting device in a plugin specific way.