summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/ping.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/ping.py')
-rw-r--r--ipalib/plugins/ping.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/plugins/ping.py b/ipalib/plugins/ping.py
index 634c4f875..c2f9b6b28 100644
--- a/ipalib/plugins/ping.py
+++ b/ipalib/plugins/ping.py
@@ -23,6 +23,7 @@ Ping the remote IPA server
from ipalib import api
from ipalib import Command
from ipalib import output
+from ipapython.version import VERSION, API_VERSION
class ping(Command):
"""
@@ -37,6 +38,6 @@ class ping(Command):
A possible enhancement would be to take an argument and echo it
back but a fixed value works for now.
"""
- return dict(summary=u'pong')
+ return dict(summary=u'IPA server version %s. API version %s' % (VERSION, API_VERSION))
api.register(ping)