pyats doesn’t parse “show class-map”

Hi There

I am testing the following task;

  • name: Gather all class maps

ansible.utils.cli_parse:

command: show class-map

parser:

name: ansible.netcommon.pyats

os: iosxe

set_fact: cm

The task fails with the following output;

TASK [Gather all class maps] *******************************************************************************************

fatal: [cat3560]: FAILED! => {“changed”: false, “msg”: “The pyats library return an error for ‘show class-map’ for ‘iosxe’. Error: Could not find parser for show class-map under (‘iosxe’,).”}

However, the command “show class-map” appears to have a parser.

https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers/show%2520class-map%252C%2520show%2520class-map%2520%257Bclass_map%257D

Am I missing a step here?

Regards,

Luc