aboutsummaryrefslogtreecommitdiffstats
path: root/asdcApi/model/src/main/yang/asdc-api-common.yang
blob: 126368d4fd6e4329ed7af77b91583f18eacbbdb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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";
        }
    }



}