def parse(self, native):
if not hasattr(self, '<STR_LIT>') or not self.parser:<EOL><INDENT>raise NotImplementedError('<STR_LIT>')<EOL><DEDENT>parser = self.parser(native)<EOL>self.intermediate_data = parser.intermediate_data<EOL>del parser<EOL>self.to_netjson()<EOL>
Parses a native configuration and converts
it to a NetJSON configuration dictionary