summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-macsec.xml.in
blob: 027c05c6346b0c43f4fa627821e18ced10e3efc8 (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
<?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>
              <virtualTagNode>
                <properties>
                  <help>Show specified MACsec interface information</help>
                  <completionHelp>
                    <path>interfaces macsec</path>
                  </completionHelp>
                </properties>
                <command>ip macsec show $4</command>
                <children>
                  #include <include/show-interface-type-event-log.xml.i>
                </children>
              </virtualTagNode>
            </children>      
          </node>
       </children>
      </node>
    </children>
  </node>
</interfaceDefinition>