X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fvnfr.yang;h=2678c500c8753ae026231f7d8576594186d05060;hb=9ad945aab0b5a992e1df860bede8ecc9b143470e;hp=13d96006731f70d2e65b48939358013a44d0488f;hpb=0f5e8c0bdb1d12863688400a56b54b10188b21a8;p=osm%2FSO.git diff --git a/models/plugins/yang/vnfr.yang b/models/plugins/yang/vnfr.yang index 13d96006..2678c500 100644 --- a/models/plugins/yang/vnfr.yang +++ b/models/plugins/yang/vnfr.yang @@ -31,12 +31,12 @@ module vnfr prefix "rwpb"; } - import vnfd { - prefix "vnfd"; + import vnfd-base { + prefix "vnfd-base"; } - import nsd { - prefix "nsd"; + import project-nsd { + prefix "project-nsd"; } import vlr { @@ -59,7 +59,7 @@ module vnfr prefix "rw-cloud"; } - revision 2017-02-08 { + revision 2017-02-28 { description "Update model to support projects."; } @@ -170,7 +170,7 @@ module vnfr leaf member-vnf-index-ref { description "Reference to member VNF index in Network service."; type leafref { - path "../../../nsd:nsd-catalog/nsd:nsd/nsd:constituent-vnfd/nsd:member-vnf-index"; + path "../../../project-nsd:nsd-catalog/project-nsd:nsd/project-nsd:constituent-vnfd/project-nsd:member-vnf-index"; } } @@ -223,7 +223,7 @@ module vnfr container vnfd { description "VNF descriptor used to instantiate this VNF"; - uses vnfd:vnfd-descriptor; + uses vnfd-base:vnfd-descriptor; } // Use parameters provided here to configure this VNF @@ -269,7 +269,7 @@ module vnfr different VNFs. The NFVO will use VLDs and VNFFGs at the network service level to construct network services."; - uses vnfd:common-connection-point; + uses vnfd-base:common-connection-point; leaf vlr-ref { description @@ -312,6 +312,15 @@ module vnfr type string; } + leaf unique-short-name { + description "Short Unique name of the VDU + This will be of the format NSR name-ShortnedString-VDUname + NSR name and VDU name shall be constrained to 10 characters"; + rwpb:field-inline "true"; + rwpb:field-string-max 64; + type string; + } + leaf vdu-id-ref { type leafref { path "../../vnfd/vdu/id"; @@ -390,7 +399,7 @@ module vnfr has only one VNFC, it may not have any internal connection points."; - uses vnfd:common-connection-point; + uses vnfd-base:common-connection-point; leaf ip-address { description