'Validate SoftwareComponent properties consistency.'

def validate(self):

    super(SoftwareComponent, self).validate()
    configs = self.properties[self.CONFIGS]
    config_actions = set()
    for config in configs:
        actions = config.get(self.CONFIG_ACTIONS)
        if any(((action in config_actions) for action in actions)):
            msg = (_('Defining    more    than    one    configuration    for    the    same    action    in    SoftwareComponent    "%s"    is    not    allowed.') % self.name)
            raise exception.StackValidationFailed(message=msg)
        config_actions.update(actions)
