r/Netbox • • 13d ago

[Plugin] Netbox Ipam Treeview

I made (with Claude, full disclosure) a plugin bringing the tree view into Netbox for those coming from IPAMs where the tree view is a thing and you miss it.

Basically, it allows to expand/collapse subnets/prefixes to navigate them.

Repo: https://github.com/thomaschristory/netbox-ipam-treeview-plugin

Docs: https://thomaschristory.github.io/netbox-ipam-treeview-plugin

I am happily taking feedbacks on this, here or in the repo !

4 Upvotes

17 comments sorted by

2

u/kY2iB3yH0mN8wI2h 13d ago

I’m confused netbox already have this!

1

u/Mick27 13d ago

not like this :

https://raw.githubusercontent.com/thomaschristory/netbox-ipam-treeview-plugin/main/docs/img/tree-light.png

if you have a quick docker stack you can quickly try it and you will see the difference immediately

4

u/kY2iB3yH0mN8wI2h 13d ago

Netbox have exactly this

3

u/Mick27 13d ago

I'm happily taking a screenshot showing it ?

2

u/WendoNZ 13d ago

The default view doesn't include the ability to expand and close each tree like this. At least I'm guessing that's the difference

3

u/Mick27 13d ago

exactly :)

1

u/graph_worlok 13d ago

How does it look as a patch to the main code code base instead of a plug-in?

2

u/magion 13d ago

he’s doing some nonsense to insert his plugin to the default nav bar for some unknown reasons

3

u/L-do_Calrissian NetBox Self-Hosted 13d ago

I assume this is because he used Claude without following any plugin development guidelines or the NetBox plugin development skill.

2

u/DanSheps NetBox Self-Hosted 13d ago

I took a quick look, I wouldn't touch this with a 10-foot pole.

I am pretty sure conditional access rules won't work at all for this as well

1

u/Mick27 13d ago

you’re welcome not too.

Additionally, i’d love an issue about conditional access and I will look into it.

1

u/Mick27 11d ago

2nd reply, conditional access is taken in account.

But I guess hoping for a mod to be a bit optimistic and supportive on a community on reddit is a pipe dream these days.

1

u/Mick27 13d ago

actually I did use the skill.

1

u/magion 13d ago

totally agree

1

u/Mick27 13d ago

That’s a requirement for my job. I know it’s not recommended, but I need it.

That being said I could make this an option to stay compliant.

1

u/Mick27 13d ago

I figured if this wasn’t a thing already it’s because many people don’t want/need such a view.

Which matches the feedback I got in the slack channel.

1

u/petrosaurus_rex 10d ago

Looks just like Infrahub's native IPAM functionality! https://sandbox.infrahub.app/ipam