X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fentity-owners.yang;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fentity-owners.yang;h=0f37e135a718d8cd47c033d4d51240dd3180db22;hb=02f738dec4a31bdad04e42b2c19ecf09aacc0b87;hp=24fe7a36f8fa1d5c1c6d940738ea71811323513d;hpb=24fa269a238e033e427f57a52fd15227975af9b6;p=controller.git 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 24fe7a36f8..0f37e135a7 100644 --- 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 @@ -14,31 +14,6 @@ module entity-owners { container entity-owners { - // The entity-owner list contains a list of all entities which have been assigned an owner - // Since an owner will be a cluster member it gives us a quick way to figure out all the entities - // that will need to have new owners assigned on the failure of a given cluster member - list entity-owner { - key name; - leaf name { - type string; - } - - // Group all entities of a given type together - list entity-type { - key type; - leaf type { - type string; - } - - list entity { - key id; - leaf id { - type string; - } - } - } - } - // A list of all entities grouped by type list entity-type { key type; @@ -48,6 +23,7 @@ module entity-owners { list entity { key id; + leaf id { type instance-identifier; } @@ -55,10 +31,12 @@ module entity-owners { leaf owner { type string; } - + // A list of all the candidates that would like to own the entity list candidate { key name; + ordered-by user; + leaf name { type string; }