Generating Framework Models

The Cartridge Generation tool expedites the creation of Activation cartridge projects. For Activation Network cartridge projects, Cartridge Generation tool creates service actions, atomic actions, and action processors links all combinations of the entities in a 1:1:1 relationship. For Activation Service cartridge projects, the Cartridge Generation tool creates only service actions (the tool cannot determine which atomic actions you will associate with the service actions).

For Activation Service cartridges, the type of service model (common, mixed or vendor/technology/software load-specific) affects the naming convention that the Cartridge Generation tool uses for the atomic actions.

Note:

The Cartridge Generation tool does not overwrite a framework that already exists. Rather, it adds to framework new and modified actions and entities. Additionally, Design Studio does not delete old actions or entities. You can delete old actions or entities manually.

When generating framework models, see the following topics:

Generating Framework Models for Activation Network Cartridges

You can use the Cartridge Generation tool to generate models for Activation Network cartridge projects.

To generate framework models for Activation Network cartridges:

  1. In the Studio Projects view, double-click an Activation Project entity to open the Project editor.

  2. Click the Cartridge Layout tab.

  3. In the Add area, click Add.

    Design Studio prompts you to enter an action to be performed by the cartridge (for example, ADD, MOD, DEL, QUERY). Also, you enter a description for the action.

  4. In the Entity area, click Add.

    Design Studio prompts you to specify the entities on which the actions are to be performed (for example, PORT, SUBSCRIBER, SUBSCRIPTION, LINE, and so forth). Also, you enter a description for the entities. The Cartridge Generation tool combines the descriptions defined for each action and entity combination (for example, add a single port on the device).

  5. Repeat steps 1 and 2 and add any additional action and entity combinations.

  6. Click Generate Cartridge.

    A dialog box appears and prompts you to confirm the generation.

  7. Click Yes.

    Design Studio creates service actions, atomic actions, and action processors for all action and entity combinations. The generated entities appear in the Studio Projects view. You can view the hierarchy and relationships in the Relation Graph view.

  8. To complete the modeling, adjust the properties and define parameters for the atomic action.

Related Topics

Generating Framework Models

Activation Project Editor

Generating Framework Models for Activation Services Cartridges

You can use the Cartridge Generation tool to generate models for Activation Service cartridge projects.

To generate framework models for Activation Service cartridge projects:

  1. In the Studio Projects view, double-click an Activation Service cartridge project entity.

    The entity opens in the Project editor.

  2. Click the Cartridge Layout tab.

  3. In the Add area, click Add.

    Design Studio prompts you to enter an action to be performed by the cartridge (for example, ADD, MOD, DEL, QUERY). Also, you enter a description for the action.

  4. In the Entity area, click Add.

    Design Studio prompts you to specify the entities on which the actions are to be performed (for example, PORT, SUBSCRIBER, SUBSCRIPTION, LINE, and so forth). Also, you enter a description for the entities. The Cartridge Generation tool combines the descriptions defined for each action and entity combination (for example, add a single port on the device).

  5. Repeat steps 1 and 2 and add any additional action and entity combinations.

  6. Click Generate Cartridge.

    A dialog box appears and prompts you to confirm the generation.

  7. Click Yes.

    Design Studio creates service actions for all action and entity combinations. The generated entities appear in the Studio Projects view. You can view the hierarchy and relationships in the Relation Graph view.

  8. Link atomic actions to the generated service actions.

    Do one of the following:

    • Link to existing atomic actions from Activation Network cartridge projects. These atomic actions have existing links to action processors.

    • Create and link to new atomic actions. When you create new common atomic actions, you must manually link the atomic actions with action processors.

Related Topics

Generating Framework Models

Activation Project Editor