XML Topology Exports and Imports
The XML Export/Import feature is useful for the following tasks:
- Tracking changes to a model – If your organization uses a version-control program such as ClearCase or CVS, you might want to track changes to a network model by creating an XML file and checking it into the version-control software. Then team members can check out the XML file, import it into NetPlanner, make changes, re-export to XML, and check in the new XML file.
- Converting “raw” external data to a scenario – If you want to import network data in an unsupported format, one possible way to import this data into is to
- Convert the data to a compatible XML file
- Import the XML file
This section has the following subsections:
Data Included in XML Import/Export Operations
The XML export/import functions include all data contained in a network scenario—such as topology, traffic, and configuration data—except for the following:
- Wireless domains
- Compound extended attributes
- Extended attributes with property restrictions
XML Topology Imports: Workflow Description
The basic workflow to follow is:
-
Create a compatible XML file.
The easiest way to do this is to export part or all of an existing network model. The Topology > Export Topology > To XML submenu has operations for exporting the entire network, the current subnet, or only selected objects.
If you want to translate network data from an unsupported format (such as a custom database), the required XML format is specified in the Document Data Type (DTD) file
<install_dir>\<release>\sys\etc\network.dtd -
Edt the XML file using an external program such as a text editor or XML editor.
-
Import the edited XML file into a new scenario (Scenarios > New Scenario) or into an existing scenario (Topology > Import Topology > From XML).
-
Check the Status Buffer for warnings or error messages (click the button next to the status bar, in the bottom right corner of the Project Editor window).