This replaces the old has_role Template "function" with a proper method
of the ngcp object, anywhere we need to check for the host role,
including other macros that could not use our previous "function"
before. Which will make it possible to modify the has_role behavior in
a single place, and affect all code paths.
Change-Id: I73526aa77fab3dec8f33361e142164204d7c1481
* ['online', 'inactive'] as default
* introduced in order to be able to filter values at templates
so we have the ability to install new nodes without
impacting the working system
Change-Id: I78739f66f80da310347861e86b682fcf72745080
This was producing empty values at kamailio.cfg template on CE
with a cluster_set of central type
Thanks to Anibal Cañada for the bugreport
Change-Id: Ib11295611859ef2828dc1d2e6900bf201c20ad7a
This was producing empty values at ngcp-ossbss template mysql_values.cfg file
on a cluster_set of central type
Change-Id: I68160a9c5bef078d3154c6e8da6db1e9bcbb07aa