module dmi-registry {
yang-version 1.1;
namespace "org:onap:cps:samplencmp";
prefix dmi-reg;
organization "Ericsson Software Tech.";
contact "rahul.tyagi@est.tech";
revision "2021-0405-20" {
description
"Initial Version";
}
grouping target {
leaf address {
type string;
description "Target IP address";
}
leaf port {
type string;
description "Target port number";
}
}
container dmi-registry {
list cm-handle {
key "cm-handle-id";
leaf id {
leaf cm-handle-id { type string;
}
type string; leaf name {
type }string;
}
leaf dmi-plugin {
type leafref {
path "/dmi-registry/dmi-plugin/dmi-plugin-id";
}
}
list additional-parametersproperties {
key "name";
leaf name {
type string;
}
leaf value {
type string;
}
}
}
list dmi-plugin {
key "dmi-plugin-id";
leaf dmi-plugin-id {
type string;
}
leaf name {
type string;
}
uses target {
refine "address" {
description "dmi-plugin host address";
}
refine "port" {
description "dmi-plugin port number";
}
}
list dmi-plugin-data {
key "name";
leaf name {
type string;
}
leaf value {
type string;
}
}
}
}
}
|