X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Fmano-types.yang;h=e7c7d3d613015b372a453ddd044dace5df6407d7;hb=055eabb8205cf0707a139f394f0afb5dbfa7423c;hp=cd5d446d8eba05c662d4d23801d24f05369d691d;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/models/plugins/yang/mano-types.yang b/models/plugins/yang/mano-types.yang index cd5d446d..e7c7d3d6 100644 --- a/models/plugins/yang/mano-types.yang +++ b/models/plugins/yang/mano-types.yang @@ -717,10 +717,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 +732,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 +880,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 { @@ -1936,9 +1948,12 @@ module mano-types type string; } - leaf-list dns-server { - description "List of DNS Servers associated with IP Profile"; - type inet:ip-address; + list dns-server { + key "address"; + leaf address { + description "List of DNS Servers associated with IP Profile"; + type inet:ip-address; + } } container dhcp-params {