summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-radius-additions.xml.in
blob: e37b68514bc487d014b4febe207202b4c4374678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<node name="radius">
  <children>
    <tagNode name="server">
      <children>
        <leafNode name="acct-port">
          <properties>
            <help>Accounting port</help>
            <valueHelp>
              <format>1-65535</format>
              <description>Numeric IP port (default: 1813)</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 1-65535"/>
            </constraint>
          </properties>
        </leafNode>
        <leafNode name="fail-time">
          <properties>
            <help>Mark server unavailable for &lt;n&gt; seconds on failure</help>
            <valueHelp>
              <format>0-600</format>
              <description>Fail time penalty</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 0-600"/>
            </constraint>
            <constraintErrorMessage>Fail time must be between 0 and 600 seconds</constraintErrorMessage>
          </properties>
        </leafNode>
      </children>
    </tagNode>
    <leafNode name="timeout">
      <properties>
        <help>Timeout in seconds to wait response from RADIUS server</help>
        <valueHelp>
          <format>1-60</format>
          <description>Timeout in seconds</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-60"/>
        </constraint>
        <constraintErrorMessage>Timeout must be between 1 and 60 seconds</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="acct-timeout">
      <properties>
        <help>Timeout for Interim-Update packets, terminate session afterwards (default 3 seconds)</help>
        <valueHelp>
          <format>0-60</format>
          <description>Timeout in seconds, 0 to keep active</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 0-60"/>
        </constraint>
        <constraintErrorMessage>Timeout must be between 0 and 60 seconds</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="max-try">
      <properties>
        <help>Number of tries to send Access-Request/Accounting-Request queries</help>
        <valueHelp>
          <format>1-20</format>
          <description>Maximum tries</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-20"/>
        </constraint>
        <constraintErrorMessage>Maximum tries must be between 1 and 20</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="nas-identifier">
      <properties>
        <help>NAS-Identifier attribute sent to RADIUS</help>
      </properties>
    </leafNode>
    <leafNode name="nas-ip-address">
      <properties>
        <help>NAS-IP-Address attribute sent to RADIUS</help>
         <constraint>
          <validator name="ipv4-address"/>
        </constraint>
        <valueHelp>
          <format>ipv4</format>
          <description>NAS-IP-Address attribute</description>
        </valueHelp>
       </properties>
     </leafNode>
    <node name="dynamic-author">
      <properties>
        <help>Dynamic Authorization Extension/Change of Authorization server</help>
      </properties>
      <children>
        <leafNode name="server">
          <properties>
            <help>IP address for Dynamic Authorization Extension server (DM/CoA)</help>
            <constraint>
              <validator name="ipv4-address"/>
            </constraint>
            <valueHelp>
              <format>ipv4</format>
              <description>IPv4 address for aynamic authorization server</description>
            </valueHelp>
          </properties>
        </leafNode>
        <leafNode name="port">
          <properties>
            <help>Port for Dynamic Authorization Extension server (DM/CoA)</help>
            <valueHelp>
              <format>number</format>
              <description>TCP port</description>
            </valueHelp>
            <constraint>
              <validator name="numeric" argument="--range 1-65535"/>
            </constraint>
          </properties>
        </leafNode>
        <leafNode name="key">
          <properties>
            <help>Shared secret for Dynamic Authorization Extension server</help>
          </properties>
        </leafNode>
      </children>
    </node>
  </children>
</node>