Last active
December 29, 2016 09:14
-
-
Save sebbbastien/3e53682cd13ab147993bc1cf248480fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TMSH-VERSION: 12.1.1 | |
cli admin-partitions { | |
update-partition Common | |
} | |
sys application template /Common/_test { | |
actions { | |
definition { | |
html-help { | |
} | |
implementation { | |
set static { ip-protocol tcp snat automap } | |
set vip ${::vs__vip} | |
iapp::conf create ltm virtual ${tmsh::app_name}_HTTP destination ${vip}:80 $static | |
iapp::conf create ltm virtual-address /Common/${vip} traffic-group $::vs__traffic_group arp disabled route-advertisement enabled app-service none | |
} | |
macro { | |
} | |
presentation { | |
section vs { | |
string vip required validator "IpAddress" | |
choice traffic_group tcl { return [iapp::get_items cm traffic-group] } | |
} | |
text { | |
vs.vip "Virtual IP" | |
} | |
} | |
role-acl none | |
run-as none | |
} | |
} | |
description none | |
ignore-verification false | |
requires-bigip-version-max none | |
requires-bigip-version-min none | |
requires-modules { ltm } | |
signing-key none | |
tmpl-checksum none | |
tmpl-signature none | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment