X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsd.yang;fp=models%2Fplugins%2Fyang%2Fnsd.yang;h=84b632518cc51aa69f8b7e502d639530401e8ec6;hb=55e01f61d558380f6cc8b34a2d7834819371defd;hp=31750cae96fcdeda634d8d7f56f6a69c9be08b8e;hpb=2d3f1023ac94d9c19115c0b63ce85ae7a8598517;p=osm%2FSO.git diff --git a/models/plugins/yang/nsd.yang b/models/plugins/yang/nsd.yang index 31750cae..84b63251 100644 --- a/models/plugins/yang/nsd.yang +++ b/models/plugins/yang/nsd.yang @@ -292,9 +292,9 @@ module nsd } } - leaf vnfd-id-ref { - description - "A reference to a vnfd. This is a + leaf vnfd-id-ref { + description + "A reference to a vnfd. This is a leafref to path: ../../nsd:constituent-vnfd + [nsd:id = current()/../nsd:id-ref] @@ -304,12 +304,12 @@ module nsd to leafref, whose target is in a different module. Once that is resovled this will switched to use leafref"; - type string; - } + type string; + } - leaf vnfd-connection-point-ref { - description - "A reference to a connection point name + leaf vnfd-connection-point-ref { + description + "A reference to a connection point name in a vnfd. This is a leafref to path: /vnfd:vnfd-catalog/vnfd:vnfd + [vnfd:id = current()/../nsd:vnfd-id-ref] @@ -319,7 +319,7 @@ module nsd to leafref, whose target is in a different module. Once that is resovled this will switched to use leafref"; - type string; + type string; } }