def demo(host, user, names):
    with manager.connect(host=host, port=22, username=user) as m:
        with m.locked(target='running'):
            for n in names:
                m.edit_config(target='running', config=template % n)
dataset/ETHPy150Open ncclient/ncclient/examples/nc06.py/demo/original