X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsd.yang;h=f5e7b282f9b57bd42f4ac83154060c1a025d0c98;hb=refs%2Fchanges%2F34%2F734%2F1;hp=ac0987c94720c2becb2e991a74559dbe77cbb4cc;hpb=4cde4083705f4b370ed54cfa05813630fd651945;p=osm%2FSO.git diff --git a/models/plugins/yang/nsd.yang b/models/plugins/yang/nsd.yang index ac0987c9..f5e7b282 100644 --- a/models/plugins/yang/nsd.yang +++ b/models/plugins/yang/nsd.yang @@ -323,6 +323,46 @@ module nsd } } + list vnfap-map { + key "id"; + description "A mapping of VNF application point + capability/dependency within this network service"; + leaf id { + description "Identfier for VNF access point map"; + type string; + } + container capability { + leaf member-vnf-index-ref { + description "Reference to member-vnf within constituent-vnfds"; + type leafref { + path "../../../../constituent-vnfd/member-vnf-index"; + } + } + leaf capability-ref { + description "Reference to the capability with the capability of the VNF + with the specified member-vnf-index"; + type leafref { + path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:vnfap/vnfd:capability/vnfd:name"; + } + } + } + container dependency { + leaf member-vnf-index-ref { + description "Reference to member-vnf within constituent-vnfds"; + type leafref { + path "../../../../constituent-vnfd/member-vnf-index"; + } + } + leaf dependency-ref { + description "Reference to the dependency within the dependency of the VNF + with the specified member-vnf-index"; + type leafref { + path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:vnfap/vnfd:dependency/vnfd:name"; + } + } + } + } + // replicate for pnfd container here uses manotypes:provider-network;