The networking_generic_switch.config Module

networking_generic_switch.config.get_config()
networking_generic_switch.config.get_devices()

Parse supplied config files and fetch defined supported devices.