def add_router_to_hosting_device(self, client, hosting_device_id, body):
        """Adds a router to hosting device."""
        res_path = hostingdevice.HostingDevice.resource_path
        return client.post((res_path + DEVICE_L3_ROUTERS) %
                           hosting_device_id, body=body)
Adds a router to hosting device.