Forum Discussion
How to import a customization group into a BigIP instance ?
To implement DevOps on our F5 install (which uses version 11.5.3), we have developped a set of Python script, that rely upon
tmsh load sys config merge file
and template files to add elements to f5 config.
We're curretnly trying to automate installation of our APM policy, which requires logon page. Unfortunatly, installation of a logon page requires a customization and I found no way to import a customization group into BigIP. So far, what I do is import the following file,
apm policy customization-group /SDU_01_rin/SDU_01_PORTAIL_APM_PROFILE_beta_APMBranch {
cache-path /config/filestore/files_d/SDU_01_rin/customization_group_d/:SDU_01_rin:APMBranch::APMBranch__15760_1
type logon-page
revision 1
partition SDU_01_rin
}
Which always triggers the following error message
Syntax Error: "tmsh" unknown property
Obviously, the cache-path value,
/config/filestore/files_d/SDU_01_rin/customization_group_d/:SDU_01_rin:APMBranch::APMBranch__15760_1
, is, at the time this command is invoked, already created with the following content
So, what can I do in order to import that empty customization group ?
1 Reply
- Arnaud_Lemaire
Employee
HEllo, i would says (no thorough testings) it depands which command come first in the config merge:
- if you create first the resource object (logon page) that will automatically create a default customization object, so you won't be able to change it
- when having a look to cli when you create an customization object you can specify a local-path, so i think the correct way would, after having uploading a customization object based on existings one, you could use the local-path option to point the customization group to the correct file. I think it will be converted by a cache-path.
Recent Discussions
Related Content
* 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