def find_or_make_template_for_network(self, name):

        # templates for networks we may encounter
        if name=='nat-net':
            template_dict = None # {"name": "private-nat", "visibility": "private", "translation": "nat"}
        elif name=='sharednet1':
            template_dict = {"name": "dedicated-public", "visibility": "public", "translation": "none"}
        else:
            template_dict = {"name": "private", "visibility": "private", "translation": "none"}

        # if we have an existing template return it
        templates = NetworkTemplate.objects.filter(name=template_dict["name"])
        if templates:
            return templates[0]

        if template_dict == None:
            return None

        template = NetworkTemplate(**template_dict)
        template.save()
        return template
Return a list of choices for this chooser,
dataset/ETHPy150Open open-cloud/xos/xos/openstack/manager.py/OpenStackManager.find_or_make_template_for_network--crossover with--dataset/ETHPy150Open lsaffre/lino/lino/utils/choosers.py/Chooser.get_request_choices