def _get_running_config(self, split=True):
conn = self._get_connection()<EOL>config = conn.get_config(source="<STR_LIT>")<EOL>if config:<EOL><INDENT>root = ET.fromstring(config._raw)<EOL>running_config = root[<NUM_LIT:0>][<NUM_LIT:0>]<EOL>if split is True:<EOL><INDENT>rgx = re.compile("<STR_LIT>")<EOL>ioscfg = rgx.split(running_config.text)<EOL><DEDENT>else:<EOL><INDENT>ioscfg = running_config.text<EOL><DEDENT>return ioscfg<EOL><DEDENT>
Get the IOS XE device's current running config.

        :return: Current IOS running config as multiline string