def METHOD_NAME(self, info):
    if info.type == SUBSCRIPTION_TYPE:
        sub_id = info.name  # The 'name' field of child info is the subscription id
        self.add_subscription_host(
            Deployment.sub_name_to_deployment_name(info.display_name),
            {
                ENV_SUB_ID: sub_id,
                ENV_CONTAINER_QUEUE_NAME: 'c7n-{}'.format(info.name[-4:])
            },
        )
    elif info.type == MANAGEMENT_GROUP_TYPE and info.children:
        for child in info.children:
            self.METHOD_NAME(child)