code: def get_hosting_device_configuration(self, context, id):
          
          admin_context = context.is_admin and context or context.elevated()
          agents = self._dmplugin.get_cfg_agents_for_hosting_devices(
              admin_context, [id], admin_state_up=True, schedule=True)
          if agents:
              cctxt = self.client.prepare(server=agents[0].host)
              return cctxt.call(context, 'get_hosting_device_configuration',
                                payload={'hosting_device_id': id})
docs: Fetch configuration of hosting device with id.
  
          The configuration agent should respond with the running config of
          the hosting device.