Package ZenModel :: Package migrate :: Module Migrate :: Class Step
[show private | hide private]
[frames | no frames]

Class Step

Known Subclasses:
AboutZenoss, AddExpectRegex, addWinService, AdvancedQuery, ARSchedule, BetterStandardErrorMessage, CaseSensitive, ChangeEventAction, ChangeEventClasses, ClearId, Commands, convertOSSoftwareClass, DataPoints, DefaultCommandTimeout, DevicePriority, DeviceTemplatesProperty, EvenBetterStandardErrorMessage, EventClassMapping, EventCommands, EventDBName, EventNewClasses, EvtProps, HoistPerfData, ImportExportFilesystem, IndexHtml, Innodb, InterfaceNameConvert, KeyPath, KillCricket, LoadAverageReport, MaintenanceWindowRelations, MaxOIDPerRequest, MenuRelations, Mibs, MigrateToPAS, Monitors, NewDeviceIndexes, NoCountProcs, Packs, PerfXmlRpc, Processes, ProcessSequence, ProcParams, ReindexHistory, ReportServer, RRDCpuType, RRDMinValue, RRDMinValue2, smtpsnpp, StandardErrorMessage, StatusConnectTimeout, TwoPointOhObjects, UserCommands, WinMinSeverity, WmiIgnore, ZCollectorDecoding, zCollectorLogChanges, zCollectorPlugins, ZenPackDataSources, ZenUILayer, zLinks, ZLocalIps, zPropsCleanup, zWmiMonitorProperty

A single migration step, to be subclassed for each new change
Method Summary
  __init__(self)
self insert ourselves in the list of all steps
  __cmp__(self, other)
  cleanup(self)
remove any intermediate results
  cutover(self, dmd)
perform changes to the database
  getDependencies(self)
  name(self)
  prepare(self)
do anything you must before running the cutover
  revert(self)

Class Variable Summary
NoneType dependencies = None                                                                  
int version = -1                                                                    

Method Details

__init__(self)
(Constructor)

self insert ourselves in the list of all steps

cleanup(self)

remove any intermediate results

cutover(self, dmd)

perform changes to the database

prepare(self)

do anything you must before running the cutover

Class Variable Details

dependencies

Type:
NoneType
Value:
None                                                                  

version

Type:
int
Value:
-1                                                                    

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net