-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue running netcopa with my own configs #14
Comments
I'm having similar issues too on the interfaces and other parts.
|
My issue seems to be related to multiple "address-family ipv4 vrf" sections in my BGP config. Not sure how to fix this yet. [edit] |
Today I found that the order of the input config matters. For example the following works for XE
However the config below doesn't
|
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']}},
'''
The text was updated successfully, but these errors were encountered: