7 def validator(validated_variables):
9 # maint_user = validated_variables["PLC_API_MAINTENANCE_USER"]
10 # root_user = validated_variables["PLC_ROOT_USER"]
11 # if maint_user == root_user:
12 # errStr="PLC_API_MAINTENANCE_USER=%s cannot be the same as PLC_ROOT_USER=%s"%(maint_user,root_user)
13 # raise plc_config.ConfigurationException(errStr)
16 "SFA_GENERIC_FLAVOUR",
18 "SFA_REGISTRY_ROOT_AUTH",
31 'usual_variables':usual_variables,
32 'config_dir':"/etc/sfa",
33 'validate_variables':{},
34 'validator':validator,
37 if __name__ == '__main__':
40 plc_config.main(command,argv,configuration)