vEdge CLI to cEdge CLI

The following steps are involved in the conversion and export of vEdge CLI configuration to a vManage or as a Sastre archive in the form of a cEdge CLI template:

  1. Upload
  2. Convert
  3. Export

Upload

The user initially uploads a vEdge CLI configuration file that they want to convert and export to a vManage or as a Sastre archive in the form of a cEdge CLI template. The configuration file is parsed and validated by the SD-WAN Conversion Tool to ensure it conforms with the structure and configuration blocks of a vEdge CLI configuration. In case of any errors, the line numbers of the errors and the string containing the error messages are returned to the UI for the user to identify and fix the specific issues in the uploaded config.

Activity Window

The activity window for the Upload step allows the following two options to the user for uploading a vEdge CLI configuration file:

  • Drag and drop.
  • Manually browse for a file.
_images/vedge001.png

Figure 1. Upload activity window

Upload Workflow

  1. The first step required by the user is to upload the vEdge CLI configuration file which is to be converted and exported as cEdge CLI template. The SD-WAN Conversion Tool supports two ways to upload the configuration file:
  • Drag and Drop: To upload a file, simply drag and drop it to the activity window. The filename will be displayed next to the browse icon, as shown in the figure below.
_images/vedge002.png

Figure 2. Uploaded file in activity window

  • Manually Browse: To upload a file manually, click on the browse icon and browse the file in your computer’s directory.

Note

Currently, The SD-WAN Conversion Tool supports uploading text files with plain text or a config file without any extension in the upload workflow for vEdge CLI to cEdge CLI.

  1. Click on Next to upload the file to the SD-WAN Conversion Tool. A loading screen will appear as shown in the figure below.
_images/vedge003.png

Figure 3. Loading screen for Upload operation

  1. Upon successfully uploading the file to the SD-WAN Conversion Tool, user will see a two-pane screen as shown below.
_images/vedge004.png

Figure 4. Upload successful

The contents of the original file will be displayed in an on-screen editor on the left side of the screen and the device variables extracted from the file (if any) will be displayed on the right side. The user can update the configuration on the left and click on refresh to update the variables on the right.

Note

In case of an error in upload, refer to Upload Error: vEdge CLI Workflow section in Appendix A.

  1. Once the user has inserted in the values of the device variables by uploading a CSV file or manually filling in the values, click Next to proceed. A loading screen will appear on the application window that indicates the beginning of the validation process in which the configuration is validated with the inserted values of device variables if present.
_images/vedge005.png

Figure 5. Validating the config file

  1. After the configuration is successfully validated, the following screen is shown where the validated configuration content is displayed in an on-screen editor.
_images/vedge006.png

Figure 6. Successful validation.

Note

In case of an error in validation, refer to Validation Error: vEdge CLI Workflow section in Appendix A.

  1. Click on Next to initiate the conversion process of the SD-WAN configuration.

Convert

The SD-WAN Conversion Tool converts the vEdge CLI configuration to the cEdge CLI configuration. A cEdge CLI template is created using the converted configuration in the subsequent step.

Activity Window

This section gives the details of the available functionalities for the Convert step in the activity window. An example activity window for this step is shown in the figure below.

_images/conversion_details_vManage.png

Figure 7: Conversion details

Field Name Description
Conversion Medium Type of medium used for the conversion process. If Live vManage is selected, provided vManage instance is used or conversion process. If Devices File is selected, vManage instance reserved by the tool is used for the conversion process.
Target Device Type Lists the available SD-WAN device types. The selected device type will be used as the target device for the exported templates.
vManage IP/New IP This is the IP or domain name of the running vManage to which the cEdge CLI templates will be exported. The user can either enter a new IP or select from the list of previously saved vManage IPs from the dropdown menu.
vManage Port This is the port of the vManage to which the cEdge CLI templates will be exported.
Username This is the username of the vManage server.
Password This is the password of the vManage server.
_images/conversion_details_devicesFile.png

Figure 8: Conversion details with device file

Field Name Description
Conversion Medium Type of medium used for the conversion process. If Live vManage is selected, provided vManage instance is used for the conversion process. If Devices File is selected, the vManage instance reserved by the tool is used for the conversion process.
Target Device Type Lists the available SD-WAN device types. The selected device type will be used as the target device for the exported templates.
WAN Edge List List of SD-WAN devices used during the conversion process.
_images/conversion_successful1.png

