Adding the service models to the target system

When the "latest" file identifies no UNRECONCILED nodes, commit the reconciled service models that are in the sandbox. After the commit, imported service models, organizers, logical nodes, global and contextual policies, and custom state providers are added to the target system. Service models are operationally active to process device and service events, and are listed in the SERVICES tab of the browser interface.
Prerequisites:
  • Generate an export file (see Exporting a service model).
  • Copy the export file and log in to the target system (see Preparing to import).
  • Complete the initial import (see Initiating the import).
  • Reconcile devices or components from the originating system with their equivalents in the target system (see Attempting to reconcile).
  • Review the following considerations:
    • It is possible to commit the file with UNRECONCILED nodes, however, those members are lost from the resulting service model.
    • A final commit cannot be reversed. To change the model definition after committing, edit the service model definition in the SERVICES tab or delete the service model and start a new export process.

You can specify the import attempt to commit in the following ways:

By import file name:
zenimpactimport --import filename.graphml --commit
By reconcile file name:
zenimpactimport --reconcileFile filename.graphml.latest.txt \
     --commit
By action file name:
zenimpactimport --actionFile filename.graphml*.latest.txt*  \    
    --commit
By source and version. First, generate a list of import attempts:
zenimpactimport --list-imports
Then specify source, version, or both:
zenimpactimport --source  sourceID  --commit
zenimpactimport --import-version  versionID  --commit
zenimpactimport --source  sourceID \ 
   --import-version  versionID  --commit