X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fmano-types.yang;h=2ff53e792828057b94184e992c3b6a16996628e5;hp=7f50c1a05891724f387ab7b6aed5031e9e7c1805;hb=16d80caf4c5e07119fca593b00c9407011e9cdb4;hpb=8efd85eaa707711720c050432b552be4c1740509 diff --git a/models/yang/mano-types.yang b/models/yang/mano-types.yang index 7f50c1a..2ff53e7 100644 --- a/models/yang/mano-types.yang +++ b/models/yang/mano-types.yang @@ -78,6 +78,12 @@ module mano-types type string; } + leaf data-type { + description + "Data type associated with the value."; + type manotypes:parameter-data-type; + } + leaf value { description "Value associated with the name."; @@ -251,13 +257,7 @@ module mano-types } } // END - grouping vca-metrics - grouping vca-configuration { - description - "Information about the VNF or VDU configuration. Note: - If the NS contains multiple instances of the - same VNF or VDU, each instance could have a different - configuration."; - + grouping configuration-method { choice config-method { description "Defines the configuration method for the VNF or VDU."; @@ -295,6 +295,25 @@ module mano-types } } } + } + + grouping ns-configuration { + description + "Information about NS configuration. Note: + In the future this should be equivalent to vca-configuration + grouping."; + + uses manotypes:configuration-method; + } + + grouping vca-configuration { + description + "Information about the VNF or VDU configuration. Note: + If the NS contains multiple instances of the + same VNF or VDU, each instance could have a different + configuration."; + + uses manotypes:configuration-method; list config-primitive { description @@ -352,6 +371,29 @@ module mano-types } } + list terminate-config-primitive { + description + "Terminate set of configuration primitives."; + key "seq"; + leaf seq { + description + "Sequence number for the configuration primitive."; + type uint64; + } + leaf name { + description + "Name of the configuration primitive."; + type string; + } + + uses primitive-parameter-value; + + leaf user-defined-script { + description + "A user defined script."; + type string; + } + } uses manotypes:vca-metrics; } // END - grouping vca-configuration @@ -1141,7 +1183,7 @@ module mano-types leaf member-vnf-index-ref { description "Reference to member-vnf within constituent-vnfds"; - type uint64; + type string; } leaf vnfd-id-ref { @@ -2156,7 +2198,7 @@ module mano-types grouping supplemental-boot-data { description "Grouping for custom vim data"; container supplemental-boot-data { - uses manotypes:config-file; +// uses manotypes:config-file; leaf boot-data-drive { description "Some VIMs implement additional drives to host config-files or meta-data"; type boolean;