Skip to content

Bulk Onboarding Cisco AP AIR-AP3802I-E-K9 with specified platform cisco_ios not working #132

@Dapsy2000

Description

@Dapsy2000

Environment

  • Python version: 3.6.10
  • NetBox version: 2.9.6
  • ntc-netbox-plugin-onboarding version: Where can I find this information?

Steps to Reproduce

I wanted to onboard Cisco APs.
Cisco AIR-CAP2602I-E-K9, AIR-CAP2702I-E-K9, AIR-CAP2702I-E-K9, AIR-CAP3702I-E-K9 and AIR-LAP1242AG-E-K9 work fine.
The SSH autodetect works because show version has IOS in the output. But Cisco AIR-AP3802I-E-K9 SSH autodetect doesn't work because there ist no IOS in show version output and so it can not find the cisco_ios (ios) as NAPALM driver.

If I try to specify the NAPALM driver via platform in Bulk Import I get an error.

site,ip_address,platform,username,password,secret
Site-A,10.199.155.15,cisco_ios,USER,PASSWORD,SECRET

Error
Failed reason: fail-general
Message: 'ipv4'

But if I do the same thing with NAPALM directly via CLI it works.

from napalm import get_network_driver
driver = get_network_driver("ios")
device = driver(hostname='10.199.155.15',username='USER',password='PASSWORD', optional_args={'secret': 'SECRET'})
device.open()
device.get_facts()

Output:
{'uptime': 7083780,
 'vendor': 'Cisco',
 'os_version': 'Unknown',
 'serial_number': 'ABCDEF12345',
 'model': 'AIR-AP3802I-E-K9',
 'hostname': 'AP-01',
 'fqdn': 'Unknown',
 'interface_list': ['wired0', 'wired1', 'wifi0', 'wifi1']}

device.close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions