Commands
The exec_cmd()
method is the way to run tmsh commands like run, load, and save via the SDK. It is almost always used in conjunction with an UnnamedResource
.
In the example above, you need to upload the file you wish to merge prior to executing this command. Also note that in version 12.1+, you will need to update the fileWhitelistPathPrefix attribute in global settings to merge files from this location.