As previously mentioned, CXTM offers multiple options to create topology files. Now that you have leveraged the CXTM Devices page to create a topology file, you will learn how to create your own topology file through the Topologies page.
Return to the sidebar.
Upon navigating to Topologies, you will see a blank topology file. If you had a pre-existing topology, you could open it using the Open button.
testbed:
name: LTROPS-2711 Topology
credentials:
default:
username: admin
password: cisco.123
devices:
S1:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.21
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.21
S2:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.22
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.22
L1:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.23
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.23
L2:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.24
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.24
L3:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.25
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.25
L4:
type: switch
os: nxos
platform: n9k
connections:
defaults:
via: ssh
ssh:
protocol: ssh
ip: 10.15.103.26
rest:
class: rest.connector.Rest
protocol: https
ip: 10.15.103.26
After pasting in the New Topology File above:
In the Save As pop-up:
After saving, you will notice that the Topologies pane changes with different options now enabled, such as Save for future updates to manage your topology file.
From your project's Topologies page:
Continue to the next section to begin work with CXTM automation files, also called Job Files.