Humm... I understand. The problem then is to overload the same paramter (role) for two different things: the contextBroker role (CB or CM) and the IP mode (IPv6 or just IPv4).

Why don't to use two different arguments in the brokerStart function for this?