The policyRef attribute contained in the policyAux object class for a user must point to an entry of type Policy. This can do one of the following:
Create a filter containing the IP address of the newly connected user.
Create a class and a filter containing the IP address of the newly connected user.
A service provider offers three classes of service: Standard, StandardPlus and Premium. Each has a different level of guaranteed bandwidth. Administrative and other incidental traffic is handled by the root class:
Class Name |
Guaranteed Bandwidth |
---|---|
Premium |
50% |
StandardPlus |
30% |
Standard |
10% |
User Fred Smith has a subscription to the Premium class.
On receiving traffic from Fred Smith, the policyRef attribute in the policyAux class is checked. It points to the policy "Premium". The "Premium" policy contains an LSaction "ActionPremiumClass" with the attribute queueName "Premium".
A filter is created containing Fred Smith's IP address and is added to the Premium class. Traffic from Fred Smith is then filtered into the Premium class. The filter name is the UID of Fred Smith's user entry in the directory, plus the sessionID.
It would also be possible to add conditions to the policy, specifying a service, for example.
A service provider offers three classes of service: Standard, StandardPlus and Premium. Each has a different level of guaranteed bandwidth. Administrative and other incidental traffic is handled by the root class. From time to time, however, the service's administrators need to send high priority messages to each other. To do so, they send email from an account called admin-urgent. Doing so creates a class with a priority of 1 and a guaranteed bandwidth of 10%, so that these messages are dealt with immediately.
Jane Brown needs to send an urgent message to the other administrators. To do so, she logs in as admin-urgent. On receiving traffic from admin-urgent, the policyRef atribute of the policyAux class is checked. It points to the policy Urgent. The Urgent policy contains an LSaction with the attributes ceilingRate, guaranteedRate, and queuePriority. The absence of the queueName attribute tells the Solaris Bandwidth Manager software to create a class called urgent with the specified maximum and guaranteed bandwidth and priority. A filter is then created containing the IP address from which the admin-urgent message was sent. The filter's name is composed of the UID and sessionID.