netbox-agent icon indicating copy to clipboard operation
netbox-agent copied to clipboard

Several fields on the cable API serializers have been altered or removed to support multiple-object cable terminations

Open bds-congnguyen opened this issue 3 years ago • 4 comments

Describe the bug The Netbox api fields was changed from version 3.3.0 and it cause error AttributeError: object has no attribute "termination_b"

Expected behavior A clear and concise description of what you expected to happen.

Configuration file

Environment:

  • Netbox agent version: master
  • Netbox: v3.3.1 Additional context Details of API fields listed at here https://github.com/netbox-community/netbox/releases/tag/v3.3.0

bds-congnguyen avatar Sep 01 '22 03:09 bds-congnguyen

Hi @bds-congnguyen

Thanks for the issue

Unfortunately, netbox-agent is not yet compatible with Netbox 3.3 which introduces lots of changes in the cable API

You should disable the LLDP feature from the agent while I, or a contributor, make the necessary modifications

Thanks !

Solvik avatar Sep 14 '22 16:09 Solvik

https://github.com/netbox-community/pynetbox/issues/491

debdolph avatar Sep 16 '22 12:09 debdolph

So now pynetbox is released with support for 3.3.

KivraChristoffer avatar Dec 20 '22 13:12 KivraChristoffer

I've created a branch for cable management support with Netbox >3.3 and pynetbox v7 https://github.com/Solvik/netbox-agent/pull/277

Solvik avatar Aug 18 '23 15:08 Solvik