CXTM leverages the unicon framework of device control libraries to define how connections should be established to the devices in the testbed, such as routers, switches, and servers. The unicon framework stores the device connection parameters (protocols, IP addresses, ports, etc) and credentials in a testbed file in YAML format.
The Devices page allows CXTM users the ability to easily generate these YAML testbed topology files without having to worry about the underlying YAML file structure expected by unicon. In addition, CXTM takes care to ensure that device credentials are properly protected with encryption.
CXTM offers multiple options to create this testbed topology file. Users can use the provided CSV template to add the device inventory in bulk, create and import topology files programmatically, or add devices individually. In the following steps you will use the CXTM GUI to add a device from your CML lab. In the upcoming Topologies section of the lab, you will add the YAML file directly into CXTM from this lab guide.
From within your project:
On your project Devices page:
In the Device Details pop-up, enter the below information to add the C8Kv-01 device to your lab topology.
When entering the below information, notice that after selecting "ios" from the Device OS dropdown and "xe" from the Sub Category dropdown, that the Connector OS is automatically changed from "Linux (default)" to "IOSXE".
Add a connection to your C8Kv-01 device:
In the Connection Details pop-up, enter the below information to add an ssh connection to the C8Kv-01 device:
When entering in the device credentials, notice that the passwords are not displayed in clear text in the Connection Details menu.
On your project Devices page:
On your project Devices page:
Take a moment to review how the data you entered on the devices page has been rendered in this output. The Robot Job Files you develop in the next sections will leverage the information collected in this file.
Also, notice that the passwords entered in the preceding steps are encrypted in this output.
In the interest of time, the remaining devices in your testbed have already been added to a YAML topology file for you in the next section of the lab guide. Continue to the next section to learn how to create a topology through the CXTM Topologies page.