Figure 9: Conversion successful

  • Converted File: This is the configuration file that is generated in the conversion process based upon the configuration in the vEdge CLI configuration file. The user can download this config file by clicking on download.
  • Non-editable Window: It displays the contents of the converted configuration file. No changes can be made to the configuration at this point.

Convert Workflow

Once the vEdge CLI config file has been validated successfully, the next step is to convert this configuration to the cEdge CLI configuration.

  1. After the config file has been successfully validated, click on Next to proceed. The following screen will appear.
_images/conversion_details_vManage.png

Figure 10. Conversion details

  1. Fill in the required fields by entering the relevant conversion details of the target to proceed with the conversion process. An example is shown in the figure below.
_images/conversion_details_VManage_with_values.png

Figure 11. Conversion details with values

  1. Once the user has filled in the relevant fields, click on Next to proceed. A loading screen will appear on the application window that indicates the beginning of the conversion process.
_images/convert_loader.png

Figure 12. Conversion loader

  1. Upon successfully converting the config file to cEdge CLI configuration, the following screen will appear on the application window indicating a successful conversion process.
_images/conversion_successful1.png

Figure 13. Conversion successful

Note

In case of an error, refer to the Conversion Error: vEdge CLI Workflow section in Appendix A.

Export

The SD-WAN Conversion Tool generates cEdge CLI template using the converted SD-WAN configuration. In the case of vManage as a target, these templates are created in user-selected vManage and attached to a device template for consumption from the vManage UI. The credentials provided for vManage can be saved by the user for subsequent workflows in the future. In the case of the Sastre archive as a target, the tool creates a Sastre archive that contains the cEdge CLI template which can be downloaded from the tool’s UI.

Activity Window

This section gives the details of the available functionalities in the activity window for the Export step. An example activity window for this step is shown in the figure below.

_images/vedge_export1.png

Figure 14. Export form

Field Name Description
Target Type Type of target (Live vManage or Sastre archive) for the conversion.
Target Device Type It lists the available SD-WAN device types. The selected device type will be used as the target device for the exported templates.
vManage IP/New IP This is the IP or domain name of the running vManage to which the cEdge CLI templates will be exported. The user can either enter a new IP or select from the list of previously saved vManage IPs from the drop-down menu. This field is disabled when the Sastre archive is selected as the target type.
vManage Port This is the port of the vManage to which the cEdge CLI templates will be exported. This field is disabled when the Sastre archive is selected as the target type.
Username This is the username of the server on which vManage is running. It is disabled when the Sastre archive is selected as the target type.
Password This is the password of the server on which vManage is running. It is disabled when the Sastre archive is selected as the target type.

Note

All cEdge and vEdge devices present in vManage 20.5 are supported as target device types in the vEdge CLI to cEdge CLI workflow.

Export Workflow

Once the vEdge CLI config file has been converted successfully, the next step is to export this config file.

  1. After the config file has been successfully converted to cEdge CLI configuration, click on Next to proceed. The following screen will appear.
_images/vedge_export1.png

Figure 15: Export Form

  1. Fill in the required fields by entering the relevant configuration details of the target to proceed with the export process. An example is shown in the figure below.
_images/vedge_export2.png

Figure 16. Filled Export Form

  1. Once the user has filled in the relevant fields, click on Next to proceed. A loading screen will appear on the application window that indicates the beginning of the export process in which the cEdge CLI templates generated from the configuration are exported to vManage or as a Sastre archive.
_images/vedge_export3.png

Figure 17. Export loader

  1. After the templates have been successfully exported to vManage or as a Sastre archive, a screen will appear on the application window indicating a successful export process. The successful export screen would vary based on the target environment chosen earlier by the user. In the case of the Sastre target type, the user will be additionally shown a Sastre archive available for download. The screenshots for both scenarios are shown below.
_images/vedge_export4.png

Figure 18. Config file successful export - Live vManage as target

_images/vedge_export5.png

Figure 19. Config file successful export - Sastre as target

Note

In case of an error, refer to the Export Error: vEdge CLI Workflow section in Appendix A.

On the export successful screen, the following two buttons are available to the user:

  • Convert: To perform another configuration conversion, click the Convert button. This will take the user back to the workflow selection screen.
  • History: To view the history of the configuration conversion workflows, click the History button. This will take the user to the History tab.