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

nokia_sros: Add support for md-cli only mode #3496

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

lub-dub
Copy link
Contributor

@lub-dub lub-dub commented Sep 9, 2024

Currently copying files fails, if the system does not allow switching to classic CLI. This change will allow copying files even in MD-CLI only.

@ktbyers
Copy link
Owner

ktbyers commented Sep 13, 2024

@lub-dub Do you have example output for the following cases (from a MD-CLI device)?

file list cf3:
file list cf3:/somefile.txt

In the "somefile.txt" case both when this file exists and when it doesn't exist?

@lub-dub
Copy link
Contributor Author

lub-dub commented Sep 16, 2024

Ommitted some files for privacy reasons:

A:admin@md-cli# file list cf3:

Volume in drive cf3 on slot A is TIMOS-CPMA.

Volume in drive cf3 on slot A is formatted as FAT32

Directory of cf3:\

08/19/2024  10:24a      <DIR>          .commit-history/
...
09/05/2023  02:46p      <DIR>          EFI/
05/08/2023  02:36p      <DIR>          MIBs/
09/09/2024  12:37p      <DIR>          TiMOS-SR-23.10.R6/
07/19/2024  08:42a      <DIR>          TiMOS-SR-24.7.R1/
08/19/2024  10:16a                1038 bof.cfg
08/19/2024  09:56a                1176 bof.cfg.1
07/25/2024  03:27p                1048 bof.cfg.2
07/19/2024  05:50p                1043 bof.cfg.3
07/19/2024  08:55a                 772 bof.cfg.4
07/09/2024  04:15p                 777 bof.cfg.5
07/09/2024  04:11p                 729 bof.cfg.6
09/16/2022  03:40p                 211 bof.ztp.cfg
08/16/2024  08:41p             8011840 boot.ldr
08/19/2024  10:24a                4824 bootlog.txt
08/19/2024  10:14a                4953 bootlog_prev.txt
08/19/2024  10:06a              111230 config.cfg
08/01/2024  03:10p              111511 config.cfg.1
07/22/2024  01:06p              111190 config.cfg.2
07/22/2024  01:04p              111536 config.cfg.3
07/19/2024  08:56a              111484 config.cfg.4
07/18/2024  09:21a              116152 config.cfg.5
....
05/08/2023  02:49p      <DIR>          ssh/
05/08/2023  02:36p      <DIR>          support/
              35 File(s)               21876352 bytes.
               7 Dir(s)               552095744 bytes free.
A:admin@md-cli# file list cf3:/somefile.txt

Volume in drive cf3 on slot A is TIMOS-CPMA.

Volume in drive cf3 on slot A is formatted as FAT32

Directory of cf3:

MINOR: MGMT_AGENT #2005: Invalid element value - open directory "cf3:\somefile.txt"
A:admin@md-cli# file list cf3:/somefile.txt

Volume in drive cf3 on slot A is TIMOS-CPMA.

Volume in drive cf3 on slot A is formatted as FAT32

Directory of cf3:

09/16/2024  09:03a                   2 somefile.txt
               1 File(s)                      2 bytes.
               0 Dir(s)               552091648 bytes free.

@ktbyers
Copy link
Owner

ktbyers commented Sep 17, 2024

@lub-dub Thanks...I will try to look at the outputs you provided tomorrow.

Copy link
Owner

@ktbyers ktbyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ktbyers ktbyers merged commit 5f76376 into ktbyers:develop Sep 17, 2024
20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants