[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Juniper Networks Routers Template

This example shows the complete Juniper Networks router template in deviceModels.xml.

<?xml version="1.0" ?> 
<controlledDeviceModels>
<controlledDeviceModel id="Juniper Router JUNOSe 7.2+" vendor="juniper" 
model="Juniper Router JUNOSe 7.2+" dictionary="juniper"> 
<capabilities> 
<!-- 
 choices are None, Access-Accept, CoA, Both 
--> 
<capability name="Activation" value="Both" /> 
<capability name="Modification" value="false" /> 
<!-- choices are None, Single, (All). Currently All is not supported --> 
<capability name="Bundle" value="Single" /> 
</capabilities> 
<serviceTemplates> 
<serviceTemplate name="" description="global section"> 
<mode name="Authentication"> 
<attributes targetDictionary="diameter" /> 
</mode> 
<mode name="Accounting"> 
<attributes targetDictionary="diameter"> 
<attribute name="Juniper-Service-Correlation-Id" 
copyFrom="Unisphere-Service-Session" /> 
</attributes> 
</mode> 
<mode name="AbortSession"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="40" format="integer" /> 
</variables> 
</mode> 
</serviceTemplate> 
<serviceTemplate name="content_provider_tiered" 
description="content_provider_tiered service"> 
<mode name="Activation"> 
<attributes> 
<!-- requiredAttribute name="Acct-Session-Id"/--> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<!-- 
parameterizedAttribute name="Unisphere-Activate-Service" 
format="content_provider_tiered\($(contentProviderAddress),$(contentProviderMa
sk),$(subscriberAddress),$(subscriberMask),$(upstreamBandwidth),$(downstrea
mBandwidth)\)"/
--> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 43 is CoA request -> 
</variables> 
</mode> 
<mode name="Deactivation"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
<parameterizedAttribute name="Unisphere-Deactivate-Service" 
format="content_provider_tiered\($(contentProviderAddress),$(contentProvider
Mask),$(subscriberAddress),$(subscriberMask),$(upstreamBandwidth),$(down
streamBandwidth)\)" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 43 is CoA request --> 
</variables> 
</mode> 
<mode name="InitialAuthorization"> 
<attributes> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<parameterizedAttribute name="Unisphere-Activate-Service" 
format="content_provider_tiered\($(contentProviderAddress),$(contentProvider
Mask),$(subscriberAddress),$(subscriberMask),$(upstreamBandwidth),$(down
streamBandwidth)\)" /> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
</mode> 
<mode name="ServiceCorrelationId"> 
<attributes targetDictionary="diameter"> 
<!-- 
parameterizedAttribute name="Juniper-Service-Correlation-Id" 
format="content_provider_tiered\($(contentProviderAddress),$(contentProviderMa
sk),$(subscriberAddress),$(subscriberMask),$(upstreamBandwidth),$(downstrea
mBandwidth)\)"/
--> 
</attributes> 
</mode> 
</serviceTemplate> 
<serviceTemplate name="internet_tiered" description="internet_tiered service"> 
<mode name="Activation"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<parameterizedAttribute name="Unisphere-Activate-Service" 
format="internet_tiered\($(upstreamBandwidth),$(downstreamBandwidth)\)" 
/> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 43 is CoA request --> 
</variables> 
</mode> 
<mode name="Deactivation"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
<parameterizedAttribute name="Unisphere-Deactivate-Service" 
format="internet_tiered\($(upstreamBandwidth),$(downstreamBandwidth)\)" 
/> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 43 is CoA request --> 
</variables> 
</mode> 
<mode name="InitialAuthorization"> 
<attributes> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<parameterizedAttribute name="Unisphere-Activate-Service" 
format="internet_tiered\($(upstreamBandwidth),$(downstreamBandwidth)\)" 
/> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
</mode> 
<mode name="ServiceCorrelationId"> 
<attributes targetDictionary="diameter"> 
<parameterizedAttribute name="Juniper-Service-Correlation-Id" 
format="internet_tiered\($(upstreamBandwidth),$(downstreamBandwidth)\)" 
/> 
</attributes> 
</mode> 
</serviceTemplate> 
<serviceTemplate name="guided_entrance" description="guided_entrance 
service"> 
<mode name="Activation"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<parameterizedAttribute name="Unisphere-Activate-Service" 
format="guided_entrance\($(redirectAddress),$(redirectPort),$(redirectPath),$
(serverAddress),$(serverMask),$(serverPort)\)" /> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 43 is CoA request --> 
</variables> 
</mode> 
<mode name="Deactivation"> 
<attributes> 
<requiredAttribute name="Acct-Session-Id" /> 
<parameterizedAttribute name="Unisphere-Deactivate-Service" 
format="guided_entrance\($(redirectAddress),$(redirectPort),$(redirectPath),$
(serverAddress),$(serverMask),$(serverPort)\)" /> 
</attributes> 
<variables> 
<variable name="RadiusCode" value="43" format="integer" /> 
<!-- 
 43 is CoA request 
--> 
</variables> 
</mode> 
<mode name="InitialAuthorization"> 
<attributes> 
<overrideAttribute name="IncrementTag.function" value="" /> 
<parameterizedAttribute name="Unisphere-Activate-Service" 
format="guided_entrance\($(redirectAddress),$(redirectPort),$(redirectPath),$
(serverAddress),$(serverMask),$(serverPort)\)" /> 
<defaultAttribute name="Unisphere-Service-Stats" value="1" /> 
</attributes> 
</mode> 
<mode name="ServiceCorrelationId"> 
<attributes targetDictionary="diameter"> 
<parameterizedAttribute name="Juniper-Service-Correlation-Id" 
format="guided_entrance\($(redirectAddress),$(redirectPort),$(redirectPath),$
(serverAddress),$(serverMask),$(serverPort)\)" /> 
</attributes> 
</mode> 
</serviceTemplate> 
</serviceTemplates> 
</controlledDeviceModel> 
</controlledDeviceModels>

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]