Any Parasoft tool connected to License Server can request a license. The license will be granted if a token is available. You can use the filtering mechanism, however, to define a set of machines that are specifically allowed to or blocked from consuming license tokens. 

When a filter is configured and the [Allow] action is used, all other machines that are not included in the filter will not be allowed to request a license. If the [Deny] action is used, all machines that are not defined in the filter can request a license. You can either filter by user on a specific host or define a pattern to filter by groups of hosts and users.

Filtering by User

Specify the user name and host name in the Filter requests for section of the License Details page and click [Deny] or [Allow].

Use the host name format specified by the tools. Tools on different platforms use different formats. For example, the same machine can be defined in three different ways: 10.9.1.50ginagina.parasoft.com.plYou can verify the user/host format by checking the Tokens Usage Details or Licenses Usage Details report.

Example

Specify the . (regex wildcard) for the user name and 10.10.4.* in the host name and click [Deny]


This will block all users on the host from requesting a license.


Filtering by Group

A group is a collection of username/host patterns. You can create groups that match how dev/test members are segmented and apply filters for more precise control over license access. See Creating and Managing Groups for details on how to create and edit groups. 

  1. Choose the group name in the Filter requests for section of the License Details page.
  2. Click the Deny or Allow button.

The user name or group name appears in the Filtered requests for section. You can remove one or all filters, if necessary. Filters action accumulates, but clicking Deny eliminates Allow activity.

Example

See Creating and Managing Groups for additional details. 

  1. Define a group called Deny Group.
  2. Edit the group and specify . as the user name and 10.10.4.* as the host name.
  3. Click Add and define a new pattern using . as the user name and 10.10.5.* as the host name.
  4. Use the [Back] links to return to the License details screen. Your group will appear as a filter option.
  5. Click [Deny] to block all users defined in the group from requesting the license.

Creating and Managing Groups

  1. Choose Management > Manage Pattern Groups from the License Server home page to add a new pattern group or edit an existing group.
  2. Enter a new pattern for the group and click Add to create a new empty group. The group name appears in the Existing groups section, along with the following codes in parenthesis:

    • p: Indicates the number of licenses that contain the specified user name and host.
    • g: Indicates the number of licenses that contain sub-groups and patterns for the specified user name and host.
  3.  Click Edit button next to the name of a new or existing group to edit.

  4. You can perform the following actions:
    • Enter a user name and host name in the New pattern section and click Add to create a new pattern.
    • Browse for a CSV file containing users and click Import to add a bulk list of users to the group. The CSV file should be formatted as usernamehostname with no header, e.g., user1,.* or user2,192.168.1.101.
    • Choose a group from the Group name drop-down menu and click Add to add an existing group.
    • Click Remove in the Existing patterns or Existing groups section to remove an existing pattern or group.
  • No labels