Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
usage [2013-06-19 12:00] – [Non-standard core attributes] wikiadminusage [2016-09-19 17:16] – [Auto-Topups] wikiadmin
Line 1: Line 1:
 +====== Attribute Usage ======
 +
 Attributes are used in order to process and set configuration items for incoming connections. Each attribute has a Name, Operator and Value. Attributes are used in order to process and set configuration items for incoming connections. Each attribute has a Name, Operator and Value.
  
-====Name====+===== Name ====
 Specify the type of attribute to be used. If you need to specify a vendor attribute, use the following format: Specify the type of attribute to be used. If you need to specify a vendor attribute, use the following format:
-<code>[vendor_code:vendor_attribute_name]</code> 
  
-====Operator====+<code> 
 +[vendor_code:vendor_attribute_name] 
 +</code> 
 + 
 +===== Operator ====
 How to use the value of this attribute. See the OPERATORS file for details on each supported operator. How to use the value of this attribute. See the OPERATORS file for details on each supported operator.
  
-====Value====+===== Value ====
 Value of the attribute (string). Value of the attribute (string).
  
 Example: Example:
-<code>// Sets the users traffic limit to 5GB 
-Name: SMRadius-Capping-Traffic-Limit Operator: := Value: 5000</code> 
  
-====Non-standard core attributes====+<code> 
 +// Sets the users traffic limit to 5GB 
 +Name: SMRadius-Capping-Traffic-Limit Operator: := Value: 5000 
 +</code> 
 + 
 +====== Non-standard Core Attributes ====== 
 A listing of non standard attributes and their functions in SMRadius. These attributes are listed under the areas in SMRadius that make use of them. A listing of non standard attributes and their functions in SMRadius. These attributes are listed under the areas in SMRadius that make use of them.
  
-===Capping=== +===== Capping =====
-  * __[[mod_feature_capping.pm|SMRadius-Capping-Traffic-Limit]]__ +
-  * __[[mod_feature_capping.pm|SMRadius-Capping-Uptime-Limit]]__ +
-  * __[[mod_feature_capping.pm|SMRadius-Config-Capping-Traffic-Multiplier]]__ +
-  * __[[mod_feature_capping.pm|SMRadius-Config-Capping-Uptime-Multiplier]]__+
  
-===Validity=== +  * [[mod_feature_capping.pm|SMRadius-Capping-Traffic-Limit]] 
-  * __[[mod_feature_validity.pm|SMRadius-Validity-ValidFrom]]__ +  * [[mod_feature_capping.pm|SMRadius-Capping-Uptime-Limit]] 
-  * __[[mod_feature_validity.pm|SMRadius-Validity-ValidTo]]__ +  * [[mod_feature_capping.pm|SMRadius-Config-Capping-Traffic-Multiplier]] 
-  * __[[mod_feature_validity.pm|SMRadius-Validity-ValidWindow]]__+  * [[mod_feature_capping.pm|SMRadius-Config-Capping-Uptime-Multiplier]]
  
 +===== Auto-Topups =====
  
-===Config=== +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Traffic-Enabled]] 
-  * __[[mod_config_sql.pm|SMRadius-Config-Secret]]__ +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Traffic-Amount]] 
-  * __[[mod_config_sql.pm|SMRadius-Config-PODServer]]__ +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Traffic-Limit]] 
-  * __[[mod_config_sql.pm|SMRadius-Config-Filter-Reply-Attribute]]__ +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Traffic-Notify]] 
-  * __[[mod_config_sql.pm|SMRadius-Config-Filter-Reply-VAttribute]]__+  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Traffic-NotifyTemplate]] 
 + 
 +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Uptime-Enabled]] 
 +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Uptime-Amount]] 
 +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Uptime-Limit]] 
 +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Uptime-Notify]] 
 +  * [[mod_feature_capping.pm|SMRadius-AutoTopup-Uptime-NotifyTemplate]] 
 + 
 +===== Validity ==== 
 + 
 +  * [[mod_feature_validity.pm|SMRadius-Validity-ValidFrom]] 
 +  * [[mod_feature_validity.pm|SMRadius-Validity-ValidTo]] 
 +  * [[mod_feature_validity.pm|SMRadius-Validity-ValidWindow]] 
 + 
 + 
 +===== Config ===== 
 + 
 +  * [[mod_config_sql.pm|SMRadius-Config-Secret]] 
 +  * [[mod_config_sql.pm|SMRadius-Config-PODServer]] 
 +  * [[mod_config_sql.pm|SMRadius-Config-Filter-Reply-Attribute]] 
 +  * [[mod_config_sql.pm|SMRadius-Config-Filter-Reply-VAttribute]] 
 + 
 +====== Core ======
  
-===Core=== 
   * __SMRadius-Username-Transform__   * __SMRadius-Username-Transform__
     * Transforms a username from the supplied username to the configured username (Currently disabled)     * Transforms a username from the supplied username to the configured username (Currently disabled)
Line 51: Line 81:
   * __SMRadius-Disable-WebUITopup__   * __SMRadius-Disable-WebUITopup__
     * Allows one to build web ui's that ignore topups, this attribute is not used internally at all.     * Allows one to build web ui's that ignore topups, this attribute is not used internally at all.
 +
 +