Hi
I have an IP fabric based on qfx5100 with VXLAN/EVPN.
I wish to make a commit script so that my users simply need to add a vlan name and ID and then commit.
the script will create all the EVPN/VXLAN related config parts. all vlans configured on the box will support vxlan.
I see two options:
1.
I can see that if I loop through the VLANS and emit transient-changes. this keeps the candidate config clean.
2.
I can loop through and emit perm changes. This is better for the end users but my concern with this is, that if the user then deletes a vlan via the CLI and commits , I havent seen a how a commit script gets notified of this deletion, it seems that it just doesnt appear in the candidate config passed to the commit script? Im concerned that I will end up with stranded config
statements.
the commit script logic seems great for enforcing or adding, but not so great when trying to delete code based on the deletion of a trigger piece of config.
very new at this scripting process so any strategy pointers would be great.
thanks
#delete#commitscript#vxlan#vlan