cmdbAbstractObject bizmodel,searchable false containerimage false true name false publisher false version false description true containerimagetype_id ContainerImageType true DEL_MANUAL software_id true Software DEL_MANUAL all image false all lnkContainerApplicationToImage containerimage_id 0 0 containerapplication_id /** * Overrides the GetIcon method to return the logo of the associated Software if any, otherwise the default icon of the class will be returned * */ false public Custom Get($sExtKeyCode); if ($iObj > 0) { $oObj = MetaModel::GetObject($sIconClass, $iObj, true, true); $oImage = $oObj->Get($sIconAttCode); $sIconUrl = $oImage->IsEmpty() ? '' : $oImage->GetDisplayURL($sIconClass, $iObj, $sIconAttCode); if (strlen($sIconUrl) > 0) { if ($bImgTag) { return ""; } else { return $sIconUrl; } } } // Return the default image return parent::GetIcon($bImgTag); }]]> 10 20 30 40 10 20 30 40 50 10 20 30 40
10 20 10 10 20 30 40 10 10 10 10 20 50
30 40 50
containerapplications_list both
SELECT FunctionalCI WHERE IF(:this->finalclass = 'ContainerApplication', finalclass = 'ContainerVirtualHost', finalclass IN ('Server','VirtualMachine','PC')) SoftwareInstance bizmodel,searchable false containerapplication status logo descriptor true containervirtualhost_id false ContainerVirtualHost DEL_AUTO all lnkContainerApplicationToImage containerapplication_id 0 0 containerimage_id false public EventListener Set('system_id', $this->Get('containervirtualhost_id')); }]]> EVENT_DB_BEFORE_WRITE EvtComputeSystemId 0 10 20 30 40 10 20 30 40 10 20 30 40
10 20 30 40 10 10 10 20 10 10 10 10 20 20 20 30 40 50 60 70 80
10 20 30 40
cmdbAbstractObject 1 bizmodel false autoincrement lnkcontainerapplicationtoimage id false true containerapplication_id ContainerApplication false DEL_AUTO containerimage_id ContainerImage false DEL_AUTO
10 20
10 20 10 20
FunctionalCI bizmodel,searchable true containervirtualhost status status='obsolete' ContainerApplication containervirtualhost_id list false false status implementation 10 production 20 obsolete 30 $ibo-lifecycle-neutral-state-primary-color $ibo-lifecycle-neutral-state-secondary-color implementation false all containertype_id true ContainerType DEL_MANUAL all 10 20 30 40 10 20 30 40
10 20 30 40 10 10 20 20 10 50 60 10 20 30 40 50 60
10 20 30
containerapplications_list both
ContainerVirtualHost bizmodel,searchable false containerhost status containercluster_id SELECT ContainerCluster WHERE org_id= :this->org_id true ContainerCluster DEL_MANUAL all role master 10 worker 20 standalone 30 standalone false radio_horizontal all system_id SELECT FunctionalCI WHERE finalclass IN ('Server','VirtualMachine','Cloud') false FunctionalCI DEL_AUTO all /** * Event Listener for EVENT_DB_BEFORE_WRITE * An object is about to be written into the database. * The object can be modified. * * @param Combodo\iTop\Service\Events\EventData $oEventData Event data object * */ false public EventListener Get('containercluster_id') == 0) { $this->Set('role', 'standalone'); } else if ($this->Get('role') == 'standalone') { $this->Set('role', 'worker'); } }]]> 10 20 30 40 50 10 20 30 40 10 20 30 40 50 60
10 20 30 40 10 10 20 30 40 20 10 10 10 10 20 20 20 30 40 50 60
10 20 30 40 50 60
containercluster_id both EVENT_DB_BEFORE_WRITE EvtBeforeWrite 0
ContainerVirtualHost bizmodel,searchable false containercluster status redundancy impacts ContainerHost containercluster true 50 percent user user ContainerHost containercluster_id list false false on_host_display 10 20 30 10 20 30 40 10 20 30 40
10 20 30 40 10 10 20 10 10 10 10 20 20 20 30 40 50 60 70
10 20 30 40
Typology bizmodel,searchable false containertype false true 10 10
10
Typology bizmodel,searchable false containerimagetype false true 10 10
10
ContainerHost system_id list false false
40
containerhosts_list both
ContainerHost system_id list false false
140
containerhosts_list both
ContainerImage software_id list add_only false false
150
ContainerHost system_id list false false
140
containerhosts_list both
1 5 ContainerApplication 6 ContainerHost 7 ContainerCluster 8 ContainerImage 0 21 ContainerType 22 ContainerImageType