summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-02-08 05:03:28 -0700
committerRob Crittenden <rcritten@redhat.com>2010-02-12 17:07:37 -0500
commit069763c5c616221fd0bcea813cad93ae3f7c072d (patch)
tree3c7944836ca68119671482e3ee2f9365032fa640 /ipalib/plugins/host.py
parent338578d10ac0978a00948971a17a89dc95435954 (diff)
downloadfreeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.gz
freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.tar.xz
freeipa-069763c5c616221fd0bcea813cad93ae3f7c072d.zip
Add Object.label class attribute, enable in webUI
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 6368b8bc..7e9dd90b 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -79,6 +79,8 @@ class host(LDAPObject):
'memberof': ['hostgroup', 'netgroup', 'rolegroup'],
}
+ label = _('Hosts')
+
takes_params = (
Str('fqdn', validate_host,
cli_name='hostname',