Creating and Using Templates

By using an existing Server Characterization model as a template for a new model, you can benefit from jobs and filters that are already defined. Using templates is an efficient way to use the common resources of a baseline model to create different “what-if” scenarios quickly.

Creating a Template

A template is a read-only file that you can copy to create a new model. Templates are stored in the model directory and have a .sce.t suffix to indicate their file type (Server Characterization Editor template).

Procedure 18: Creating a Template

  1. Open the Server Characterization model from which you want to make a template.

  2. From the menu bar, select File > Create Template…

    The Save As dialog box opens with the name of the current Server Characterization model in the Filename: text field.

  3. Type a name for the new template, then click OK.

    Riverbed Modeler saves the template file in the default directory.

    The following message appears in the status line:

    Wrote File: (/pathname.../directoryname/template_name.sce.t)
    

Creating a New Model from a Template

When you create a new model from a template, you make a copy of a model that already has some jobs and filters defined. This means you can edit the existing jobs and filters, or merge and edit new data with the existing jobs and filters, to arrive at a usable model faster than if you created the jobs and filters in an empty model.

Procedure 19: Creating a New Model from a Template

  1. From the System window, select File > New…

    The New dialog box opens.

  2. Click the drop-down menu, select Server Characterization, then click OK.

    A new Server Characterization Editor window opens behind the Select a Project Template dialog box.

  3. Select the template you want to use from the list, then click Next.

    The Import Type dialog box appears.

  4. Select the type of data you want to import into the new model and click OK or click Cancel if you do not want to add data to the model now. (You can add data later using the File > Import command.)

    The dialog window closes after you make your choice and the editor window stays open.

  5. Select File > Save As…, type a name for the new model in the Save As dialog box, then click OK.

    The Save As dialog box closes and the text in the title bar changes to Server Characterization: <new_model_name>.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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