[YANGTOOLS-1171] Appending "-g" to yang 'uses' in referencing yang missing Created: 13/Nov/20  Updated: 23/Sep/22  Resolved: 23/Sep/22

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Martin Skorupski Assignee: Robert Varga
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

ODL: Aluminium-SR0

Observation with yangs from this source:
https://gerrit.o-ran-sc.org/r/gitweb?p=sim/o1-interface.git;a=tree;f=ntsimulator/deploy/base/yang;h=b51524b568bb2aa0e48a89f4293532f5718a680e;hb=refs/heads/master

 

Procedure:

After mounting a netconf server exposing the yang files - the yang files are available in ./cache/schema. 

To all yang grouping statements a "-g" was appended -> ok

 To all yang uses statements which reference a yang grouping within this model were alos appended with a "-g" -> ok

However the yang uses statements using groupings from imported models are now missing the appended "-g" -> nok

 

Current workaround

  • pre-loading of yang models to ./cache/schema

 

 



 Comments   
Comment by Robert Varga [ 12/Jul/22 ]

demx8as6 I am sorry, but I cannot quite place the problem. Can you describe (perhaps with logs) what is going on?

Comment by Martin Skorupski [ 13/Jul/22 ]

rovarga ODL YANGTOOLs were enhanced long time ago and the "-g" extension is not needed/required anymore.
This issue can be closed without any further activity -> Please set state to "closed" (or similar - maybe "verified"?)

Comment by Martin Skorupski [ 23/Sep/22 ]

rovarga looks like I dont have permission to "close" this issue - could you please do so - thanks in advance!

Generated at Wed Feb 07 20:55:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.