def cli(self, interface='', output=None):
    'parsing mechanism: cli\n\n        Function cli() defines the cli type output parsing mechanism which\n        typically contains 3 steps: exe\n        cuting, transforming, returning\n        '
    parsed_dict = {}
    if (output is None):
        if interface:
            cmd = self.cli_command[0].format(interface=interface)
        else:
            cmd = self.cli_command[1]
        out = self.device.execute(cmd)
    else:
        out = output
    if out:
        res = parsergen.oper_fill_tabular(device_output=out, device_os='iosxe', table_terminal_pattern='^\\n', header_fields=['Interface', 'IP-Address', 'OK\\?', 'Method', 'Status', 'Protocol'], label_fields=['Interface', 'ip_address', 'interface_is_ok', 'method', 'status', 'protocol'], index=[0])
        if res.entries:
            for (intf, intf_dict) in res.entries.items():
                intf = Common.convert_intf_name(intf)
                del intf_dict['Interface']
                parsed_dict.setdefault('interface', {}).update({intf: intf_dict})
    return parsed_dict
parsing mechanism: cli

Function cli() defines the cli type output parsing mechanism which
typically contains 3 steps: exe
cuting, transforming, returning
def cli(self, interface=, output=None):
    'parsing mechanism: cli\n\n        Function cli() defines the cli type output parsing mechanism which\n        typically contains 3 steps: exe\n        cuting, transforming, returning\n        '
    parsed_dict = {}
    if (output is None):
        if interface:
            cmd = self.cli_command[0].format(interface=interface)
        else:
            cmd = self.cli_command[1]
        out = self.device.execute(cmd)
    else:
        out = output
    if out:
        res = parsergen.oper_fill_tabular(device_output=out, device_os='iosxe', table_terminal_pattern='^\\n', header_fields=['Interface', 'IP-Address', 'OK\\?', 'Method', 'Status', 'Protocol'], label_fields=['Interface', 'ip_address', 'interface_is_ok', 'method', 'status', 'protocol'], index=[0])
        if res.entries:
            for (intf, intf_dict) in res.entries.items():
                intf = Common.convert_intf_name(intf)
                del intf_dict['Interface']
                parsed_dict.setdefault('interface', {}).update({intf: intf_dict})
    return parsed_dict