Use Case: Assigning Features Based on Combined hosttype and hostname Properties

Requirement: Allow only clients that match specified hosttype and hostname properties access to a named license pool.

This scenario uses the same Engineering business unit and named license pool that you already know from previous examples.

In this example, a producer wants to allow client devices that match both a particular host type and host name access to the named license pool engineering. This can be achieved by combining the hosttype and hostname conditions using the AND operator. Requests from devices that match only the host type or host name, or none of these, are served from the default license pool.

Model Definition Example

model "exampleModel" {

partitions {

partition "engineering" {

"f1" 1.0 100

}

}

on hosttype("tv") and hostname("device-1"){

use "engineering"

accept

}

}