Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bug 4105: Implement RegisterCandidate in EntityOwnershipShard
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
main
/
yang
/
entity-owners.yang
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/entity-owners.yang
b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/entity-owners.yang
index 40067198aba6163a815d815a464f5755231f3e60..24fe7a36f8fa1d5c1c6d940738ea71811323513d 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/main/yang/entity-owners.yang
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/main/yang/entity-owners.yang
@@
-49,13
+49,17
@@
module entity-owners {
list entity {
key id;
leaf id {
list entity {
key id;
leaf id {
- type
string
;
+ type
instance-identifier
;
}
}
+ leaf owner {
+ type string;
+ }
+
// A list of all the candidates that would like to own the entity
list candidate {
// A list of all the candidates that would like to own the entity
list candidate {
- key
id
;
- leaf
id
{
+ key
name
;
+ leaf
name
{
type string;
}
}
type string;
}
}