X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fvnfd.yang;h=a825be1cc0eb0c21a146da2e18e508a9d23d0d07;hb=7749bcbc2837e49b50e6ecfb8cdfa48e02b45bcf;hp=dab749964782e464b2a91e23260df0b6ccb3b9be;hpb=7203e6545b8957eef84f60845285b3256269637e;p=osm%2FSO.git diff --git a/models/plugins/yang/vnfd.yang b/models/plugins/yang/vnfd.yang index dab74996..a825be1c 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 { @@ -176,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"; } } } @@ -186,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"; } } } @@ -272,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 @@ -359,7 +385,7 @@ module vnfd } } - uses manotypes:custom-boot-data; + uses manotypes:supplemental-boot-data; list internal-connection-point { key "id";