diff options
author | Bernard Normier <bernard@zeroc.com> | 2014-09-10 19:09:53 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2014-09-10 19:09:53 +0000 |
commit | ac587d9f1a6d34e46956fd17c81f99beb7ed97ad (patch) | |
tree | fa09b2b2d5b6037c76976ee293eb0d15b7a93717 /slice/IceGrid | |
parent | Fix networkProxy test dependencies (diff) | |
download | ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.bz2 ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.xz ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.zip |
IceGrid::Admin now provides remote access to IceGrid registry and node Admin objects, and icegridadmin uses these
new operations to show the Ice log file for IceGrid registries and IceGrid nodes (ICE-2400)
Diffstat (limited to 'slice/IceGrid')
-rw-r--r-- | slice/IceGrid/Admin.ice | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/slice/IceGrid/Admin.ice b/slice/IceGrid/Admin.ice index 837b92e935f..f76459cc0c6 100644 --- a/slice/IceGrid/Admin.ice +++ b/slice/IceGrid/Admin.ice @@ -682,6 +682,7 @@ interface Admin idempotent Object* getServerAdmin(string id) throws ServerNotExistException, NodeUnreachableException, DeploymentException; + /** * * Enable or disable a server. A disabled server can't be started @@ -1058,6 +1059,24 @@ interface Admin ["nonmutating", "cpp:const"] idempotent NodeInfo getNodeInfo(string name) throws NodeNotExistException, NodeUnreachableException; + + /** + * + * Get a proxy to the IceGrid node's admin object. + * + * @param name The IceGrid node name + * + * @return A proxy to the IceGrid node's admin object + * + * @throws NodeNotExistException Raised if the node doesn't exist. + * + * @throws NodeUnreachableException Raised if the node could not be + * reached. + * + **/ + ["cpp:const"] idempotent Object* getNodeAdmin(string name) + throws NodeNotExistException, NodeUnreachableException; + /** * * Get the number of physical processor sockets for the machine @@ -1156,6 +1175,20 @@ interface Admin /** * + * Get a proxy to the IceGrid registry's admin object + * + * @param name The registry name + * + * @return A proxy to the IceGrid registry's admin object + * + * @throws RegistryNotExistException Raised if the registry doesn't exist. + * + **/ + ["cpp:const"] idempotent Object* getRegistryAdmin(string name) + throws RegistryNotExistException; + + /** + * * Shutdown an IceGrid registry. * * @param name The registry name. @@ -1171,7 +1204,7 @@ interface Admin /** * - * Get all the IceGrid registrys currently registered. + * Get all the IceGrid registries currently registered. * * @return The registry names. * |