X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fo-ran%2Fyang%2Fo-ran-transceiver.yang;fp=ntsimulator%2Fyang%2Fo-ran%2Fru-fh%2Fo-ran-transceiver.yang;h=f5727c09fb5b7fb3f83cfcc78d01e73e94a0ccb1;hp=93d83d8941d5ef619d5219d08854624a9a13a836;hb=f1d5c9198acde7a7ce296490087cad37e008f688;hpb=f2d8f1002fa93848c80a88e5658db4816cba3020 diff --git a/ntsimulator/yang/o-ran/ru-fh/o-ran-transceiver.yang b/ntsimulator/deploy/o-ran/yang/o-ran-transceiver.yang similarity index 99% rename from ntsimulator/yang/o-ran/ru-fh/o-ran-transceiver.yang rename to ntsimulator/deploy/o-ran/yang/o-ran-transceiver.yang index 93d83d8..f5727c0 100644 --- a/ntsimulator/yang/o-ran/ru-fh/o-ran-transceiver.yang +++ b/ntsimulator/deploy/o-ran/yang/o-ran-transceiver.yang @@ -81,7 +81,8 @@ module o-ran-transceiver { } leaf port-number { type leafref { - path "/if:interfaces/if:interface[if:name = current()/../interface-name]" + "/o-ran-int:port-reference/o-ran-int:port-number"; + //checkAL added o-ran-transceiver: before interface-name + path "/if:interfaces/if:interface[if:name = current()/../o-ran-transceiver:interface-name]" + "/o-ran-int:port-reference/o-ran-int:port-number"; } description "A number which identifies a port. In case of SFP/SFP+