You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source file for the object creation contains the following. These objects already exist in the config
obj-8.8.8.8,6.6.6.6,main-range-1
obj-10.10.10.10,80.80.80.0/25,main-range-1
the script correctly creates SET commands to overwrite the two objects
set address "obj-8.8.8.8" ip-netmask 6.6.6.6/32
set address "obj-10.10.10.10" ip-netmask 80.80.80.0/25
however, it also creates DELETE commands to remove the old objects
delete address "obj-8.8.8.8" ip-netmask 8.8.8.8
delete address "obj-10.10.10.10" ip-netmask 10.10.10.10
these commands are not required, because the SET commands above replace the old object values, meaning objects with the old values no longer exist
Expected behavior
Do not generate the DELETE commands when object values are overwritten with SET commands
additional information shared via Slack
The text was updated successfully, but these errors were encountered:
Describe the bug
source file for the object creation contains the following. These objects already exist in the config
obj-8.8.8.8,6.6.6.6,main-range-1
obj-10.10.10.10,80.80.80.0/25,main-range-1
the script correctly creates SET commands to overwrite the two objects
set address "obj-8.8.8.8" ip-netmask 6.6.6.6/32
set address "obj-10.10.10.10" ip-netmask 80.80.80.0/25
however, it also creates DELETE commands to remove the old objects
delete address "obj-8.8.8.8" ip-netmask 8.8.8.8
delete address "obj-10.10.10.10" ip-netmask 10.10.10.10
these commands are not required, because the SET commands above replace the old object values, meaning objects with the old values no longer exist
Expected behavior
Do not generate the DELETE commands when object values are overwritten with SET commands
additional information shared via Slack
The text was updated successfully, but these errors were encountered: