zenoss/zenpacklib — pull request #19 by eedgar (2014-07-31 20:04:24+00:00)
Title: Add global catalog per component

'properties': {
'serviceTag': {'label': 'Service Tag',
'index_type': 'field',
'index_scope': 'global'},
}
}

scopes allowed: global, device, both

global means this property will only be indexed to a catalog in dmd.Devices named
ZenPacks_zenoss_ExampleZenPack_ExampleComponentSearch

device will just create a catalog on a device named ExampleComponentSearch

Both will create both catalogs.

This feature also handles removing these extra catalogs upon zenpack removal.