X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=models%2Fplugins%2Fyang%2Fnsd.yang;h=2b48ee7dbf33ca3c01821c9a41e3da01753093f9;hb=f49375710db1acf3cd74c8651d098b7a08e8d0b2;hp=49bb9e6c356d0b8be100f7ba5bf564dc1a282dfa;hpb=0f5e8c0bdb1d12863688400a56b54b10188b21a8;p=osm%2FSO.git diff --git a/models/plugins/yang/nsd.yang b/models/plugins/yang/nsd.yang index 49bb9e6c..2b48ee7d 100644 --- a/models/plugins/yang/nsd.yang +++ b/models/plugins/yang/nsd.yang @@ -843,9 +843,11 @@ module nsd leaf member-vnf-index-ref { description "Reference to member-vnf within constituent-vnfds"; - type leafref { - path "../../../constituent-vnfd/member-vnf-index"; - } + // TODO (Philip): Fix this + // type leafref { + // path "../../../constituent-vnfd/member-vnf-index"; + // } + type uint64; } leaf vnfd-id-ref { @@ -865,11 +867,13 @@ module nsd leaf vnfd-connection-point-ref { description "A reference to a connection point name"; - type leafref { - path "../../../../../../vnfd:vnfd-catalog/vnfd:vnfd" + - "[vnfd:id = current()/../vnfd-id-ref]/" + - "vnfd:connection-point/vnfd:name"; - } + // TODO (Philip): Fix this + // type leafref { + // path "../../../../../../vnfd:vnfd-catalog/vnfd:vnfd" + + // "[vnfd:id = current()/../vnfd-id-ref]/" + + // "vnfd:connection-point/vnfd:name"; + // } + type string; } } } @@ -927,9 +931,11 @@ module nsd leaf vnfd-id-ref { description "Identifier for the VNFD."; - type leafref { - path "../../../../../vnfd:vnfd-catalog/vnfd:vnfd/vnfd:id"; - } + // TODO (Philip): Fix this + // type leafref { + // path "../../../../../vnfd:vnfd-catalog/vnfd:vnfd/vnfd:id"; + // } + type string; } leaf start-by-default { @@ -987,17 +993,21 @@ module nsd leaf member-vnf-index-ref { description "member VNF index of this member VNF"; - type leafref { - path "../../../constituent-vnfd/member-vnf-index"; - } + // TODO (Philip): Fix this + // type leafref { + // path "../../../constituent-vnfd/member-vnf-index"; + // } + type uint64; } leaf vnfd-id-ref { description "Identifier for the VNFD."; - type leafref { - path "../../../../../../vnfd:vnfd-catalog/vnfd:vnfd/vnfd:id"; - } + // TODO (Philip): Fix this + // type leafref { + // path "../../../../../../vnfd:vnfd-catalog/vnfd:vnfd/vnfd:id"; + // } + type string; } } }