Added code to parse dpid in config