Source link : https://tech365.info/discover-community-programmability-with-the-devnet-xrd-sandbox/
XRd is a containerized model of IOS-XR the place you’ll be able to experiment with platform–impartial options and deploy them to any on-premises or cloud infrastructure. offering all the advantages of utilizing containers in community operations.
XRd comes with all of the programmability points from IOS-XR, together with Telemetry and YANG fashions, which makes it superb for builders and community engineers.
The XRd sandbox supplies a superb alternative to get began with XRd and discover community programmability.
XRd is available in two variants: XRd Management Airplane and XRd vRouter. XRd Management Airplane is right for compute use circumstances like Digital Route Reflectors (vRR) or Path Compute Ingredient (PCE). vRouter is designed to ahead site visitors effectively and may deal with management airplane computations.
The XRd Sandbox makes use of the XRd Management Airplane, which is right for exploration and experimentation functions.
XRd requires particular kernel settings on the host to work correctly. The sandbox is already configured with these settings.
There are a number of methods to deploy XRd, together with utilizing Terraform, Helm or Packer. Nonetheless, we used docker compose for the sandbox as a result of it’s easy and straightforward to handle.
Topology
For this sandbox, we primarily based on the pattern segment-routing topology from the xrd-tools GitHub repository. We used a customized compose format referred to as XR-YAML, and your complete setup can be deployed in a single digital machine (VM) utilizing Docker Compose.
Modifications
A number of adjustments had been wanted to make the topology work. First, we updared the IP addressing for the administration community to match the obtainable assets within the sandbox.
Second, we used the macvlan Docker driver so every XRd container had its personal IP deal with as an alternative of sharing the IP deal with with the host VM.
See the XRd Sandbox GitHub repository for particulars and to discover the config information used to create the sandbox.
Deploy
The lab supplies all the pieces you want; you’ll solely must create the compose file that can be utilized by Docker Compose. This file is created utilizing the xr-compose script from xrd-tools.
Subsequent, replace the compose file (created by xr-compose) to level to the precise container interface that can be created by the macvlan driver.
The sandbox directions embody the entire record of mandatory instructions.
To begin experimenting, search for the XRd sandbox on the Cisco sandbox web page.
Launch a reservation and observe the directions. Use the instructions to create and begin the topology.
The XRd sandbox is ideal to get aware of XRd, find out how to work with it, and to play with native community protocols (e.g., ISIS, OSPF, BGP, MPLS, SR) or to discover programmable use circumstances with YANG, NETCONF and GNMI.
When creating the sandbox, we ran right into a problem. We out of the blue misplaced the SSH connection to the VM when docker compose was creating the topology.
It turned out that the hyperlinks between XRd containers had been created utilizing docker bridge, which picked an IP phase utilized by the sandbox infrastructure, successfully blackholing the site visitors. To repair it, we needed to configure a default deal with pool to make use of an unused IP phase.
After making use of this configuration, the problem was resolved.
Listed below are some assets that will help you get began with XRd:
Further labs can be found on the listing “~/xrd-tools/samples/xr_compose_topos” within the Sandbox.
Wish to get extra content material about XRd? Attain out to me on LinkedIn. I’m glad to listen to your concepts.
Share:
—-
Author : tech365
Publish date : 2025-01-10 19:02:10
Copyright for syndicated content belongs to the linked Source.