Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Error / validation message displaying while deleting Non existing Port Channel / members from command line. #277

Open
chaitanc opened this issue Oct 31, 2018 · 0 comments
Assignees

Comments

@chaitanc
Copy link

I have the below list of port channel in my device

root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No.    Team Dev         Protocol     Ports
-----  ---------------  -----------  ---------------------------
       PortChannel      LACP(A)(Dw)  N/A
001    PortChannel001   LACP(A)(Dw)  Ethernet8(D) Ethernet4(D)
0001   PortChannel0001  LACP(A)(Dw)  Ethernet64(D) Ethernet60(D)
nel    PortChannelnel   LACP(A)(Dw)  N/A

Now I am trying to delete a member (Ethernet8) from PortChannel001 using below command

root@sonic-testing:/home/admin# config portchannel member del PortChannel001 Ethernet8
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No.    Team Dev         Protocol     Ports
-----  ---------------  -----------  ---------------------------
       PortChannel      LACP(A)(Dw)  N/A
001    PortChannel001   LACP(A)(Dw)  Ethernet4(D)
0001   PortChannel0001  LACP(A)(Dw)  Ethernet64(D) Ethernet60(D)
nel    PortChannelnel   LACP(A)(Dw)  N/A

Observed that port channel member is deleted.

Similar way, I tried to delete non existing member of PortChannel001 as below

root@sonic-testing:/home/admin# config portchannel member del PortChannel001 Ethernet60
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
No.    Team Dev         Protocol     Ports
-----  ---------------  -----------  ---------------------------
       PortChannel      LACP(A)(Dw)  N/A
001    PortChannel001   LACP(A)(Dw)  Ethernet4(D)
0001   PortChannel0001  LACP(A)(Dw)  Ethernet64(D) Ethernet60(D)
nel    PortChannelnel   LACP(A)(Dw)  N/A

No error / validation message displayed when we try to delete non existing member of port channel.

Same way I did for Existing port channel and Non Existing port channel. Observed same behavior.

root@sonic-testing:/home/admin# config portchannel del TestingChannel
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
  No.  Team Dev         Protocol     Ports
-----  ---------------  -----------  ---------------------------
  001  PortChannel001   LACP(A)(Dw)  Ethernet4(D)
 0001  PortChannel0001  LACP(A)(Dw)  Ethernet64(D) Ethernet60(D)
root@sonic-testing:/home/admin# config portchannel del Testing
root@sonic-testing:/home/admin# teamshow
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available, S - selected, D - deselected
  No.  Team Dev         Protocol     Ports
-----  ---------------  -----------  ---------------------------
  001  PortChannel001   LACP(A)(Dw)  Ethernet4(D)
 0001  PortChannel0001  LACP(A)(Dw)  Ethernet64(D) Ethernet60(D)

Please fix this issue as it is very confusing to end user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants