Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Bug222:Comments incorporated for response based Restconf statistics"
[controller.git]
/
opendaylight
/
md-sal
/
sal-rest-connector
/
src
/
main
/
yang
/
opendaylight-rest-connector.yang
diff --git
a/opendaylight/md-sal/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang
b/opendaylight/md-sal/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang
index 6d2add6ff14313b8824a5ade4d8cba187260bc24..6fa9c86ec1879985afa664783f65e483ffad60da 100644
(file)
--- a/
opendaylight/md-sal/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang
+++ b/
opendaylight/md-sal/sal-rest-connector/src/main/yang/opendaylight-rest-connector.yang
@@
-31,6
+31,14
@@
module opendaylight-rest-connector {
leaf received-requests {
type uint64;
}
leaf received-requests {
type uint64;
}
+
+ leaf successful-responses {
+ type uint64;
+ }
+
+ leaf failed-responses {
+ type uint64;
+ }
}
augment "/config:modules/config:module/config:configuration" {
}
augment "/config:modules/config:module/config:configuration" {
@@
-70,6
+78,10
@@
module opendaylight-rest-connector {
container put {
uses statistics;
}
container put {
uses statistics;
}
+
+ container delete {
+ uses statistics;
+ }
}
container operational {
}
container operational {