Unify the template arguments across various template cnfvars
authorPlamen Dimitrov <plamen.dimitrov@intra2net.com>
Thu, 12 May 2022 03:57:33 +0000 (06:57 +0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 19 May 2022 09:13:27 +0000 (11:13 +0200)
commita4a705ccc07fc6345fb34eb7478153f897c95268
tree2b9aecbb5f81454a7c878f093fdbd4a296816aef
parentbe8c26c19d4431d0a851881376940077a7880620
Unify the template arguments across various template cnfvars

There are no obligatory fields as whether any of them are used or
required depends entirly on the cnfvar type/mode for each template.
For instance, AD users may not have password field, GWINLAN providers
may not have local IP, DSL and PPTP providers may not have provider IP,
and protocol forwarding might not have source and destination ports.

It is thus better to unify the function signatures entirely and later
provide some extra facilitation for different cnfvar types/modes.
src/cnfvar/templates.py