#
#   File:    topology-license-d.x
#   Author:  Tom Yuyitung
#   Version: 1.7 01/05/16 18:25:33
#
#   Copyright (c) 1997 Halcyon Inc.
#
#   Topology License Module 
#

[ use MANAGED-MODULE ]
[ load topology-license-m.x ]
[ requires package topodb ]
[ requires template topology-license-models-d ]
[ inherit .templates.topology-license-models-d ]

consoleHint:family = core-modules

topoObjectStats = { 
    type            = active

    refreshService  = _internal
    refreshCommand  = topoDbObjectStats
    refreshInterval = 14400
    initInterval    = 1

    topoTable = { [ use templates.topology-license-models-d.topoObjectStats.topoTable ]
	type = active
	refreshService = _internal
	refreshCommand = topoDbLicTopoObjects 
	refreshInterval = 300
	initInterval = 10

    }
    moduleTable = { [ use templates.topology-license-models-d.topoObjectStats.moduleTable ] 
	type = active
	refreshService = _internal
	refreshCommand = topoDbLicModulesLoaded
	refreshInterval = 300
	initInterval = 10
    }
    packbyhostTable = { [ use templates.topology-license-models-d.topoObjectStats.packbyhostTable ] 
	type = active
	refreshService = _internal
	refreshCommand = topoDbLicModulesLoadedByHost
	refreshInterval = 300
	initInterval = 10
    }
    packbyfamilyTable = { [ use templates.topology-license-models-d.topoObjectStats.packbyfamilyTable ] 
	type = active
	refreshService = _internal
	refreshCommand = topoDbLicPackInfoByFamily 
	refreshInterval = 300 
	initInterval = 10
    }
    licByPackTable = { [ use templates.topology-license-models-d.topoObjectStats.licByPackTable ]
        type = active
        refreshService = _internal
        refreshCommand = topoDbLicStats
        refreshInterval = 300
        initInterval = 10
    }
}

