X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fnsd.yang;h=3d08627cd6e4465c2b4608e68aa65c3070a0fbf3;hb=af759326472a5e2ab802f83555cc60a48c197078;hp=cc6b7ed13b5fb3342bbdfd5a8b6d30a8c1ad6a38;hpb=bccc1f25ac7a64446d1f283397b5598c5209af95;p=osm%2FSO.git diff --git a/models/plugins/yang/nsd.yang b/models/plugins/yang/nsd.yang index cc6b7ed1..3d08627c 100644 --- a/models/plugins/yang/nsd.yang +++ b/models/plugins/yang/nsd.yang @@ -124,38 +124,6 @@ module nsd } } - grouping ns-initial-config-primitive { - leaf seq { - description - "Sequence number for the configuration primitive."; - type uint64; - } - - leaf name { - description - "Name of the configuration primitive."; - type string; - mandatory "true"; - } - - leaf user-defined-script { - description - "A user defined script."; - type string; - } - - list parameter { - key "name"; - leaf name { - type string; - } - - leaf value { - type string; - } - } - } - grouping nsd-descriptor { leaf id { description "Identifier for the NSD."; @@ -283,7 +251,7 @@ module nsd list vnfd-connection-point-ref { description "A list of references to connection points."; - key "member-vnf-index-ref"; + key "member-vnf-index-ref vnfd-connection-point-ref"; leaf member-vnf-index-ref { description "Reference to member-vnf within constituent-vnfds"; @@ -320,6 +288,12 @@ module nsd // replicate for pnfd container here uses manotypes:provider-network; + leaf mgmt-network { + description "Flag indicating whether this network is a VIM management network"; + type boolean; + default false; + } + choice init-params { description "Extra parameters for VLD instantiation"; @@ -331,12 +305,14 @@ module nsd type string; } } + case vim-network-profile { leaf ip-profile-ref { description "Named reference to IP-profile object"; type string; } - } + } + } } @@ -894,7 +870,7 @@ module nsd "Initial set of configuration primitives for NSD."; key "seq"; - uses ns-initial-config-primitive; + uses manotypes:initial-config; } list key-pair {