X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fvnfd-base.yang;h=a320ed1e6d19604ff8e656306031390a39d54e30;hp=69f5265e7c531c276b3bf53daf0f5471367a63f8;hb=2b5a566395883b7d1959344bc725186bda441d01;hpb=8efd85eaa707711720c050432b552be4c1740509 diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index 69f5265..a320ed1 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -528,6 +528,14 @@ module vnfd-base type uint32; } + leaf mgmt-interface { + description + "Flag to indicate that this is the mgmt interface + to be used for VDU configuration"; + type boolean; + default false; + } + leaf type { description "Type of the Interface"; @@ -829,37 +837,43 @@ module vnfd-base case vdu-monitoring-param { description "VDU-related metric from the infrastructure"; - leaf vdu-ref { - type leafref { - path "../../vdu/id"; + container vdu-monitoring-param { + leaf vdu-ref { + type leafref { + path "../../../vdu/id"; + } } - } - leaf vdu-monitoring-param-ref { - type leafref { - path "../../vdu[id = current()/../vdu-ref]/monitoring-param/id"; + leaf vdu-monitoring-param-ref { + type leafref { + path "../../../vdu[id = current()/../vdu-ref]/monitoring-param/id"; + } } } } case vnf-metric { description "VNF-related metric (from VCA)"; - leaf vnf-metric-name-ref { - type leafref { - path "../../vnf-configuration/metrics/name"; + container vnf-metric { + leaf vnf-metric-name-ref { + type leafref { + path "../../../vnf-configuration/metrics/name"; + } } } } case vdu-metric { description "VDU-related metric (from VCA)"; - leaf vdu-id-ref { - type leafref { - path "../../vdu/id"; + container vdu-metric { + leaf vdu-ref { + type leafref { + path "../../../vdu/id"; + } } - } - leaf vdu-metric-name-ref { - type leafref { - path "../../vdu[id = current()/../vdu-id-ref]/vdu-configuration/metrics/name"; + leaf vdu-metric-name-ref { + type leafref { + path "../../../vdu[id = current()/../vdu-ref]/vdu-configuration/metrics/name"; + } } } }