For Videos Please check the Merlin 3D Playlist on YouTube
For the main Merlin project and what Merlin does please visit:
You can now run Merlin against a Nexus 9000 in the Cisco DevNet Sandbox. We have included a custom script and pre-configured testbed file for this purpose.
To get started, sign up for a Cisco DevNet account at: DevNet Sandbox
Once you are signed in, search for "Nexus" in the search dialog at the top left of the screen.
Select one of the reserved instances - We recommend using the instance running the latest version of NXOS.
Click "Reserve" after reviewing the reservation details.
You will receive an email from Cisco confirming the reservation along with links to download the Cisco AnyConnect VPN Client and instructions for its installation.
Cisco AnyConnect VPN Client:
Installation guide for Cisco AnyConnect VPN Client:
Click the "VPN Access" tab in the DevNet console and review the information in it.
Note: If this is your first time using the Cisco DevNet Sandbox, make sure to review the information in each of the tabs.
In about 15 to 20 minutes, you should receive another email from Cisco with the VPN credentials for your sandbox, including:
Connect to the DevNet Sandbox VPN using the Cisco AnyConnect VPN Client
Once connected, you will have direct network access to the Nexus 9000 in DevNet.
The "NXOS on Nexus 9k" tab in the DevNet console will show you the details you need to connect to the device, however we have already added this information to the testbed/testbed_DevNet_Nexus9k_Sandbox.yaml
file.
You can confirm it to be sure.
You're now ready to run Merlin against the DevNet Nexus 9000!
git clone https://github.com/automateyournetwork/merlin3d.git
Browse to Mgmt0_IO.blend
Connect the VPN to DevNet if you have not already done so
Ensure Docker Desktop is running
In WSL Ubuntu docker-compose up Mgmt0_IO_Graphs
cd merlin3d~/merlin3d/docker-compose up Mgmt0_IO_Graphs
This will run Merlin in a loop 50 times by default
First ensure you are in Render View (click 1)
Next make sure you execute the Python Code (click 2)
Finally, start your Animation in Blender (click 3)
You can send PINGs to 10.10.20.254 on the CLI of the device to make the counters change
ping 10.10.20.254 vrf management packet-size {{ size packets you want to send }} count {{ number of pings }}
Browse to ip_int_brief.blend
Connect the VPN to DevNet if you have not already done so
Ensure Docker Desktop is running
In WSL Ubuntu docker-compose up Mgmt0_IO_Graphs
cd merlin3d~/merlin3d/docker-compose up IP_Interface_Brief
This will run Merlin in a loop 50 times by default
You can add, change, or remove interfaces, re-run the Docker to refresh the 3D version!
PSIRT.blend
Ensure Docker Desktop is running
In WSL Ubuntu docker-compose up PSIRT
cd merlin3d~/merlin3d/docker-compose up PSIRT
You can add, change, or remove the PSIRT JSON from the REST API, re-run the Docker to refresh the 3D version of your PSIRT IOS Version Report!
This submission provides network engineers the ability to transform pyATS data into the 3D World of Blender
Related DevNet Sandbox: Open NX-OS with Nexus 9k
https://github.com/automateyournetwork/merlin
Owner
Contributors
Categories
Data CenterNetworkingProducts
Secure EndpointNX-OSProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community