Forum Discussion
Rich_125959
Nimbostratus
Jan 05, 2013Merge Files
I am a trying to find a way to pars the config files to create merge files. This would allow me to edit the Dev files with sed (changeing the names, IPs and such) and then execute them in QA. It wo...
nitass
Employee
Jan 06, 20131. where are the different config files located?
2. are you aware of a parser that will generate merge files from the config files?
3. what is the format the merge files need to be in? i tested merging configuration using scf format and tmsh list format and both seem to be fine.
sol13408: Overview of single configuration files (11.x)
http://support.f5.com/kb/en-us/solutions/public/13000/400/sol13408.html
BIG-IP and Merge File Configuration Changes by Michael
https://devcentral.f5.com/tech-tips/articles/big-ip-and-merge-file-configuration-changes
scf format (tmsh save sys config file ... to create template format and use part of them when merging)
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config from-terminal merge
Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
ltm virtual /Common/bar16 {
destination /Common/172.28.20.16:80
ip-protocol tcp
mask 255.255.255.255
pool /Common/foo101
profiles {
/Common/http { }
/Common/tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
translate-address enabled
translate-port enabled
vlans-disabled
}
Loading configuration...
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos)
tmsh list format (tmsh list ltm to create template format and use part of them wheh merging)
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config from-terminal merge
Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
ltm virtual bar17 {
destination 172.28.20.17:80
ip-protocol tcp
mask 255.255.255.255
pool foo101
profiles {
http { }
tcp { }
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vlans-disabled
}
Loading configuration...
root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects