CMDB.Synch.Augment.ComputerSystem TPL
Posted: Thu Oct 03, 2019 8:19 am
tpl 1.5 module CMDB.Extension.ComputerSystem_Augment;
from CDMB.Host_ComputerSystem import Host_Computer 2.0;
syncmapping ComputerSystem_Augment 1.0
"""
Add or more attributes to BMC_ComputerSystem CI
"""
overview
tags CMDB, Extension;
end overview
mapping from Host_ComputerSystem.host as host
// No additional structure. Just modifying the existing CS pattern
end mapping;
body
computersystem := Host_ComputerSystem.computersystem;
// The following fields are set by a custom pattern where SomeFieldCreatedInADDM is assigned a value
computersystem.SomeFieldCreatedInADDM := host.SomeFieldCreatedInADDM;
computersystem.ParentCITag := host.ParentCITag;
end body;
end syncmapping;
from CDMB.Host_ComputerSystem import Host_Computer 2.0;
syncmapping ComputerSystem_Augment 1.0
"""
Add or more attributes to BMC_ComputerSystem CI
"""
overview
tags CMDB, Extension;
end overview
mapping from Host_ComputerSystem.host as host
// No additional structure. Just modifying the existing CS pattern
end mapping;
body
computersystem := Host_ComputerSystem.computersystem;
// The following fields are set by a custom pattern where SomeFieldCreatedInADDM is assigned a value
computersystem.SomeFieldCreatedInADDM := host.SomeFieldCreatedInADDM;
computersystem.ParentCITag := host.ParentCITag;
end body;
end syncmapping;