Add support for enums as configuration attributes in config and netconf subsystem.