iApp - objects outside of iapp template?
Hi F5 guru's
Is it possible to deploy an iapp template referencing objects outside of that template?
Background:
I am trying to create an iApp template that will create multiple LTM/GTM objects. This is to standardize and automate the deployment of multiple objects across the F5 estate.
I am able to create the LTM objects without issue, and can see all of these objects within their respective iapp container.
When it comes to the gtm objects, there are number of "universal" objects that each application will need to make use of. ie GTM Datacenters and GTM servers. Is there a way I can get the iapp to reference a universal object in the /Common configuration. Or do I need to clone these objects separately each time I deploy an application via iapp.
Below is an example of what I am trying to do.
iApp Config:
Add VS to GSLB Servers
tmsh::modify "gtm server gslb-server1 virtual-servers add { ${object_name}_80 { destination $IpAddr:80 } }"
Error:
01070222:3: VS TestApp_80 server /Common/TestApp.app/gslb-server1 does not exist
Config Output:
root@(F5-Dev)(cfg-sync Standalone)(Active)(/Common)(tmos) list gtm server
gtm server gslb-server1 {
addresses {
10.255.255.1 {
device-name /Common/gslb-server
}
}
datacenter gslb-dc1
expose-route-domains yes
link-discovery enabled
monitor bigip
virtual-server-discovery enabled
}
Is there anyway to get around this? Or do I need to consider separate deployment options for the GTM options. Ideally all objects related to an object should be managed in one place.
Im not able to find much about GTM/DNS deployments via iapp on codeshare. Any input would be appreciated.
Regards
Dman