X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fmano-types.yang;h=3411cb70dddec944980f84eb59c7a3c1ab6680c7;hb=0c288cecce7762d51431c4a044588736a8571371;hp=3c723f4c228bd4dd61c92b511eea19de24e87598;hpb=4e6cebcf2f15e9c9370d5af6b725629a70ac9b1a;p=osm%2FSO.git diff --git a/models/plugins/yang/mano-types.yang b/models/plugins/yang/mano-types.yang index 3c723f4c..3411cb70 100644 --- a/models/plugins/yang/mano-types.yang +++ b/models/plugins/yang/mano-types.yang @@ -109,6 +109,22 @@ module mano-types Only applies to parameters with default values."; type boolean; } + leaf parameter-type { + description "Type of this parameter, whether this in IN or OUT"; + type enumeration { + enum OUT; + enum IN; + } + default "IN"; + } + leaf parameter-path { + description "A Leafref to the parameter path with the attribute selection. + At present only attribute ip-address() is supported. + For example, to get the ip address of VNF connection point + the xpath would look something along the following lines, + /vnfd-catalog/vnfd[id='x']/connection-point[name='cp']/ip-address()"; + type string; + } } @@ -717,10 +733,13 @@ module mano-types type uint64; } - leaf-list cpu-feature { - description - "List of CPU features."; - type cpu-feature-type; + list cpu-feature { + key "feature"; + description "List of CPU features."; + leaf feature { + description "CPU feature."; + type cpu-feature-type; + } } @@ -729,9 +748,13 @@ module mano-types type string; } - leaf-list om-cpu-feature { - description "Openmano CPU features"; - type string; + list om-cpu-feature { + key "feature"; + description "List of openmano CPU features"; + leaf feature { + description "CPU feature"; + type string; + } } } } @@ -873,11 +896,16 @@ module mano-types type uint64; } - leaf-list vcpu { + list vcpu { + key "id"; description "List of vcpus to allocate on this numa node."; - type uint64; + leaf id { + type uint64; + description "List of vcpus ids to allocate on + this numa node"; + } } leaf memory-mb {