summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2010-02-25 14:19:56 +0100
committerRob Crittenden <rcritten@redhat.com>2010-03-01 16:53:30 -0500
commit41312ca166f5192b6e6c507225e4333206d6b5c2 (patch)
tree9d93678bcc83647ba333fa08def368668a142bfd /ipalib/plugins/host.py
parent9873ec1ca3795bdcaafe4350012cd552f8406647 (diff)
downloadfreeipa-41312ca166f5192b6e6c507225e4333206d6b5c2.tar.gz
freeipa-41312ca166f5192b6e6c507225e4333206d6b5c2.tar.xz
freeipa-41312ca166f5192b6e6c507225e4333206d6b5c2.zip
Code cleanup: remove unused stuff, take 1.
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 897d25bb..d72f5305 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -58,22 +58,6 @@ class host(LDAPObject):
'nshardwareplatform', 'nsosversion', 'usercertificate', 'memberof',
]
uuid_attribute = 'ipauniqueid'
- attribute_names = {
- 'cn': 'name',
- 'fqdn': 'hostname',
- 'localityname': 'locality',
- 'l': 'locality',
- 'nshostlocation': 'location',
- 'nshardwareplatform': 'platform',
- 'nsosversion': 'operating system',
- 'serverhostname': 'server hostname',
- 'enrolledby user': 'enrolled by',
- 'krbprincipalname': 'kerberos principal',
- 'ipauniqueid': 'unique identifier',
- 'memberof_hostgroup': 'member of hostgroups',
- 'memberof_netgroup': 'member of netgroups',
- 'memberof_rolegroup': 'member of rolegroups',
- }
attribute_members = {
'enrolledby': ['user'],
'memberof': ['hostgroup', 'netgroup', 'rolegroup'],