summaryrefslogtreecommitdiffstats
path: root/platform-logic/restconfapi-yang/src
diff options
context:
space:
mode:
authorjanani <janani.b@huawei.com>2019-05-23 18:28:52 +0530
committerjanani <janani.b@huawei.com>2019-05-23 18:28:52 +0530
commit32f1299ae698cf59f0466653687f724a953e2353 (patch)
treeacd67692727356587341451359ea6bcfc9410a7c /platform-logic/restconfapi-yang/src
parentcfafc04471d16f31cedbbb01337fb66ee0cfb46d (diff)
Bug fix to add restconf api node in DG
Restconf api node in DG Change-Id: I5bcd79073a442cc8ca532f3c2a1560f2867803c4 Issue-ID: CCSDK-1344 Signed-off-by: janani <janani.b@huawei.com> Former-commit-id: bd8f3c044a690772dc1855a0b8f678d9b56f5142
Diffstat (limited to 'platform-logic/restconfapi-yang/src')
-rw-r--r--platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang43
1 files changed, 43 insertions, 0 deletions
diff --git a/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang b/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang
new file mode 100644
index 00000000..d7cf68f1
--- /dev/null
+++ b/platform-logic/restconfapi-yang/src/main/yang/cds/execution-service.yang
@@ -0,0 +1,43 @@
+module execution-service {
+ yang-version 1.1;
+ namespace "cds:workflow:rest";
+ prefix "cds";
+
+ revision "2019-05-21";
+
+ container process {
+ container commonHeader {
+ leaf originatorId {
+ type string;
+ }
+ leaf requestId {
+ type string;
+ }
+ leaf subRequestId {
+ type string;
+ }
+ }
+ container actionIdentifiers {
+ leaf blueprintName {
+ type string;
+ }
+ leaf blueprintVersion {
+ type string;
+ }
+ leaf actionName {
+ type string;
+ }
+ leaf mode {
+ type string;
+ }
+ }
+ container payload {
+ leaf-list template-prefix {
+ type string;
+ }
+ container resource-assignment-request {
+ anyxml resource-assignment-properties;
+ }
+ }
+ }
+}