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 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 IServicePolicyInfo(IComponentInfo): """ Info adapter for Policy components. """ instance = schema.Text(title=_t(u"Instance"), readonly=True, group='Overview') parentInterface = schema.Text(title=_t(u"Interface"), readonly=True, group='Overview') direction = schema.Text(title=_t(u"Direction"), readonly=True, group='Overview')
class IMySqlDatabaseInfo(IDatabaseInfo): """ Info adapter for MySQL Database components. """ activeTime = schema.Text(title=u"Created", readonly=True, group=u"Details") version = schema.Text(title=u"Version", readonly=True, group=u"Details") collation = schema.Text(title=u"Collation", readonly=True, group=u"Details")
class ITableInfo(IComponentInfo): tableName = schema.Text(title=_t(u"Table Name")) tableOid = schema.Int(title=_t(u"Table OID")) tableSchema = schema.Text(title=_t(u"Table Schema")) tableSizeString = schema.Int(title=_t(u"Table Size")) totalTableSizeString = schema.Int(title=_t(u"Total Table Size")) database = schema.Entity(title=_t(u"Database"))
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 IWinCommandActionContentInfo(IInfo): wincmd_command = schema.Text( title=_t(u'Windows CMD Command'), description=_t(u'The template for the body for commands.')) clear_wincmd_command = schema.Text( title=_t(u'Clear Windows CMD Command'), description=_t(u'The template for the body for CLEAR commands.'))
class IcpqSm2CntlrInfo(IComponentInfo): """ Info adapter for cpqSm2Cntlr components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') manufacturer = schema.Entity(title=u"Manufacturer", readonly=True, group='Details') product = schema.Entity(title=u"Model", readonly=True, group='Details') serialNumber = schema.Text(title=u"Serial #", readonly=True, group='Details') slot = schema.Int(title=u"Slot", readonly=True, group='Details') romRev = schema.Text(title=u"ROM Version", readonly=True, group='Details') hwVer = schema.Text(title=u"Hardware Version", readonly=True, group='Details') systemId = schema.Text(title=u"System ID", readonly=True, group='Details') advLicense = schema.Text(title=u"Advanced License", readonly=True, group='Details') macaddress = schema.Text(title=u"MAC Address", readonly=True, group='Network Settings') ipaddress = schema.Text(title=u"IP Address", readonly=True, group='Network Settings') subnetmask = schema.Text(title=u"Subnet Mask", readonly=True, group='Network Settings') dnsName = schema.Text(title=u"DNS Name", readonly=True, group='Network Settings')
class IJuniperIpSecNATInfo(IComponentInfo): """ Info adapter for JuniperIpSecNAT component """ natId = schema.Text(title=u"NAT Id", readonly=True, group='Details') natNumPorts = schema.Int(title=u"Num. of Ports", readonly=True, group='Details') natNumSess = schema.Int(title=u"Num. of Sessions", readonly=True, group='Details') natPoolType = schema.Text(title=u"Pool Type", readonly=True, group='Details')
class IApcPduOutletInfo(IComponentInfo): """ Info adapter for ApcPduOutlet component """ outNumber = schema.Text(title=u"Number", readonly=True, group='Details') outName = schema.Text(title=u"Name", readonly=True, group='Details') outState = schema.Text(title=u"State", readonly=True, group='Details') outBank = schema.Text(title=u"Bank", readonly=True, group='Details')
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 IEndpointInfo(IDeviceInfo): username = schema.Text(title=_t(u"Username")) project_id = schema.Text(title=_t(u"Project ID")) auth_url = schema.Text(title=_t(u"Auth URL")) region_name = schema.Text(title=_t(u"Region Name")) serverCount = schema.Int(title=_t(u"Total Servers")) flavorCount = schema.Int(title=_t(u"Total Flavors")) imageCount = schema.Int(title=_t(u"Total Images"))
class ICiscoPowerSupplyInfo(IComponentInfo): """ Info adapter for CiscoPowerSupply components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') type = schema.Text(title=u"Type", readonly=True, group='Details') wattsString = schema.Text(title=u"Watts", readonly=True, group='Details') millivoltsString = schema.Text(title=u"Voltage", readonly=True, group='Details')
class ITemperatureSensorInfo(IComponentInfo): """ Info adapter for TemperatureSensor components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') tempString = schema.Text(title=u"Temperature", readonly=True, group='Overview')
class IvpnTunnelInfo(IComponentInfo): """ Info adapter for vpnTunnel components. """ tunnelPeerObjName = schema.Text(title=u"Tunnel Peer Name", readonly=True, group='Details') tunnelPeerIpAddr = schema.Text(title=u"Tunnel Peer Ip Address", readonly=True, group='Details') tunnelState = schema.Text(title=u"Tunnel Peer State", readonly=True, group='Overview') tunnelCommunity = schema.Text(title=u"Tunnel Peer Community", readonly=True, group='Details') status = schema.Text(title=u"Status", readonly=True, group='Overview')
class IBigipVirtualServerInfo(IComponentInfo): """ Info adapter for BigipVirtualServer components. """ vsIP = schema.Text(title=u"IP Address", readonly=True, group='Details') ltmVirtualServPort = schema.Text(title=u"Port", readonly=True, group='Details') VsStatusAvailState = schema.Text(title=u"Availability Status", readonly=True, group='Details') VsStatusEnabledState = schema.Text(title=u"Enabled/Disabled", readonly=True, group='Details') VsStatusDetailReason = schema.Text(title=u"Status Details", readonly=True, group='Details')
class IMySqlSrvInstInfo(IDBSrvInstInfo): """ Info adapter for MySQL Server Instance components. """ hostname = schema.Text(title=u"Hostname", readonly=True, group=u"Details") port = schema.Text(title=u"Port", readonly=True, group=u"Details") version = schema.Text(title=u"Product Version", readonly=True, group=u"Details") license = schema.Text(title=u"License Type", readonly=True, group=u"Details") have = schema.List(title=u"Instance Properties", readonly=True, group=u"Details")
class IJuniperIpSecVPNInfo(IComponentInfo): """ Info adapter for JuniperIpSecVPN component """ vpnPhase1LocalGwAddr = schema.Text(title=u"Phase 1 Local G/w", readonly=True, group='Details') vpnPhase1LocalIdValue = schema.Text(title=u"Local Id", readonly=True, group='Details') vpnPhase1RemoteIdValue = schema.Text(title=u"Remote Id", readonly=True, group='Details') vpnPhase1State = schema.Text(title=u"State", readonly=True, group='Details') vpnPhase2LocalGwAddr = schema.Text(title=u"Phase 2 Local G/w", readonly=True, group='Details')
class IMemcachedDataSourceInfo(IBasicDataSourceInfo): component = schema.Text(title=_t(u'Component')) eventKey = schema.Text(title=_t(u'Event Key')) timeout = schema.Int(title=_t(u'Timeout (seconds)')) hostname = schema.Text(title=_t(u'Memcached Host'), readonly=True) ipAddress = schema.Text(title=_t(u'Memcached Host IpAddress'), readonly=True) parser = schema.Text(title=_t(u'Parser'), readonly=True) port = schema.Int(title=_t(u'Memcached Port'), required=True)
class IJuniperVlanInfo(IComponentInfo): """ Info adapter for JuniperVlan component """ vlanName = schema.Text(title=u"Name", readonly=True, group='Details') vlanType = schema.Text(title=u"Type", readonly=True, group='Details') vlanTag = schema.Int(title=u"Tag", readonly=True, group='Details') vlanPortGroup = schema.Int(title=u"Port Group", readonly=True, group='Details') vlanInterfaceInfo = schema.Text(title=u"Interface Info", readonly=True, group='Details')
class IClassMapInfo(IComponentInfo): """ Info adapter for ClassMap components. """ instance = schema.Text(title=_t(u"Instance"), readonly=True, group='Overview') parentInterface = schema.Text(title=_t(u"Interface"), readonly=True, group='Overview') direction = schema.Text(title=_t(u"Direction"), readonly=True, group='Overview') allocBandwidth = schema.Text(title=_t(u"Bandwidth"), readonly=True, group='Overview') parentServicePolicy = schema.Text(title=_t(u"Policy"), readonly=True, group='Overview')
class IApcAtsInputInfo(IComponentInfo): """ Info adapter for ApcAtsInput component """ inputType = schema.Text(title=u"Input Type", readonly=True, group='Details') inputName = schema.Text(title=u"Input Name", readonly=True, group='Details') inputFrequency = schema.Text(title=u"Input Frequency", readonly=True, group='Details') inputVoltage = schema.Text(title=u"Input Voltage", readonly=True, group='Details') statusSelectedSource = schema.Text(title=u"Currently Selected Source", readonly=True, group='Details')
class IMemoryModuleInfo(IComponentInfo): """ Info adapter for MemoryModule components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') manufacturer = schema.Entity(title=u"Manufacturer", readonly=True, group='Details') product = schema.Entity(title=u"Model", readonly=True, group='Details') size = schema.Text(title=u"Size", readonly=True, group='Details')
class IIMMFanMonInfo(IComponentInfo): fanIndex = schema.Text(title=u"ID", readonly=True, group='Details') fanDescr = schema.Text(title=u"Fan Description", readonly=True, group='Details') fanSpeed = schema.Text(title=u"Fan Speed", readonly=True, group='Details') fanCritLimitLow = schema.Text(title=u"Critical Low Limit", readonly=True, group='Details')
class IcpqDaCntlrInfo(IcpqIdeControllerInfo): """ Info adapter for cpqDaCntlr components. """ redundancyType = schema.Text(title=u"Redundancy Type", readonly=True, group='Details') roleString = schema.Text(title=u"Current Role", readonly=True, group='Details')
class IDBSrvInstInfo(IComponentInfo): """ Info adapter for DB Server Instance components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') contact = schema.Text(title=u"Contact", readonly=True, group='Details') manufacturer = schema.Entity(title=u"Manufacturer", readonly=True, group='Details') product = schema.Entity(title=u"Model", readonly=True, group='Details')
class IJuniperBGPInfo(IComponentInfo): """ Info adapter for JuniperBGP component """ bgpLocalAddress = schema.Text(title=u"Local address", readonly=True, group='Details') bgpRemoteAddress = schema.Text(title=u"Remote address", readonly=True, group='Details') bgpRemoteASN = schema.Text(title=u"Remote ASN", readonly=True, group='Details') bgpStateInt = schema.Int(title=u"State (int)", readonly=True, group='Details') bgpStateText = schema.Text(title=u"State", readonly=True, group='Details') bgpLastUpDown = schema.Text(title=u"Last Up/Down (days)", readonly=True, group='Details')
class IAppInstanceInfo(IComponentInfo): cfApp = schema.Entity(title=_t(u"App")) cfIndex = schema.Int(title=_t(u"Index")) cfState = schema.Text(title=_t(u"State")) utilCPU = schema.Text(title=_t(u"CPU Utilization")) utilMemory = schema.Text(title=_t(u"Memory Utilization")) utilDisk = schema.Text(title=_t(u"Disk Utilization")) cfHost = schema.Text(title=_t(u"Host")) cfPort = schema.Int(title=_t(u"Port")) cfSince = schema.Int(title=_t(u"Since"))
class IApcPduPSInfo(IComponentInfo): """ Info adapter for ApcPduPScomponent """ supply1Status = schema.Text(title=u"Power Supply 1 Status", readonly=True, group='Details') supply2Status = schema.Text(title=u"Power Supply 2 Status", readonly=True, group='Details')
class IDatabaseInfo(IComponentInfo): """ Info adapter for Database components. """ status = schema.Text(title=u"Status", readonly=True, group='Overview') dbSrvInst = schema.Entity(title=u"DB Server Instance", readonly=True, group='Details') type = schema.Text(title=u"Type", readonly=True, group='Details') version = schema.Text(title=u"Version", readonly=True, group='Details') contact = schema.Text(title=u"Contact", readonly=True, group='Details') activeTime = schema.Text(title=u"Active Time", readonly=True, group='Details') blockSizeString = schema.Text(title=u"Units Size", readonly=True, group='Details') totalBytesString = schema.Text(title=u"Size Allocated", readonly=True, group='Details') usedBytesString = schema.Text(title=u"Size Used", readonly=True, group='Details') capacity = schema.Text(title=u"Utilization", readonly=True, group='Details')