sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
725 stars 1.39k forks source link

config interface speed throws an error on a multi-asic box. #8308

Closed mlok-nokia closed 3 years ago

mlok-nokia commented 3 years ago

Description

config interface speed is broken when trying to configure for a frontpanel port on a multi-asic pizza box.

Steps to reproduce the issue:

  1. Issue config interface to set the speed of an interface on a multi-asic pizza box

Describe the results you received:

admin@sonic:~$ sudo config interface -n asic0 speed Ethernet0 40000
name 'front_asic_namespaces' is not defined

Describe the results you expected:

Expect no error message and speed get set on the specified interface

Output of show version:

SONiC buildimage from commit 'https://github.com/Azure/sonic-buildimage/commit/3b3012791311ea7724975c8485236a0ee88d7510',

However, looking at the latest code, the issue still exists.

Output of show techsupport:

Additional information you deem important (e.g. issue happens only occasionally):

zhangyanzhao commented 3 years ago

PR is waiting for review.

zhangyanzhao commented 3 years ago

@abdosi will help to review the PR