Bug ID 751824: Restore old 'merge' functionally with new tmsh verb 'replace'

Last Modified: May 29, 2024

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
12.1.3, 12.1.3.1, 12.1.3.2, 12.1.3.3, 12.1.3.4, 12.1.3.5, 12.1.3.6, 12.1.3.7, 12.1.4, 12.1.4.1, 12.1.5, 12.1.5.1, 12.1.5.2, 12.1.5.3, 12.1.6, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3

Fixed In:
15.0.0, 14.1.0.5

Opened: Dec 04, 2018

Severity: 3-Major

Symptoms

Prior to v12.1.3.4, the 'merge' command merged a specified config with the existing config, replacing certain conflicting values. In this release, the merge command operates differently, so there is a new command, 'replace', to now perform the operation previously accomplished with 'merge'.

Impact

Operation does not work like it did in previous releases.

Conditions

Running the following command: tmsh load /sys config file <scf-filename> merge

Workaround

None.

Fix Information

This release restores the merge functionally from v12.x and earlier with a new tmsh verb: replace. The new TMSH command is as follows: tmsh load sys config file <filepath> replace

Behavior Change

This release restores the merge functionally from v12.x and earlier with a new tmsh verb: replace. The new TMSH command is as follows: tmsh load sys config file <filepath> replace The merge command now operates as follows: -- Previously: if a top-level object (virtual server) existed in the config and also in the merge file, the top-level object was replaced. -- Now: if a top-level object (virtual server) exists in both, the top-level object is recursively merged. (Pool members are merged together. LTM virtual server profiles are merged together (appended vs. replace-all-with)).

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips