Joel_Breton
Aug 21, 2017Nimbostratus
tmsh2iapp - Personalize Objects Name
Hi all,
I'm using the tmsh2iapp utility to create an iApp template. I am able to create the template and instantiate it without any issues following the steps provided within the GitHub repo. tmsh2iapp
I am trying to change the object's name created with this iApp, I want the name to be a suffix of the app name, for example:
- App name: my_app
- pool name: my_app_pool
- vs name: my_app_vs
Here's the the content of my t2i file:
@label(__pm__pool_default__): Pool Members
@label(__virtual_address__): Virtual Address
@label(__vip_port__): VIP Port
ltm pool pool_default {
__pm__pool_default__
monitor gateway_icmp
}
ltm virtual virtual_server {
destination __virtual_address__:__vip_port__
ip-protocol tcp
mask 255.255.255.255
pool pool_default
profiles {
tcp { }
}
source 0.0.0.0/0
translate-address enabled
translate-port disabled
}
With this configuration all virtual servers created with the iApp are named virtual_server and all pools are named pool_default.
The section Personalize Objects Name summarize what I want to accomplish - Create iApp Template
Any guidance is greatly appreciate
Thanks,
Joel