X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-cluster-admin-api%2Fsrc%2Fmain%2Fyang%2Fcluster-admin.yang;h=109845c86f6420b03ca1040487391d979f4053b8;hp=bb0eed38b28e59f45a1f5fe3985d4fddca4b82fc;hb=e99739f7ee64c3281569a70d8795dea672979e3d;hpb=f176c27a04a39be8d4a823254c8b0e924598262e diff --git a/opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang b/opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang index bb0eed38b2..109845c86f 100644 --- a/opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang +++ b/opendaylight/md-sal/sal-cluster-admin-api/src/main/yang/cluster-admin.yang @@ -10,6 +10,8 @@ module cluster-admin { description "Initial revision."; } + import odl-controller-cds-types { prefix cds; } + typedef data-store-type { type enumeration { enum config { @@ -299,4 +301,22 @@ module cluster-admin { description "Returns the current role for the requested module shard."; } + + rpc get-known-clients-for-all-shards { + description "Request all shards to report their known frontend clients. This is useful for determining what + generation should a resurrected member node should use."; + + output { + uses shard-result-output { + augment shard-result { + list known-clients { + when "../succeeded = true"; + + uses cds:client-identifier; + key "member type"; + } + } + } + } + } }