tmsh::version

Description

Returns the version number of the BIG-IP system as a Tcl string. The version consists of three digits, a major, minor, and maintenance version, separate by periods, for example, 10.1.0.

Syntax

tmsh::version

Examples

proc script::init {} {
 switch -glob [tmsh::version] {
   10.1.* { tmsh::include v10_1.tcl }
   default { tmsh::include v10_common.tcl }
 }
}