CHAPTER 75
EEM Context Library Command Extensions
All the Tcl context library command extensions belong to the ::cisco::eem namespace.
•
context_retrieve, page 1861
•
context_save, page 1864
context_retrieve
Retrieves Tcl variable(s) identified by the given context name, and possibly the scalar variable name, the array
variable name, and the array index. Retrieved information is automatically deleted.
Once saved information is retrieved, it is automatically deleted. If that information is needed by another
policy, the policy that retrieves it (using the context_retrieve command extension) should also save it
again (using the context_save command extension).
Note
Syntax
context_retrieve ctxt [var] [index_if_array]
Arguments
(Mandatory) Context name.ctxt
(Optional) Scalar variable name or array variable
name. Defaults to a null string if this argument is not
specified.
var
(Optional) The array index.index_if_array
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1861