aboutsummaryrefslogtreecommitdiffstats
path: root/asdcApi/model/src/main/yang/asdc-api-common.yang
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-02-15 15:09:44 -0500
committerDan Timoney <dtimoney@att.com>2017-02-15 15:11:54 -0500
commit1b47683183e05c39e55d14c904caf073b65825ef (patch)
tree30d6ed61324f59b014ab2e935979c6aaef6d7fba /asdcApi/model/src/main/yang/asdc-api-common.yang
parent66fe1714388c1d1f82097de468ef3789b178743d (diff)
Initial commit for OpenECOMP SDN-C northbound
Change-Id: Iffe4d4fbcfd21ecbc1000238354094cc064298ce Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'asdcApi/model/src/main/yang/asdc-api-common.yang')
-rwxr-xr-xasdcApi/model/src/main/yang/asdc-api-common.yang53
1 files changed, 53 insertions, 0 deletions
diff --git a/asdcApi/model/src/main/yang/asdc-api-common.yang b/asdcApi/model/src/main/yang/asdc-api-common.yang
new file mode 100755
index 00000000..126368d4
--- /dev/null
+++ b/asdcApi/model/src/main/yang/asdc-api-common.yang
@@ -0,0 +1,53 @@
+
+module asdc-api-common {
+ yang-version "1";
+
+ // Use same namespace defined for file upload in 15.12
+ namespace "org:openecomp:sdnc:asdcapi:common";
+
+ prefix asdcapi;
+
+ organization
+ "OpenECOMP";
+
+ contact
+ "Dan Timoney";
+
+ description
+ "ASDC/SDN-C API common data";
+
+ revision 2017-02-01 {
+ description "Initial release";
+ }
+
+
+
+ // Groupings
+
+ grouping artifact-fields {
+ leaf artifact-name {
+ type string;
+ description "Name of artifact";
+ }
+
+ leaf artifact-version {
+ type string;
+ description "Version of artifact";
+ }
+ }
+
+ grouping asdc-api-response {
+ leaf asdc-api-response-code {
+ type string;
+ description "Code indicating success/failure";
+ }
+
+ leaf asdc-api-response-text {
+ type string;
+ description "Text indicating reason for failure";
+ }
+ }
+
+
+
+}