summaryrefslogtreecommitdiffstats
path: root/docs/api
diff options
context:
space:
mode:
authorlukegleeson <luke.gleeson@est.tech>2021-09-30 13:36:37 +0100
committerLuke Gleeson <luke.gleeson@est.tech>2021-10-11 09:41:21 +0000
commite1308ace3df3de1efc204db1e9eac05a72b75c22 (patch)
treef5c74f0a2a47f02d3e0e31d6ba3c26b49d46e779 /docs/api
parent98e686f3aa8ae8171e850591c1f85433b00c56cf (diff)
Update Design & Modeling Sections
Update both Design and Modeling sections of Cps-Core Documentation Issue-ID: CPS-626 Change-Id: I7b42e0bcedbec8d973557140c503828e33239847 Signed-off-by: DylanB95EST <dylan.byrne@est.tech> Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/yang/dmiYangResource.yang46
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/api/yang/dmiYangResource.yang b/docs/api/yang/dmiYangResource.yang
new file mode 100644
index 0000000000..8e06a26948
--- /dev/null
+++ b/docs/api/yang/dmiYangResource.yang
@@ -0,0 +1,46 @@
+module dmi-registry {
+
+ yang-version 1.1;
+
+ namespace \"org:onap:cps:ncmp\";
+
+ prefix dmi-reg;
+
+ organization \"Nordix Foundation\";
+
+ contact \"rahul.tyagi@est.tech\";
+
+ 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