def METHOD_NAME(module, teamd_config):
    t = jinja2.Template(portchannel_conf_tmpl)
    for conf in teamd_config:
        with open(os.path.join(portchannel_conf_path, "{}.conf".format(conf["name"])), 'w') as fd:
            fd.write(t.render(conf))