X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fvnfd.yang;h=9f6a8320c3102bd03bfdad7a8a8d42ef2f40bacc;hb=89b848f4649cd187b5df6d4c7b4dce9a9629d7f8;hp=2cc43d3e16087e7553b78c81d2b4603e8d395404;hpb=e5ce4ffee708ce25521d0a95280c25904ab94ddd;p=osm%2FSO.git diff --git a/models/plugins/yang/vnfd.yang b/models/plugins/yang/vnfd.yang index 2cc43d3e..9f6a8320 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 port-security-enabled { + description "Enables the port security for the port"; + type boolean; + default true; + } } 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,6 +266,7 @@ module vnfd type uint64; } + list internal-connection-point { key "id-ref"; description "List of internal connection points in this VLD"; @@ -279,8 +278,30 @@ module vnfd } } uses manotypes:provider-network; + choice init-params { + description "Extra parameters for VLD instantiation"; + + case vim-network-ref { + leaf vim-network-name { + description + "Name of network in VIM account. This is used to indicate + pre-provisioned network name in cloud account."; + type string; + } + } + + case vim-network-profile { + leaf ip-profile-ref { + description "Named reference to IP-profile object"; + type string; + } + } + + } } + uses manotypes:ip-profile-list; + list connection-point { key "name"; description @@ -342,26 +363,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 @@ -385,6 +387,8 @@ module vnfd } } + uses manotypes:custom-boot-data; + list internal-connection-point { key "id"; description @@ -447,6 +451,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 { @@ -498,7 +513,7 @@ module vnfd key "name"; uses manotypes:placement-group-info; - + list member-vdus { description @@ -512,7 +527,17 @@ module vnfd } } } - } + } + + container vnfd-catalog { + description + "Virtual Network Function Descriptor (VNFD)."; + + list vnfd { + key "id"; + + uses vnfd-descriptor; + } } }