Cisco Crosswork Planning Design 7.2.x User Guide

PDF

Cisco Crosswork Planning Design 7.2.x User Guide

Create patch files

Want to summarize with AI?

Log in

Explains how to configure patch files to identify differences between two plan files and apply targeted changes.


Create patch files to automate the process of updating one plan file to match another. This process efficiently identifies additions, deletions, or modifications between the files.

The patch file created identifies how to get to the plan file identified in the To file field from the plan file identified in the From file field. These patch files only include differences in new, modified, and deleted objects that are supported by the Cisco Crosswork Planning YANG model.

Examples:

  • If From file iosnet.txt contains 33 LSPs and To file atlantic.txt contains 23 LSPs, the patch file identifies which 10 LSPs to delete from plan iosnet.txt to create plan atlantic.txt.

  • If From file iosnet.txt contains 10 LSPs and To file atlantic.txt contains 15 LSPs, the patch file identifies which 5 LSPs to add to plan iosnet.txt to create plan atlantic.txt.

  • If both plan files contain the same LSP, but in From file iosnet.txt the LSP has a SetupBW property equal to 100 and in the To file atlantic.txt it does not, the patch file identifies the need to modify the SetupBW property of this LSP in plan iosnet.txt so that it matches plan atlantic.txt.

Complete these steps to create patch files that identify differences between two plan files.

Procedure

1.

Open the two plan files that you are using for the patch file creation. For more information, refer to Open plan files.

2.

From the plan file you want to use as the target (the "To file"), choose Actions > Tools > Patches > Create patch from the toolbar.

Create patch options
3.

From the From file drop-down list, choose the plan file from which you are determining required changes to achieve the plan file identified in the "To file" field.

4.

Review the default patch filename, which combines the From and To plan filenames. Change the filename if required. Ensure it ends with a .plp extension. To prevent overwriting a patch file, ensure the filename is unique within its location.

5.

Click Create.

The patch file is created successfully. The generated patch file is saved under Network Models > User space > Other files. Use the button under the Actions column to open, download, delete, or view details of the patch file.

What to do next

Use the Edit patch button to edit the patch file. Use the Download button to download the file to your local machine.