diff options
| author | Christian Poessinger <christian@poessinger.com> | 2020-06-03 16:33:30 +0200 | 
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2020-06-03 16:33:30 +0200 | 
| commit | 216859622e0619a1f61eb702f88546b579306005 (patch) | |
| tree | 6eb7cf43dcbf2ac92c1e9e19028ff6dfceb24fb2 | |
| parent | 2f55297aab87d3e9e7d4af17acd2235ca88ff562 (diff) | |
| download | vyos-1x-216859622e0619a1f61eb702f88546b579306005.tar.gz vyos-1x-216859622e0619a1f61eb702f88546b579306005.zip | |
op-mode: migrate line ending from dos
| -rw-r--r-- | op-mode-definitions/show-interfaces-ethernet.xml | 94 | ||||
| -rw-r--r-- | op-mode-definitions/show-license.xml | 26 | 
2 files changed, 60 insertions, 60 deletions
| diff --git a/op-mode-definitions/show-interfaces-ethernet.xml b/op-mode-definitions/show-interfaces-ethernet.xml index e19505d26..63afe8248 100644 --- a/op-mode-definitions/show-interfaces-ethernet.xml +++ b/op-mode-definitions/show-interfaces-ethernet.xml @@ -1,47 +1,47 @@ -<?xml version="1.0"?>
 -<interfaceDefinition>
 -  <node name="show">
 -    <children>
 -      <node name="interfaces">
 -        <children>
 -          <tagNode name="ethernet">
 -            <properties>
 -              <help>Show ethernet interface information</help>
 -              <completionHelp>
 -                <path>interfaces ethernet</path>
 -              </completionHelp>
 -            </properties>
 -            <children>
 -              <node name="physical">
 -                <properties>
 -                  <help>Show physical device information for specified ethernet interface</help>
 -                </properties>
 -                <command>/sbin/ethtool "$4"; /sbin/ethtool -i "$4"</command>
 -                <children>
 -                  <leafNode name="offload">
 -                    <properties>
 -                      <help>Show physical device offloading capabilities</help>
 -                    </properties>
 -                    <command>/sbin/ethtool -k "$4"</command>
 -                  </leafNode>
 -                </children>
 -              </node>
 -              <leafNode name="statistics">
 -                <properties>
 -                  <help>Show physical device statistics for specified ethernet interface</help>
 -                </properties>
 -                <command>/sbin/ethtool -S "$4"</command>
 -              </leafNode>
 -              <leafNode name="transceiver">
 -                <properties>
 -                  <help>Show transceiver information from modules (e.g SFP+, QSFP)</help>
 -                </properties>
 -                <command>/sbin/ethtool -m "$4"</command>
 -              </leafNode>
 -            </children>
 -          </tagNode>
 -        </children>
 -      </node>
 -    </children>
 -  </node>
 -</interfaceDefinition>
 +<?xml version="1.0"?> +<interfaceDefinition> +  <node name="show"> +    <children> +      <node name="interfaces"> +        <children> +          <tagNode name="ethernet"> +            <properties> +              <help>Show ethernet interface information</help> +              <completionHelp> +                <path>interfaces ethernet</path> +              </completionHelp> +            </properties> +            <children> +              <node name="physical"> +                <properties> +                  <help>Show physical device information for specified ethernet interface</help> +                </properties> +                <command>/sbin/ethtool "$4"; /sbin/ethtool -i "$4"</command> +                <children> +                  <leafNode name="offload"> +                    <properties> +                      <help>Show physical device offloading capabilities</help> +                    </properties> +                    <command>/sbin/ethtool -k "$4"</command> +                  </leafNode> +                </children> +              </node> +              <leafNode name="statistics"> +                <properties> +                  <help>Show physical device statistics for specified ethernet interface</help> +                </properties> +                <command>/sbin/ethtool -S "$4"</command> +              </leafNode> +              <leafNode name="transceiver"> +                <properties> +                  <help>Show transceiver information from modules (e.g SFP+, QSFP)</help> +                </properties> +                <command>/sbin/ethtool -m "$4"</command> +              </leafNode> +            </children> +          </tagNode> +        </children> +      </node> +    </children> +  </node> +</interfaceDefinition> diff --git a/op-mode-definitions/show-license.xml b/op-mode-definitions/show-license.xml index b6a2370a6..2ce11567d 100644 --- a/op-mode-definitions/show-license.xml +++ b/op-mode-definitions/show-license.xml @@ -1,13 +1,13 @@ -<?xml version="1.0"?>
 -<interfaceDefinition>
 -  <node name="show">
 -    <children>
 -      <leafNode name="license">
 -        <properties>
 -          <help>Show VyOS license information</help>
 -        </properties>
 -        <command>less $_vyatta_less_options --prompt=".license, page %dt of %D" -- ${vyatta_sysconfdir}/LICENSE</command>
 -      </leafNode>
 -    </children>
 -  </node>
 -</interfaceDefinition>
 +<?xml version="1.0"?> +<interfaceDefinition> +  <node name="show"> +    <children> +      <leafNode name="license"> +        <properties> +          <help>Show VyOS license information</help> +        </properties> +        <command>less $_vyatta_less_options --prompt=".license, page %dt of %D" -- ${vyatta_sysconfdir}/LICENSE</command> +      </leafNode> +    </children> +  </node> +</interfaceDefinition> | 
