All pastes #730865 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-09 16:17 UTC
rendered paste body
class Workstation(object):
    attributes = {
                        "objectClass":("GOhard", "top", "gotoWorkstation", "Faiobject"),
                        "cn":"-",
                        "ghCpuType":"-",
                        "ghGfxAdapter":"-",
                        "ghMemSize":"-",
                        "ghSoundAdapter":"-",
                        "ghUsbSupport":"-",
                        "goFonHardware":"automatic",
                        "gotoBootKernel":"default",
                        "gotoKernelParameters":"ldap=ZGVmYXVsdC1pbmhlcml0ZWQ= splash=silent",
                        "gotoLastUser":"-",
                        "gotoMode":"locked",
                        "gotoNtpServer":"router",
                        "gotoXColordepth":"8",
                        "gotoXDriver":"[unknown]",
                        "gotoXHsync":"30+55",
                        "gotoXKbLayout":"de",
                        "gotoXKbModel":"btc9000",
                        "gotoXKbVariant":"basic",
                        "gotoXMouseport":"/dev/ttyS0",
                        "gotoXMouseType":"ImPS/2",
                        "gotoXResolution":"640x480",
                        "gotoXVsync":"50+70",
                        "ipHostNumber":"-",
                        "macAddress":"-"
                }

    def __init__(self):
        self.__dict__.update(self.attributes)
        

    def _getip(self): return self.ipHostNumber
    def _setip(self, value): self.ipHostNumber = value
    ip = property(_getip, _setip, None, "I'm the 'ip' property.")