If you switch to config mode in iShell, then refresh the page prior to exiting config mode, the interface table displays an error. Also for similar reasons, if in config mode in iShell, and you select an interface to view the config/stats about it, it spins but never loads.
These are both because the SSH session being used on the backend is still in config mode, so when the non-config commands are run on page refresh to repopulate the interface table, the commands error out.
I need to add support on page refresh to detect if the session is currently in config mode, and either fall back to privileged mode or add support to pull interface info while maintaining config mode.
Side note: If maintaining config mode, I'll need to verify that the iShell checkbox for 'Config mode' remains checked and active.
If you switch to config mode in iShell, then refresh the page prior to exiting config mode, the interface table displays an error. Also for similar reasons, if in config mode in iShell, and you select an interface to view the config/stats about it, it spins but never loads.
These are both because the SSH session being used on the backend is still in config mode, so when the non-config commands are run on page refresh to repopulate the interface table, the commands error out.
I need to add support on page refresh to detect if the session is currently in config mode, and either fall back to privileged mode or add support to pull interface info while maintaining config mode.
Side note: If maintaining config mode, I'll need to verify that the iShell checkbox for 'Config mode' remains checked and active.