Closed proebstle closed 10 months ago
@proebstle I need the output from a swtich so I can prepare a test scenario. With CX are you referring to https://github.com/networktocode/ntc-templates/tree/master/tests/aruba_aoscx ?
@proebstle check https://github.com/dainok/netdoc/pull/99 Seems that NTC Templates need to be implemented or adjusted (https://github.com/networktocode/ntc-templates/tree/master/tests/aruba_aoscx)
@proebstle please check https://github.com/dainok/netdoc/pull/99 NTC templates PR is https://github.com/networktocode/ntc-templates/pull/1559
@proebstle please check https://github.com/dainok/netdoc/releases/tag/3.5.11 and let me know
Maybe the code can help you... Discover by SSH. command "no page" for no paging
def discovery(nrni, filters=None, filter_type=None):
"""Discovery Arubx CX devices."""# platform = "ArubaCX"
host_list = []failed_host_list = []
# Define commands, in order with command, template, enabledcommands = [
("show system", "HOSTNAME"),("show running-config", None),
("show interfaces brief", None),("show vlan", None),
("show cdp neighbor-info", None),("show lldp neighbor-info", None),
("show mac-address", None),("show arp", None),
("show lag", None),("show ip interface brief", None),
("show ip route", None),("show version", None),
("show system", None),("show logging", None),
("show spanning-tree", None),` ]