def __init__(self, **device_params):
        try:
            self._host_ip = device_params['management_ip_address']
            self._host_ssh_port = device_params['protocol_port']
            credentials = device_params.get('credentials', {})
            self._username = credentials.get('user_name')
            self._password = credentials.get('password')
            self._timeout = (device_params.get('timeout') or
                             cfg.CONF.cfg_agent.device_connection_timeout)
            self._ncc_connection = None
            self._itfcs_enabled = False
        except __HOLE__ as e:
            LOG.error(_LE("Missing device parameter:%s. Aborting "
                          "IosXeRoutingDriver initialization"), e)
            raise cfg_exc.InitializationException()

    ###### Public Functions ########
dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cfg_agent/device_drivers/csr1kv/iosxe_routing_driver.py/IosXeRoutingDriver.__init__