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

[Feature]: Export a Copy/Paste config for direct device import.

Open cyberndj opened this issue 3 years ago • 5 comments

NetBox version

v3.2.7

Feature type

Add a function

Proposed functionality

Add a export function to create a copy/paste ACL for adding to device.

Use case

A link or button would generate a text file or webpage that has a premade configuration you could copy and paste into the device.

External dependencies

I would assume a platform specific ACL parser (ie for Cisco IOS, Juniper, Arista, etc...)

cyberndj avatar Aug 10 '22 19:08 cyberndj

Thanks for opening this Issue! We really appreciate the feedback & testing from users like you!

github-actions[bot] avatar Aug 10 '22 19:08 github-actions[bot]

Not a horrible idea. I personally use NetBox as a source of truth that gets feed to templates. I have not generate much of any templates in NetBox itself. I think this would be more of a export templates. I would not be good at keeping up with the various vendor templates.

I could verify and test that export templates work with the model though. I could provide examples as well.

Let me know if this is interesting.

ryanmerolle avatar Jan 21 '23 03:01 ryanmerolle

Interesting to me, yes! I would be interested to get others input as well. I would also keep it as a low priority compared to the other requests out there.

cyberndj avatar Jan 23 '23 19:01 cyberndj

Saw this gem in base....I would suggest waiting on this until the base gets the fix. May be easier to implement too.

https://github.com/netbox-community/netbox/issues/11559

cyberndj avatar Jan 24 '23 23:01 cyberndj

Since we utilize generic relations in the models, it should now be possible to render configuration natively. I have not yet tested this however I also dont see any issues why it would not work.

abhi1693 avatar Jun 24 '23 15:06 abhi1693