summaryrefslogtreecommitdiffstats
path: root/cps-service/src/test/resources
diff options
context:
space:
mode:
authorDylanB95EST <dylan.byrne@est.tech>2021-08-18 17:12:25 +0100
committerDylan Byrne <dylan.byrne@est.tech>2021-08-24 11:22:53 +0000
commit31facc867f1a5dcfe78295b15dc3ddc1c9d15896 (patch)
treee5f27cb7958de1d44d16e2f3ec2328ae441be2f0 /cps-service/src/test/resources
parentdc5ed75c841da857611713bceed8bf9988204d3d (diff)
Update CmHandle in DMI-Registry for a DMI-Plugin Instance in NCMP as part of dmi registration.
Updating existing CM-Handles created previously as part of CPS-442 Note - Can only update cm handles and properties which already exist. Issue-ID: CPS-443 Change-Id: Ib05a4e01336ca463578b45917dcdfe715b6bad07 Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Diffstat (limited to 'cps-service/src/test/resources')
-rw-r--r--cps-service/src/test/resources/dmi-registry.yang42
1 files changed, 42 insertions, 0 deletions
diff --git a/cps-service/src/test/resources/dmi-registry.yang b/cps-service/src/test/resources/dmi-registry.yang
new file mode 100644
index 0000000000..3c2d893b2a
--- /dev/null
+++ b/cps-service/src/test/resources/dmi-registry.yang
@@ -0,0 +1,42 @@
+module dmi-registry {
+
+ yang-version 1.1;
+
+ namespace "org:onap:cps:ncmp";
+
+ prefix dmi-reg;
+
+ revision "2021-05-20" {
+ description
+ "Initial Version";
+ }
+
+ container dmi-registry {
+
+ list cm-handles {
+
+ key "id";
+
+ leaf id {
+ type string;
+ }
+
+ leaf dmi-service-name {
+ type string;
+ }
+
+ list additional-properties {
+
+ key "name";
+
+ leaf name {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
+ }
+ }
+ }
+} \ No newline at end of file