pyang icon indicating copy to clipboard operation
pyang copied to clipboard

deviation with config statement not working properly

Open mdoshi-com opened this issue 4 years ago • 1 comments

Hi, We are getting following error while running the following command:

pyang --format=tree --output=sample.tree *.yang

error: commscope_3gpp-nr-nrm-nrcelldu.yang:18: error: the "config" property already exists in node "_3gpp-nr-nrm-ep::localAddress"

there is not config property already existing for "localAddress" but somehow it is giving this error. Can you please let us know if this issue is already fixed. The zip containing all the yangs attached. Just run the above command inside this folder, you should be able to see the error.

Regards, Meghna

yang-files.zip

mdoshi-com avatar Dec 11 '20 12:12 mdoshi-com

@mdoshi-com Hi modoshi, Refer to #646

Config property is added implicitly. It can only be deviated replaced.

fredgan avatar Dec 15 '20 01:12 fredgan