Page MenuHomeVyOS Platform

the bug of the command "show interfaces system"
Closed, ResolvedPublicBUG

Description

The command "show interfaces system" shows information about interfaces twice.

image.png (686×1 px, 59 KB)

Details

Difficulty level
Unknown (require assessment)
Version
1.3.2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

m.korobeinikov created this object in space S1 VyOS Public.
m.korobeinikov changed Version from - to 1.3.2.
Viacheslav changed the subtype of this task from "Task" to "Bug".
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="interfaces">
        <properties>
          <help>Show network interface information</help>
        </properties>
        <command>${vyos_op_scripts_dir}/interfaces.py show_summary</command>
        <children>
          <leafNode name="counters">
            <properties>
              <help>Show network interface counters</help>
            </properties>
            <command>${vyos_op_scripts_dir}/interfaces.py show_counters</command>
          </leafNode>
          <leafNode name="detail">
            <properties>
              <help>Show detailed information of all interfaces</help>
            </properties>
            <command>${vyos_op_scripts_dir}/interfaces.py show</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>
With command show interfaces system:
 Show network information of all interfaces

I couldn't find any description of this code, but the system understood.

Now we receive this error in 1.5-rolling-202312060024 when the command is executed:

vyos@R1:~$ show interfaces system
-vbash: /opt/vyatta/bin/vyatta-show-interfaces: No such file or directory
dmbaturin added a subscriber: dmbaturin.

We should remove the command, I suppose.

Viacheslav claimed this task.

Now we receive this error in 1.5-rolling-202312060024 when the command is executed:

vyos@R1:~$ show interfaces system
-vbash: /opt/vyatta/bin/vyatta-show-interfaces: No such file or directory

Just wanted to add that this error is also present in V1.4 RC1

It will be included after 1.4-rc2