Forum Discussion
Sukumar_121924
Nimbostratus
May 28, 2015iApps tempate for Virtual server configurtaion
iApps tempate for Virtual server configuration with Advanced Configuration Presentation section questionare for
VLAN and Tunnel Traffic
SNAT Pool
Thanks,
Sukumar
cjunior
Nacreous
Jun 08, 2015Implementation snippet:
proc tmsh_modify_vlan { vs_name } {
if { $::basic__client_vlan_option == "all" } {
set vlan_name "none vlans-disabled"
} else {
set vlan_name "replace-all-with \{ "
foreach name $::basic__client_vlan {
append vlan_name $name
append vlan_name " "
}
append vlan_name "\} vlans-$::basic__client_vlan_option"
}
tmsh_modify "/ ltm virtual" "$vs_name vlans $vlan_name"
}
I did it with "modify" to not totally change the original script. So whenever a virtual server is created, I keep that name and provide it to this proc.
Regards.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