def get_hosting_device_configuration(self, context, id):
admin_context = context.is_admin and context or context.elevated()<EOL>agents = self._dmplugin.get_cfg_agents_for_hosting_devices(<EOL>admin_context, [id], admin_state_up=True, schedule=True)<EOL>if agents:<EOL><INDENT>cctxt = self.client.prepare(server=agents[<NUM_LIT:0>].host)<EOL>return cctxt.call(context, '<STR_LIT>',<EOL>payload={'<STR_LIT>': id})<EOL><DEDENT>
Fetch configuration of hosting device with id.

        The configuration agent should respond with the running config of
        the hosting device.