After you configure a QoS parameter instance for Service Manager, you can reference it in a service definition. For example:
- <# qosserviceone(bandwidth1, bandwidth2) #>
- profile <# profileName ; '\n' #>
- qos-parameter <# qosParameterName1 ; ' ' ; bandwidth1
; '\n' #>
- qos-parameter <# qosParameterName2 ; ' ' ; bandwidth2
; '\n' #>
- <# endtmpl #>
When you activate a service, Service Manager creates the parameter instance and overwrites previous parameter instances. For example, activating the qosserviceone service definition creates a profile containing two QoS parameter instances. Service Manager creates the qosParameterName1 parameter instance with the value of bandwidth1, and creates qosParameterName2 with a value of bandwidth2.
If you activate the service definition using qosserviceone(2000000,3000000), Service Manager creates qosParameterName1 with a value of 2000000 and qosParameterName2 instance with a value of 3000000.