X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fvnfd.yang;h=d968bc804800ede491b06ccfcf038cf2aa5213a4;hb=f469e3d5d6173674ffdc723e14b9c277c962539e;hp=81bb2aa7fb345e0b06f90435c7004a994f10d3ea;hpb=97b74b6a87ca8827749782653e89865d9d1108a4;p=osm%2FSO.git diff --git a/models/plugins/yang/vnfd.yang b/models/plugins/yang/vnfd.yang index 81bb2aa7..d968bc80 100644 --- a/models/plugins/yang/vnfd.yang +++ b/models/plugins/yang/vnfd.yang @@ -67,6 +67,10 @@ 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; + } } grouping virtual-interface { @@ -115,14 +119,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; @@ -183,7 +180,7 @@ module vnfd "Use the default management interface on this VDU."; leaf vdu-id { type leafref { - path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:vdu/vnfd:id"; + path "../../vdu/id"; } } } @@ -193,7 +190,7 @@ module vnfd "Use the ip address associated with this connection point."; leaf cp { type leafref { - path "/vnfd:vnfd-catalog/vnfd:vnfd/vnfd:connection-point/vnfd:name"; + path "../../connection-point/name"; } } } @@ -279,8 +276,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 @@ -366,6 +385,8 @@ module vnfd } } + uses manotypes:supplemental-boot-data; + list internal-connection-point { key "id"; description @@ -377,12 +398,6 @@ module vnfd connection points."; uses common-connection-point; - - leaf internal-vld-ref { - type leafref { - path "../../../internal-vld/id"; - } - } } list internal-interface { @@ -490,7 +505,7 @@ module vnfd key "name"; uses manotypes:placement-group-info; - + list member-vdus { description @@ -504,7 +519,17 @@ module vnfd } } } - } + } + + container vnfd-catalog { + description + "Virtual Network Function Descriptor (VNFD)."; + + list vnfd { + key "id"; + + uses vnfd-descriptor; + } } }