Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Search Filters for QoS Profile-Tracking Plug-Ins

    The SAE uses a search filter to search service objects in the directory to find QoS services. You can set up the filter to search the values of any attribute in the service object, such as service name, category, or tracking plug-in. The search is successful when a value matches the filter.

    To configure the search:

    • Create a filter in a format similar to the LDAP search filter. Table 1 lists the values that you can use for filters. Each filter string <filter> contains a simplified LDAP query.

      Table 1: Settings for Filter Strings

      Filter String

      Action

      ()

      Matches no objects

      (*)

      Matches all objects

      List of <attribute>= <value> pairs

      <attribute>—Name of a property or attribute <ldapAttributeName>

      <value>—One of the following:

      • * (asterisk)
      • Explicit string
      • String that contains an *

        Note: To define a special character
        (* & , ! | \)in a string, precede it with the backslash symbol (\).

      • If <value> is *, checks for any value.
      • If <value> is an explicit string, checks whether any value of the property matches the string, regardless of case.
      • If <value> is a string that contains a *, checks whether any value of the property contains the string, regardless of case.

      (&<filter><filter>...)

      True if all filters match

      (|<filter><filter>...)

      True if at least one filter matches

      (!<filter>)

      True if the filter does not match

    The default is attribute.trackPlug=; note that you need to add a search value after the equal sign. For example:

    • To search tracking plug-in attributes for any entry that contains qtp:

    (attribute.trackPlug=*qtp*)

    • To search service category attributes for any entry that contains ultra, video on demand, or video telephony:

    (|(serviceCategory=*ultra*)(|(serviceCategory=*video on demand*)(serviceCategory=*video telephony*)))

    For information about obtaining a list of attribute names for the sspService object class, see the documentation for the LDAP schema in SDK+AppSupport+Demos+Samples.tar.gz file in the folder SDK/doc/ldap or on the Juniper Networks website at

    https://www.juniper.net/techpubs/software/management/src.

    Modified: 2016-12-29