openBackhaul / airInterface

Technology specific interface definition for microwave air interfaces
Apache License 2.0
3 stars 0 forks source link

transmission-mode leafref: relative path instead of absolute path #18

Closed rservadio closed 4 years ago

rservadio commented 4 years ago

In the transmission-mode leafref contined in:

there is a wrong path :

leaf transmission-mode {
  type leafref {
    path "/air-interface:air-interface-lp-spec/air-interface:air-interface-pac/air-interface:air-interface-capability/air-interface:transmission-mode-list/air-interface:transmission-mode-name";
  }
}   

The right (absolute) path should be:

    path "/core-model:control-construct/core-model:logical-termination-point/core-model:layer-protocol/air-interface:air-interface-pac/air-interface:air-interface-capability/air-interface:transmission-mode-list/air-interface:transmission-mode-name"
openBackhaul commented 4 years ago

With the new augment statement, the root element changes from AirInterface_Pac to ControlConstruct. The path statements in all leafref statements have to be adapted.

Martin will analyse, whether the UML is incomplete for the UML2YANG tool producing correct path statements.

openBackhaul commented 4 years ago

Relative paths became obsolete after deciding to stick with augmentation statement inside tech.spec.extensions.