

def _get_test_hosting_device_attr(self, template_id, management_port_id, admin_state_up=True, **kwargs):
    data = {
        'tenant_id': kwargs.get('tenant_id', self._tenant_id),
        'template_id': template_id,
        'credentials_id': kwargs.get('credentials_id'),
        'device_id': kwargs.get('device_id', 'mfc_device_id'),
        'admin_state_up': admin_state_up,
        'management_ip_address': kwargs.get('management_ip_address', '10.0.100.10'),
        'management_port_id': management_port_id,
        'protocol_port': kwargs.get('protocol_port', 22),
        'cfg_agent_id': kwargs.get('cfg_agent_id'),
        'tenant_bound': kwargs.get('tenant_bound'),
        'auto_delete': kwargs.get('auto_delete', False),
    }
    return data

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/tests/unit/cisco/device_manager/test_db_device_manager.py DeviceManagerTestCaseMixin._get_test_hosting_device_attr/original