summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-macsec.xml.in
blob: 28264d252c45be1f5eb13c0ee89686a4c4fe0694 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="interfaces">
        <children>
          <node name="macsec">
            <properties>
              <help>Show MACsec interface information</help>
              <completionHelp>
                <path>interfaces macsec</path>
              </completionHelp>
            </properties>
            <command>ip macsec show</command>
            <children>
              <leafNode name="detail">
                <properties>
                  <help>Show detailed MACsec interface information</help>
                </properties>
                <command>ip -s macsec show</command>
              </leafNode>
            </children>      
          </node>
          <tagNode name="macsec">
            <properties>
              <help>Show specified MACsec interface information</help>
              <completionHelp>
                <path>interfaces macsec</path>
              </completionHelp>
            </properties>
            <command>ip macsec show $4</command>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>