sonic-otn / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
3 stars 4 forks source link

No command like "show chassis x slots" or "config card xxx" in PRE202411 #11

Open laogaolao opened 2 months ago

laogaolao commented 2 months ago

Description

I am trying to compile the PRE202411 branch, the compiling is good but when I try to run the system in the simulator, I found no command "show chassis x slots" or "config card xxx" which exist in the legacy branch. I also see in other issue mentioned there is no any OTN function in the PRE202411 branch so far. So My question is when the group will merge the legacy function to this branch? Thanks in advance.

Steps to reproduce the issue:

admin@sonic:~$ show chassis Usage: show chassis [OPTIONS] COMMAND [ARGS]...

Chassis commands group

Options: -h, -?, --help Show this message and exit.

Commands: modules Show chassis-modules information system-lags Show VOQ system lags information system-neighbors Show VOQ system neighbors information system-ports Show VOQ system ports information admin@sonic:~$

admin@sonic:~$ config card type Usage: config [OPTIONS] COMMAND [ARGS]... Try "config -h" for help.

Error: No such command "card". admin@sonic:~$

Describe the results you received:

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

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

sonic-otn commented 1 month ago

@laogaolao the CLI features are not implemented yet, the group planning to adopt auto-generated CLI implement in the PRE202411 branch. Here is the CLI HLD: https://github.com/sonic-otn/SONiC-OTN/blob/main/documentation/openconfig-cli-autogen-HLD.md. The target release time is in 202411