summaryrefslogtreecommitdiff
path: root/op-mode-definitions/pppoe-server.xml
blob: a2366c710d13499496f4c4482a64de02a29a8341 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="pppoe-server">
        <properties>
          <help>show pppoe-server status</help>
        </properties>
        <children>
          <leafNode name="sessions">
            <properties>
              <help>Show active PPPoE server sessions</help>
            </properties>
            <command>/usr/bin/accel-cmd 'show sessions ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'</command>
          </leafNode>
          <leafNode name="statistics">
            <properties>
              <help>Show PPPoE server statistics</help>
            </properties>
            <command>/usr/bin/accel-cmd 'show stat'</command>
          </leafNode>
          <leafNode name="interfaces">
            <properties>
              <help>Show interfaces where pppoe-server listens on</help>
            </properties>
            <command>/usr/bin/accel-cmd 'pppoe interface show'</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>