Skip to content

Issue running netcopa with my own configs #14

Description

@owensj8

I am having trouble running the parser with my own configs. The sample ones run just fine but when I add a fairly generic xe config it doesn't like it. Am I missing something simple?

'''* Loading configurations
cisco_xe-OFFICE_IDF1 [ok]
***** Copy host_vars entry to temp directory
cisco_xe-OFFICE_IDF1 [ok]
***** Retrieving OS
cisco_xe-OFFICE_IDF1 [ok]
***** Loading OS removers
cisco_xe-OFFICE_IDF1: cisco_xe [ok]
***** Loading OS parsers
cisco_xe-OFFICE_IDF1: cisco_xe [ok]
***** Run pre-parse removers
cisco_xe-OFFICE_IDF1 [ok]
***** Running parsers and comparing template output to actual
cisco_xe-OFFICE_IDF1: cisco_xe/aaa accounting [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/aaa authentication [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/aaa authorization [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/aaa groups [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/aaa [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/access-list extended [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/access-list standard [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/alias [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/banner [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/boot [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/class-map [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/clock [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/control-plane [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/enable secret [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/hostname [ok]
cisco_xe-OFFICE_IDF1: cisco_xe/interface [fail] Failed to extract jinja output from configuration.
' '
'######## EXTRACTIONS'
{'class_maps': {'non-client-nrt-class': {'match_type': 'match-any',
'name': 'non-client-nrt-class'}},
'hostname': 'OFFICE_IDF1.1',
'interfaces': {'GigabitEthernet0/0': {'ip': {'address': {'negate': True}},
'name': 'GigabitEthernet0/0',
'negotiation': {'negate': False,
'type': 'auto'},
'vrf': 'Mgmt-vrf'},
'GigabitEthernet1/0/1': {'name': 'GigabitEthernet1/0/1',
'switchport': {'access': {'vlan': 201},
'mode': ['access']}},
'GigabitEthernet1/0/10': {'name': 'GigabitEthernet1/0/10',
'switchport': {'access': {'vlan': 201},
'mode': ['access']}},
'GigabitEthernet1/0/11': {'name': 'GigabitEthernet1/0/11',
'switchport': {'access': {'vlan': 201},
'mode': ['access']}},
'GigabitEthernet1/0/12': {'name': 'GigabitEthernet1/0/12',
'switchport': {'access': {'vlan': 201},
'mode': ['access']}},
'''

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions