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:

  1. 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

  2. Edt the XML file using an external program such as a text editor or XML editor.

  3. Import the edited XML file into a new scenario (Scenarios > New Scenario) or into an existing scenario (Topology > Import Topology > From XML).

  4. 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).

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com