Skip to content
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

nb-dt-import.py doesn´t import interfaces of some devices #162

Open
ccdgithub opened this issue Jan 29, 2025 · 3 comments
Open

nb-dt-import.py doesn´t import interfaces of some devices #162

ccdgithub opened this issue Jan 29, 2025 · 3 comments

Comments

@ccdgithub
Copy link

I have a new Netbox docker installation (v4.2-3.1.1).
When I import first time the devices to the db, there are devices that have lost the interface information, for example the 3Com devices (4200G-12-Port, 4200G-PWR-24-port.yml... all of them but the last one), no matter they have interfaces defined: (https://github.com/netbox-community/devicetype-library/blob/master/device-types/3Com/4200G-12-Port.yml)...
Same result if you delete from the UI the 3Com devices and import again.
My versions:

python --version
Python 3.11.2

pip freeze
certifi==2024.12.14
charset-normalizer==3.4.1
gitdb==4.0.12
GitPython==3.1.32
idna==3.10
packaging==23.2
pynetbox==7.3.4
python-dotenv==1.0.0
PyYAML==6.0.1
requests==2.32.3
smmap==5.0.2
urllib3==2.3.0

@benjaminteyssier
Copy link

I encouter the same issue. For other devices, it is just missing some interfaces. For instance, the Cisco Nexus 93120TX interfaces start at Eth1/57.

@ccdgithub
Copy link
Author

Have a look, benjaminteyssier to : #155 ...
Chatasos fork works ok, if you want to give a try: https://github.com/chatasos/Device-Type-Library-Import-Updated/tree/develop

@benjaminteyssier
Copy link

Perfect, that's exactly what I was looking for. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants