lisa-project / lisa-user

LISA User Space Tools
GNU General Public License v2.0
7 stars 3 forks source link

Bug in show run-config #95

Closed claudiughioc closed 11 years ago

claudiughioc commented 11 years ago

When running "show run-config" all the possible VLANs are displayed, except for the ones configured in the switch. This problem has been met with the "linux" back-end but must be checked for "lisa" too.

claudiughioc commented 11 years ago

Commit 395b21dd1f6a1b09328328fe748cc5efb6eda83a fixes the CLI and the "linux" backend. The "switch" module returns garbage on get_vdb, a bitmap with random zero values. This change may have triggered other bugs in CLI so this is still unstable for the moment.

claudiughioc commented 11 years ago

Commit bed0305abb4236bac40064df84960412041c67df[1] in lisa-kernel solves the problem in the "switch.ko" module. I remember that I discusses with Radu R about how the VLAN bitmap are supposed to be created in the back-end:

[1] https://github.com/lisa-project/lisa-kernel/commit/bed0305abb4236bac40064df84960412041c67df