The following operations can be performed on "policy-patset":
rm policy patset¶
Removes a pattern set. If the pattern set is used by an expression in another object, such as a policy, you must remove the object before removing the pattern set.
rm policy patset
name Name of the pattern set to remove.
rm policy patset pat1
unbind policy patset¶
Unbinds a string from a pattern set.
unbind policy patset
name Name of the pattern set from which to unbind a string.
string String of characters to unbind from the pattern set.
unbind policy patset pat1 bar xyz
add policy patset¶
Adds a pattern set. A pattern set contains a name and one or more string patterns. Pattern sets can be used in expressions to match a set of strings. For example, HTTP.REQ.URL.EQUALS_ANY("test_urls"), where test_urls is a pattern set containing URL strings. Pattern sets can also be used in the search parameter of a rewrite action. Each string pattern is assigned an index that enables you to select the associated string from the set. The patset file option can be used to bind the patterns contained in a file, which is imported from Citrix ADC or from an external location (please check import/add/update patsetfile). A patset can be configured with at most one patsetfile
add policy patset
name Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters. Must not be the name of an existing named expression, pattern set, dataset, string map, or HTTP callout.
comment Any comments to preserve information about this patset or a pattern bound to this patset.
patsetFile File which contains list of patterns that needs to be bound to the patset. A patsetfile cannot be associated with multiple patsets.
add policy patset pat1