Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
MD-SAL Statistics Manger - Added support for fetching port statistics
[controller.git]
/
opendaylight
/
md-sal
/
model
/
model-flow-base
/
src
/
main
/
yang
/
port-types.yang
diff --git
a/opendaylight/md-sal/model/model-flow-base/src/main/yang/port-types.yang
b/opendaylight/md-sal/model/model-flow-base/src/main/yang/port-types.yang
index 8338d185cc36abbbbc34613fe1e3df84d805550a..f0b7e97a15ff5b2a221ed9e15212b7516459de7f 100644
(file)
--- a/
opendaylight/md-sal/model/model-flow-base/src/main/yang/port-types.yang
+++ b/
opendaylight/md-sal/model/model-flow-base/src/main/yang/port-types.yang
@@
-8,7
+8,14
@@
module opendaylight-port-types {
revision "2013-09-25" {
description "Initial revision of Port Inventory model";
}
revision "2013-09-25" {
description "Initial revision of Port Inventory model";
}
-
+
+ typedef port-reason {
+ type enumeration {
+ enum add;
+ enum delete;
+ enum update;
+ }
+ }
typedef port-config {
type bits {
typedef port-config {
type bits {
@@
-26,7
+33,6
@@
module opendaylight-port-types {
enum live;
}
}
enum live;
}
}
-
typedef port-features {
type bits {
typedef port-features {
type bits {
@@
-72,6
+78,14
@@
module opendaylight-port-types {
}
}
}
}
+ grouping flow-port-status {
+ leaf reason {
+ type port-reason;
+ }
+
+ uses flow-capable-port;
+ }
+
grouping flow-capable-port {
uses common-port;
grouping flow-capable-port {
uses common-port;
@@
-114,7
+128,7
@@
module opendaylight-port-types {
}
}
}
}
- grouping
ofp-
port-mod {
+ grouping port-mod {
container port {
list port {
key "port-mod-order";
container port {
list port {
key "port-mod-order";