X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fvnfd.yang;h=46c5edd31f41f4ae00b46e238dc553c45d9896db;hb=refs%2Fchanges%2F67%2F767%2F1;hp=c035bd3ba9b15349b747f8fa33b3eefe11067e89;hpb=255ff03a528a3090ce7f46f0a63b65da3e6f9bcf;p=osm%2FSO.git diff --git a/models/plugins/yang/vnfd.yang b/models/plugins/yang/vnfd.yang index c035bd3b..46c5edd3 100644 --- a/models/plugins/yang/vnfd.yang +++ b/models/plugins/yang/vnfd.yang @@ -67,6 +67,11 @@ module vnfd description "Type of the connection point."; type manotypes:connection-point-type; } + + leaf static-ip-address { + description "Static IP address for the connection point"; + type inet:ip-address; + } } grouping virtual-interface { @@ -115,14 +120,7 @@ module vnfd } } - container vnfd-catalog { - - description - "Virtual Network Function Descriptor (VNFD)."; - - list vnfd { - key "id"; - + grouping vnfd-descriptor { leaf id { description "Identifier for the VNFD."; type string; @@ -268,9 +266,14 @@ module vnfd type uint64; } - leaf-list internal-connection-point-ref { - type leafref { - path "../../vdu/internal-connection-point/id"; + list internal-connection-point { + key "id-ref"; + description "List of internal connection points in this VLD"; + leaf id-ref { + description "reference to the internal connection point id"; + type leafref { + path "../../../vdu/internal-connection-point/id"; + } } } @@ -338,26 +341,7 @@ module vnfd uses manotypes:alarm; } - leaf image { - description - "Image name for the software image. - If the image name is found within the VNF packaage it will - be uploaded to all cloud accounts during onboarding process. - Otherwise, the image must be added to the cloud account with - the same name as entered here. - "; - mandatory true; - type string; - } - - leaf image-checksum { - description - "Image md5sum for the software image. - The md5sum, if provided, along with the image name uniquely - identifies an image uploaded to the CAL. - "; - type string; - } + uses manotypes:image-properties; choice cloud-init-input { description @@ -443,6 +427,17 @@ module vnfd } uses virtual-interface; } + + list volumes { + key "name"; + + leaf name { + description "Name of the disk-volumes, e.g. vda, vdb etc"; + type string; + } + + uses manotypes:volume-info; + } } list vdu-dependency { @@ -494,7 +489,7 @@ module vnfd key "name"; uses manotypes:placement-group-info; - + list member-vdus { description @@ -508,7 +503,17 @@ module vnfd } } } - } + } + + container vnfd-catalog { + description + "Virtual Network Function Descriptor (VNFD)."; + + list vnfd { + key "id"; + + uses vnfd-descriptor; + } } }