system.cmdbSync
system.cmdbSync(nodes)
Adds the given root node or list of root nodes to the CMDB synchronization queue for all sync connections where continuous synchronization is enabled.Where:
nodes
– a root node or a list of root nodes to be added to the CMDB synchronization queue.
The following example code is an except from the VMware_Event_Functions pattern module:
to_sync := list(); // List of things to sync to the CMDB // add some nodes to the list list.append(to_sync, source_host); if to_sync then log.debug("Sync changes to the CMDB"); system.cmdbSync(to_sync); end if;
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.