2 * Yang model for the OAM component of Application Controller (APP-C) component of ONAP
4 * This model is used to define the data and services of the OAM component of APP-C.
6 * The services exposed by this component are:
9 * Used to retrieve current metric data from APP-C.
16 namespace "org:openecomp:appc:oam";
18 organization "Copyright 2017 AT&T Intellectual Property.";
21 "Defines the services and request/response requirements for the
22 APP-C OAM component.";
25 * Note, the revision changes the package name of the generated java code. Do not
26 * change the revision unless you also update all references to the bindings.
28 revision "2017-03-03" {
30 "APP-C OAM interface version 1.5.00";
33 grouping common-header {
34 description "A common header for all APP-C requests";
35 container common-header {
36 description "A common header for all APP-C requests";
39 description "originator-id an identifier of the calling system which can be
40 used addressing purposes, i.e. returning asynchronous response
41 to the proper destination over UEB (especially in case of multiple
42 consumers of APP-C APIs)";
48 description "UUID for the request ID. An OSS/BSS identifier for the request
49 that caused the current action. Multiple API calls may be made
50 with the same request-id The request-id shall be recorded throughout
51 the operations on a single request";
60 description "The specific response codes are to be aligned with ASDC reference
61 doc (main table removed to avoid duplication and digression from
62 main table). See ASDC and ECOMP Distribution Consumer Interface
65 description "The specific response codes are to be aligned with ASDC reference
66 doc (main table removed to avoid duplication and digression from
67 main table). See ASDC and ECOMP Distribution Consumer Interface
70 description "Response code";
75 description "Response message";
83 description "An operation to get list of registered Metrics in APP-C";
87 description "KPI metrics definition";
89 description "metrics name";
93 leaf last-reset-time {
94 description "Last reset time";
100 description "KPI properties in form of key value pairs";
102 description "KPI property name";
106 description "KPI property value";
115 description "An operation that disables appc-provider-lcm so that it no longer accepts LCM request. This
116 operation has no impact on queued and currently executing LCM request. A notification will be
117 sent out indicating the APP-C is idle once all LCM request have completed execution. ";
128 description "An operation that enables appc-provider-lcm so that it can begin to accepts LCM request. ";