class IRabbitMQExchangeInfo(IComponentInfo): rabbitmq_node = schema.Entity(title=_t(u"Node")) rabbitmq_vhost = schema.Entity(title=_t(u"VHost")) exchange_type = SingleLineText(title=_t(u"Type")) durable = schema.Bool(title=_t("Durable")) auto_delete = schema.Bool(title=_t("Auto-Delete")) arguments = SingleLineText(title=_t(u"Arguments"))
class IPIFInfo(IPooledComponentInfo): ''' API Info interface for PIF. ''' host = schema.Entity(title=_t(u'Host')) network = schema.Entity(title=_t(u'Network')) server_interface = schema.Entity(title=_t(u'Server Interface')) dns = schema.TextLine(title=_t(u'DNS Server Address')) ipv4_addresses = schema.TextLine(title=_t(u'IPv4 Addresses')) ipv6_addresses = schema.TextLine(title=_t(u'IPv6 Addresses')) macaddress = schema.TextLine(title=_t(u'MAC Address')) mtu = schema.TextLine(title=_t(u'MTU')) vlan = schema.TextLine(title=_t(u'VLAN')) carrier = schema.Bool(title=_t(u'Carrier')) currently_attached = schema.Bool(title=_t(u'Currently Attached')) pif_device = schema.TextLine(title=_t(u'Network Device')) pif_device_id = schema.TextLine(title=_t(u'Network Device ID')) pif_device_name = schema.TextLine(title=_t(u'Network Device Name')) disallow_unplug = schema.Bool(title=_t(u'Disallow Unplug')) ipv4_gateway = schema.TextLine(title=_t(u'IPv4 Gateway')) ipv4_configuration_mode = schema.TextLine( title=_t(u'IPv4 Configuration Mode')) ipv6_configuration_mode = schema.TextLine( title=_t(u'IPv6 Configuration Mode')) ipv6_gateway = schema.TextLine(title=_t(u'IPv6 Gateway')) management = schema.Bool(title=_t(u'Management')) ipv4_netmask = schema.TextLine(title=_t(u'IPv4 Netmask')) physical = schema.Bool(title=_t(u'Physical')) primary_address_type = schema.TextLine(title=_t(u'Primary Address Type')) speed = schema.Int(title=_t(u'Speed')) vendor_name = schema.TextLine(title=_t(u'Vendor Name'))
class IZenPackInfo(IInfo): version = schema.TextLine(title=u"Version", description=u"Version number information") author = schema.TextLine(title=u"Author", description=u"Persons or organizations who created the ZenPack.") organization = schema.TextLine(title=u"Organization", description=u"Organization to which the autho is associated.") url = schema.TextLine(title=u"URL", description=u"URL containing ZenPack information.") license = schema.TextLine(title=u"License", description=u"License information.") compatZenossVers = schema.TextLine(title=u"License", description=u"Which versions of Zenoss that this ZenPack will work on.") path = schema.TextLine(title=u"path", description=u"Directory location of the ZenPack.") isDevelopment = schema.Bool(title=u"isDevelopment", description=u"Can additions or updates be made to this ZenPack?.") isEggPack = schema.Bool(title=u"isEggPack", description=u"Is this in Python egg format or Zope package format.") isBroken = schema.Bool(title=u"isBroken", description=u"Is this ZenPack properly installed.") namespace = schema.TextLine(title=u"namespace", description=u"Namespace where the ZenPack lives.") ZenPackName = schema.TextLine(title=u"ZenPackName", description=u"Name of the ZenPack in the Namespace.")
class IServiceDataSourceInfo(IInfo): """ Provide the UI information for the WinRS Service datasource. """ newId = schema.TextLine(title=_t(u'Name'), xtype="idfield", description=_t(u'The name of this datasource')) type = schema.TextLine(title=_t(u'Type'), readonly=True) enabled = schema.Bool(title=_t(u'Enabled')) severity = schema.TextLine(title=_t(u'Severity'), xtype='severity') reindex = schema.Bool(title=_t( 'Update services immediately. This could take several minutes to complete.' )) cycletime = schema.TextLine(title=_t(u'Cycle Time (seconds)')) alertifnot = schema.Choice( group=_t('Service Status'), title=_t('Alert if service is NOT in this state'), vocabulary=SimpleVocabulary.fromValues([STATE_RUNNING, STATE_STOPPED]), ) startmode = schema.Text(group=_t('Service Options'), xtype='startmodegroup') in_exclusions = schema.TextLine( group=_t('Service Options'), title=_t( 'Inclusions(+)/Exclusions(-) separated by commas. Regex accepted') )
class IVMInfo(IPooledComponentInfo): ''' API Info interface for VM. ''' host = schema.Entity(title=_t(u'Host')) vmappliance = schema.Entity(title=_t(u'vApp')) guest_device = schema.Entity(title=_t(u'Guest Device')) hvm_shadow_multiplier = schema.Float(title=_t(u'HVM Shadow Multiplier')) vcpus_at_startup = schema.Int(title=_t(u'vCPUs at Startup')) vcpus_max = schema.Int(title=_t(u'Maximum vCPUs')) actions_after_crash = schema.TextLine(title=_t(u'Actions After Crash')) actions_after_reboot = schema.TextLine(title=_t(u'Actions After Reboot')) actions_after_shutdown = schema.TextLine(title=_t(u'Actions After Shutdown')) allowed_operations = schema.TextLine(title=_t(u'Allowed Operations')) domarch = schema.TextLine(title=_t(u'Domain Architecture')) domid = schema.Int(title=_t(u'Domain ID')) ha_always_run = schema.Bool(title=_t(u'HA Always Run')) ha_restart_priority = schema.TextLine(title=_t(u'HA Restart Priority')) is_a_snapshot = schema.Bool(title=_t(u'Is a Snapshot')) is_a_template = schema.Bool(title=_t(u'Is a Template')) is_control_domain = schema.Bool(title=_t(u'Is a Control Domain')) is_snapshot_from_vmpp = schema.Bool(title=_t(u'Is a Snapshot from VMPP')) memory_actual = schema.Int(title=_t(u'Actual Memory')) name_description = schema.TextLine(title=_t(u'Description')) name_label = schema.TextLine(title=_t(u'Label')) power_state = schema.TextLine(title=_t(u'Power State')) shutdown_delay = schema.Int(title=_t(u'Shutdown Delay')) start_delay = schema.Int(title=_t(u'Start Delay')) user_version = schema.Int(title=_t(u'User Version')) version = schema.Int(title=_t(u'Version')) vbd_count = schema.Int(title=_t(u'Number of Virtual Block Devices')) vif_count = schema.Int(title=_t(u'Number of Virtual Network Interfaces'))
class IHttpMonitorDataSourceInfo(IRRDDataSourceInfo): timeout = schema.Int(title=_t(u'Timeout (seconds)')) cycletime = schema.Int(title=_t(u'Cycle Time (seconds)')) hostname = schema.TextLine(title=_t(u'Host Name'), group=_t('HTTP Monitor')) port = schema.Int(title=_t(u'Port'), group=_t('HTTP Monitor')) ipAddress = schema.TextLine(title=_t(u'IP Address or Proxy Address'), group=_t('HTTP Monitor')) url = schema.TextLine(title=_t(u'URL'), group=_t('HTTP Monitor')) useSsl = schema.Bool(title=_t(u'Use SSL?'), group=_t('HTTP Monitor')) regex = schema.TextLine(title=_t(u'Regular Expression'), group=_t('HTTP Monitor')) caseSensitive = schema.Bool(title=_t(u'Case Sensitive'), group=_t('HTTP Monitor')) basicAuthUser = schema.TextLine(title=_t(u'Basic Auth User'), group=_t('HTTP Monitor')) invert = schema.Bool(title=_t(u'Invert Expression'), group=_t('HTTP Monitor')) basicAuthPass = schema.Password(title=_t(u'Basic Auth Password'), group=_t('HTTP Monitor')) onRedirect = schema.Choice(title=_t(u'Redirect Behavior'), vocabulary='httpMonitorRedirectVocabulary', group=_t('HTTP Monitor')) proxyAuthUser = schema.TextLine(title=_t(u'Proxy User'), group=_t('Proxy Credentials')) proxyAuthPassword = schema.Password(title=_t(u'Proxy Password'), group=_t('Proxy Credentials'))
class IRabbitMQQueueInfo(IComponentInfo): rabbitmq_node = schema.Entity(title=_t(u"Node")) rabbitmq_vhost = schema.Entity(title=_t(u"VHost")) durable = schema.Bool(title=_t("Durable")) auto_delete = schema.Bool(title=_t("Auto-Delete")) arguments = SingleLineText(title=_t(u"Arguments")) threshold_messages_max = schema.Int( title=_t(u"Threshold - Messages (Maximum)"), alwaysEditable=True)
class IMySqlMonitorDataSourceInfo(IBasicDataSourceInfo): usessh = schema.Bool(title=_t(u"Use SSH")) cycletime = schema.Int(title=_t(u'Cycle Time (seconds)')) timeout = schema.Int(title=_t(u'Timeout (seconds)')) hostname = schema.TextLine(title=_t(u'MySQL Host'), group=_t(u'MySQL')) username = schema.TextLine(title=_t(u'MySQL Username'), group=_t(u'MySQL')) port = schema.TextLine(title=_t(u'MySQL Port'), group=_t(u'MySQL')) password = schema.Password(title=_t(u'MySQL Password'), group=_t(u'MySQL')) versionFivePlus = schema.Bool(title=_t(u'MySQL Version 5+'), group=_t(u'MySQL'))
class IApacheMonitorDataSourceInfo(IBasicDataSourceInfo): component = schema.TextLine(title=_t(u'Component')) eventKey = schema.TextLine(title=_t(u'Event Key')) timeout = schema.Int(title=_t(u'Timeout (seconds)')) hostname = schema.TextLine(title=_t(u'Apache Host')) usessh = schema.Bool(title=_t(u'Use SSH')) port = schema.Int(title=_t(u'Apache Port')) ssl = schema.Bool(title=_t(u'Use HTTPS?')) url = schema.TextLine(title=_t(u'Status URL')) ngerror = schema.TextLine(title=_t(u'Named Group Regex Error')) ngregex = schema.Text(title=_t(u'Named Group Regex'), xtype='twocolumntextarea')
class IPBDInfo(IPooledComponentInfo): ''' API Info interface for PBD. ''' host = schema.Entity(title=_t(u'Host')) sr = schema.Entity(title=_t(u'Storage Repository')) server_disk = schema.Entity(title=_t(u'Server Disk')) currently_attached = schema.Bool(title=_t(u'Currently Attached')) dc_device = schema.TextLine(title=_t(u'Device Name')) dc_legacy_mode = schema.Bool(title=_t(u'Legacy Mode')) dc_location = schema.TextLine(title=_t(u'Location'))
class IDataPointGraphPointInfo(IColorGraphPointInfo): """ Adapts DataPoint GraphPoint. """ lineType = schema.Choice(title=_t('Line Type'), vocabulary='complexGraphLineType', order=5) lineWidth = schema.TextLine(title=_t('Line Width'), order=6) stacked = schema.Bool(title=_t('Stacked'), order=7) skipCalc = schema.Bool(title=_t('Display full value in footer'), order=8) format = schema.TextLine(title=_t('Format'), order=9) dpName = schema.TextLine(title=_t('DataPoint'), readonly=True, order=3) rpn = schema.Text(title=_t('RPN'), order=10) limit = schema.Int(title=_t('Limit'), order=11) cFunc = schema.TextLine(title=_t('Consolidation'), order=12)
class ILineGraphPointInfo(IColorGraphPointInfo): """ Adapts Line Graph Points """ lineWidth = schema.Int(title=_t(u'Line Width')) stacked = schema.Bool(title=_t('Stacked')) value = schema.TextLine(title=_t(u'Value'))
class IMailTxDataSourceInfo(IRRDDataSourceInfo): cycleTime = schema.Int(title=_t(u'Cycle Time (seconds)')) timeout = schema.Int(title=_t(u"Timeout (seconds)")) toAddress = schema.TextLine(title=_t(u"To Address")) fromAddress = schema.TextLine(title=_t(u"From Address")) messageBody = schema.TextLine(title=_t(u'Message Body'), xtype="twocolumntextarea") # SMTP fields smtpHost = schema.TextLine(title=_t(u'SMTP Host'), group=_t(u'SMTP')) smtpPort = schema.Int(title=_t(u'SMTP Port'), group=_t(u'SMTP')) smtpUsername = schema.TextLine(title=_t(u'SMTP Username'), group=_t(u'SMTP')) smtpPassword = schema.Password(title=_t(u'SMTP Password'), group=_t(u'SMTP')) smtpAuth = schema.Choice(title=_t(u'Transport Security'), vocabulary="transportSecurity", group=_t(u'SMTP')) # POP fields popHost = schema.TextLine(title=_t(u'POP Host'), group=_t(u'POP')) popPort = schema.Int(title=_t(u'POP Port'), group=_t(u'POP')) popUsername = schema.TextLine(title=_t(u'POP Username'), group=_t(u'POP')) popPassword = schema.Password(title=_t(u'POP Password'), group=_t(u'POP')) popAuth = schema.Choice(title=_t(u'Transport Security'), vocabulary="transportSecurity", group=_t(u'POP')) popAllowInsecureLogin = schema.Bool(title=_t(u'Allow Insecure Logins?'), group=_t(u'POP'))
class IHPEVAHostFCPortInfo(IComponentInfo): """ Info adapter for HPEVA Host FC Port components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') name = schema.Text(title=u"Interface Name", readonly=True, group='Overview') controller = schema.Entity(title=u"Storage Controller", readonly=True, group='Details') fc4Types = schema.List(title=u"Active FC4 types", readonly=True, group='Details') fullDuplex = schema.Bool(title=u"Duplex", readonly=True, group='Details') linkTechnology = schema.Text(title=u"Link Technology", readonly=True, group='Details') networkAddresses = schema.List(title=u"networkAddresses", readonly=True, group='Details') type = schema.Text(title=u"Type", readonly=True, group='Details') speed = schema.Text(title=u"Speed", readonly=True, group='Details') mtu = schema.Int(title=u"MTU", readonly=True, group='Details') wwn = schema.Text(title=u"WWN", readonly=True, group='Details')
class IFormulaDataSourceInfo(IInfo): newId = schema.Text(title=_t(u'Name'), xtype="idfield", description=_t(u'The name of this datasource')) type = schema.Text(title=_t(u'Type'), readonly=True) dataformula = schema.Text(title=_t(u'Data Formula')) enabled = schema.Bool(title=_t(u'Enabled'))
class IEC2VPCSubnetInfo(IComponentInfo): ''' API Info interface for EC2VPCSubnet. ''' state = schema.TextLine(title=_t(u'State')) account = schema.Entity(title=_t(u'Account')) region = schema.Entity(title=_t(u'Region')) zone = schema.Entity(title=_t(u'Zone')) vpc = schema.Entity(title=_t(u'VPC')) instance_count = schema.Int(title=_t(u'Number of Instances')) cidr_block = schema.TextLine(title=_t(u'CIDR Block')) available_ip_address_count = schema.Int( title=_t(u'Number of Available IP Addresses')) defaultForAz = schema.Bool(title=_t(u'Default for Zone')) mapPublicIpOnLaunch = schema.Bool(title=_t(u'Map Public IP on Launch'))
class IOSProcessInfo(IComponentInfo): """ Info adapter for OSProcess components. """ processClass = schema.Entity(title=_t(u"Process Class"), group="Overview", order=1) getMonitoredProcesses = schema.TextLine( title=u"Process(es) identified by the most recent model", group="Details", readonly=True, order=-1) processName = schema.TextLine(title=_t(u"Process Set Name"), group="Overview", readonly=True, order=-1) description = schema.Text(title=_t(u"Description"), group="Overview", readonly=True, order=2) alertOnRestart = schema.Bool(title=_t(u"Alert on Restart"), group="Details", alwaysEditable=True) failSeverity = schema.Int(title=_t(u"Fail Severity"), xtype="severity", group="Details", alwaysEditable=True) minProcessCount = schema.Int(title=u"Min Process Count", group="Details", alwaysEditable=True) maxProcessCount = schema.Int(title=u"Max Process Count", group="Details", alwaysEditable=True)
class IOracleDataSourceInfo(IInfo): name = schema.Text(title=_t(u'Name')) enabled = schema.Bool(title=_t(u'Enabled')) username = schema.Text(title=_t(u'Oracle Username')) password = schema.Text(title=_t(u'Oracle Password')) dsn = schema.Text(title=_t(u'Oracle TNS')) sql = schema.TextLine(title=_t(u'SQL Query'))
class IProcessDataSourceInfo(IInfo): ''' Info interface for ProcessDataSource. Extends IInfo instead of IRRDDataSourceInfo because we want to reduce the set of options available. ''' newId = schema.TextLine(title=_t(u'Name'), xtype='idfield', description=_t(u'The name of this datasource')) type = schema.TextLine(title=_t(u'Type'), readonly=True) enabled = schema.Bool(title=_t(u'Enabled')) severity = schema.TextLine(title=_t(u'Severity'), group=_t(u'Event Information'), readonly=True) eventClass = schema.TextLine(title=_t(u'Event Class'), group=_t(u'Event Information'), readonly=True) component = schema.TextLine(title=_t(u'Component'), group=_t(u'Event Information'), readonly=True)
class IHttpBinActionContentInfo(IInfo): hbSource = schema.TextLine(title=_t(u"Source"), description=_t(u"Source Field"), default=u"Zenoss") hbEventClass = schema.TextLine(title=_t(u"Event Class"), description=_t(u"event_class Field"), default=u"${evt/eventClass}") hbDescription = schema.TextLine(title=_t(u"Short Description"), description=_t(u"Short description Field"), default=u"${evt/summary}") hbFullDescription = schema.Text( title=_t(u"Full description"), description=_t(u"Full multiline description"), default=u'\n'.join([ "device=${evt/tag}", "deviceTitle=${dev/titleOrId}", "componentTitle=${component/titleOrId}", "collector=${evt/monitor}", "message=${evt/message}", ])) skipfails = schema.Bool( title=_t(u"Skip fails in TALES evaluation?"), description=_t(u"Skip bad TALES expression"), default=True, )
class IHostInfo(IPooledComponentInfo): ''' API Info interface for Host. ''' api_version_major = schema.TextLine(title=_t(u'API Version Major')) api_version_minor = schema.TextLine(title=_t(u'API Version Minor')) api_version_vendor = schema.TextLine(title=_t(u'API Version Vendor')) address = schema.TextLine(title=_t(u'Address')) allowed_operations = schema.TextLine(title=_t(u'Allowed Operations')) capabilities = schema.TextLine(title=_t(u'Capabilities')) cpu_count = schema.Int(title=_t(u'CPU Count')) cpu_speed = schema.Float(title=_t(u'CPU Speed')) edition = schema.TextLine(title=_t(u'Edition')) enabled = schema.TextLine(title=_t(u'Enabled')) hostname = schema.TextLine(title=_t(u'Hostname')) is_pool_master = schema.Bool(title=_t(u'Is Pool Master')) name_description = schema.TextLine(title=_t(u'Description')) name_label = schema.TextLine(title=_t(u'Label')) sched_policy = schema.TextLine(title=_t(u'Scheduling Policy')) memory_total = schema.Int(title=_t(u'Total Memory')) master_for = schema.Entity(title=_t(u'Master for Pool')) suspend_image_sr = schema.Entity( title=_t(u'Suspend Image Storage Repository')) crash_dump_sr = schema.Entity(title=_t(u'Crash Dump Storage Repository')) local_cache_sr = schema.Entity(title=_t(u'Local Cache Storage Repository')) server_device = schema.Entity(title=_t(u'Server Device')) hostcpu_count = schema.Int(title=_t(u'Number of Host CPUs')) pbd_count = schema.Int(title=_t(u'Number of Block Devices')) pif_count = schema.Int(title=_t(u'Number of Network Interfaces')) vm_count = schema.Int(title=_t(u'Number of VMs'))
class IAltEmailHostActionContentInfo(IEmailActionContentInfo): email_from = schema.Text( title=_t(u'From Address for Emails'), description=_t( u'The user from which the e-mail originated on the Zenoss server.' ), default=u'*****@*****.**') host = schema.Text( title=_t(u'SMTP Host'), description=_t(u'Simple Mail Transport Protocol (aka E-mail server).'), ) port = schema.Int( title=_t(u'SMTP Port (usually 25)'), description=_t( u'TCP/IP port to access Simple Mail Transport Protocol (aka E-mail server).' ), default=25) useTls = schema.Bool( title=_t(u'Use TLS?'), description=_t(u'Use Transport Layer Security for E-mail?'), default=False) user = schema.Text( title=_t(u'SMTP Username (blank for none)'), description=_t(u'Use this only if authentication is required.'), ) password = schema.Password( title=_t(u'SMTP Password (blank for none)'), description=_t(u'Use this only if authentication is required.'), )
class ISLADataSourceInfo(IInfo): newId = schema.Text(title=_t(u'Name'), xtype='idfield', description=_t(u'The name of this datasource')) type = schema.Text(title=_t(u'Type'), readonly=True) oid = schema.Text(title=_t(u'OID')) enabled = schema.Bool(title=_t(u'Enabled'))
class ISRInfo(IPooledComponentInfo): ''' API Info interface for SR. ''' allowed_operations = schema.Text(title=_t(u'Allowed Operations')) content_type = schema.TextLine(title=_t(u'Content Type')) local_cache_enabled = schema.Bool(title=_t(u'Local Cache Enabled')) name_description = schema.TextLine(title=_t(u'Description')) name_label = schema.TextLine(title=_t(u'Label')) physical_size = schema.Int(title=_t(u'Physical Size')) shared = schema.Bool(title=_t(u'Shared')) sm_type = schema.TextLine(title=_t(u'SM Type')) sr_type = schema.TextLine(title=_t(u'Type')) vdi_count = schema.Int(title=_t(u'Number of VDIS')) pbd_count = schema.Int(title=_t(u'Number of PBDS'))
class IWinServiceInfo(zuul.IWinServiceInfo): """ Info adapter for WinService components. """ formatted_description = form_schema.TextLine(title=_t(u'Description'), readonly=True) usermonitor = form_schema.Bool( title=_t(u'Manually Selected Monitor State'), alwaysEditable=True)
class INotificationSubscriptionInfo(IInfo): """ Notification information regarding signals that occur as a result of an alert tripping a trigger. """ newId = schema.TextLine(title=_t(u'newId'), xtype='idfield', description=_t(u'The name of this notification')) enabled = schema.Bool(title=_t(u'Enabled')) delay_seconds = schema.Int(title=_t(u'Delay (seconds)')) repeat_seconds = schema.Int(title=_t(u'Repeat (seconds)')) action = schema.Choice(title=_t(u'Action'), vocabulary=SimpleVocabulary.fromValues( getNotificationActionVocabulary())) # this is a list of the user/group/roles that have subscribed to this # notification. recipients = schema.List(title=_t(u'Subscribers')) globalRead = schema.Bool(title=_t(u'Global View')) globalWrite = schema.Bool(title=_t(u'Global Write')) globalManage = schema.Bool(title=_t(u'Global Manage Subscriptions')) userRead = schema.Bool(title=_t(u'Current User View')) userWrite = schema.Bool(title=_t(u'Current User Write')) userManage = schema.Bool(title=_t(u'Current User Manage Subscriptions'))
class IWinPerfDataSourceInfo(IInfo): name = schema.TextLine(title=_t(u"Name"), xtype="idfield", description=_t(u"The name of this datasource")) type = schema.TextLine(title=_t(u"Type"), readonly=True) counter = schema.TextLine( title=_t(u"Perf Counter"), description=_t(u"Example: \Memory\Available bytes ")) enabled = schema.Bool(title=_t(u"Enabled"))
class ICommandDataSourceInfo(IBasicDataSourceInfo): """ Adapts basic datasource infos of type CMD """ usessh = schema.Bool(title=_t(u'Use SSH')) component = schema.TextLine(title=_t(u'Component')) eventKey = schema.TextLine(title=_t(u'Event Key')) commandTemplate = schema.Text(title=_t(u'Command Template'), xtype='twocolumntextarea')
class IMySQLDataSourceInfo(IInfo): name = schema.Text(title=_t(u'Name')) enabled = schema.Bool(title=_t(u'Enabled')) hostname = schema.Text(title=_t(u'MySQL Host')) port = schema.Text(title=_t(u'MySQL Port')) username = schema.Text(title=_t(u'MySQL Username')) password = schema.Text(title=_t(u'MySQL Password')) dbname = schema.Text(title=_t(u'MySQL Database')) sql = schema.TextLine(title=_t(u'SQL Query'))
class ISNMPDataSourceInfo(IInfo): """ Adaps a basic Datasource of type SNMP """ newId = schema.TextLine(title=_t(u'Name'), xtype="idfield", description=_t(u'The name of this datasource')) type = schema.TextLine(title=_t(u'Type'), readonly=True) oid = schema.TextLine(title=_t(u'OID')) enabled = schema.Bool(title=_t(u'Enabled'))