X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fmano-types.yang;h=8950c7a2e674d73d8cb9dff67724304e2fc31e01;hp=81022ad3ae6931bb184095456235d82e3227d635;hb=98048d285c7e36cacf211343c14e22c62138f3e4;hpb=d6ccaf7e0a66331e9be1046642868f84e7184a31 diff --git a/models/yang/mano-types.yang b/models/yang/mano-types.yang index 81022ad..8950c7a 100644 --- a/models/yang/mano-types.yang +++ b/models/yang/mano-types.yang @@ -27,10 +27,6 @@ module mano-types prefix "inet"; } - import rw-pb-ext { - prefix "rwpb"; - } - import rw-project { prefix "rw-project"; } @@ -241,7 +237,6 @@ module mano-types } } - grouping vca-configuration { description "Information about the VNF or VDU configuration. Note: @@ -278,65 +273,61 @@ module mano-types type string; } uses manotypes:vca-relationships; - } } + } + list config-primitive { + description + "List of config primitives supported by the + configuration agent for this VNF or VDU."; + key "name"; - list service-primitive { - rwpb:msg-new ServicePrimitive; + leaf name { description - "List of config primitives supported by the - configuration agent for this VNF or VDU."; - key "name"; - - leaf name { - description - "Name of the config primitive."; - type string; - } + "Name of the config primitive."; + type string; + } - list parameter { - description - "List of parameters to the config primitive."; - key "name"; - uses primitive-parameter; - } + list parameter { + description + "List of parameters to the config primitive."; + key "name"; + uses primitive-parameter; + } - leaf user-defined-script { - description - "A user defined script. If user defined script is defined, - the script will be executed using bash"; - type string; - } + leaf user-defined-script { + description + "A user defined script. If user defined script is defined, + the script will be executed using bash"; + type string; } + } - list initial-config-primitive { - rwpb:msg-new InitialConfigPrimitive; + list initial-config-primitive { + description + "Initial set of configuration primitives."; + key "seq"; + leaf seq { description - "Initial set of configuration primitives."; - key "seq"; - leaf seq { - description - "Sequence number for the configuration primitive."; - type uint64; - } + "Sequence number for the configuration primitive."; + type uint64; + } - choice primitive-type { - case primitive-definition { - leaf name { - description - "Name of the configuration primitive."; - type string; - } + choice primitive-type { + case primitive-definition { + leaf name { + description + "Name of the configuration primitive."; + type string; + } - uses primitive-parameter-value; + uses primitive-parameter-value; - leaf user-defined-script { - description - "A user defined script."; - type string; - } + leaf user-defined-script { + description + "A user defined script."; + type string; } } } @@ -1959,7 +1950,6 @@ module mano-types } list user { - rwpb:msg-new CloudConfigUser; key "name"; description "List of users to be added through cloud-config";