Sonic CLI auto generate: How to handle if "update" is not supported

25 views
Skip to first unread message

Nilesh Inamdar

unread,
Sep 14, 2023, 3:00:04 AM9/14/23
to sonicproject
Hi Team,

I am auto generating sonic CLIs using "sonic-cli-gen" utility.
It generated add, update and delete CLIs.
But I do not want update CLI.
I was going through following document:
https://github.com/sonic-net/SONiC/blob/master/doc/cli_auto_generation/cli_auto_generation.md
It has mentioned following in document:
image.png
But it has not mentioned how use will get error message from YANG validator if update command is not supported.

Do we have to mention anywhere in yang model ?

Can someone help with this ?

Thanks
Nilesh Inamdar
Reply all
Reply to author
Forward
0 new messages