Skip to content

Commit 249a2ec

Browse files
committed
Rename 'netsim-tools' to 'netlab'
1 parent 88de3f5 commit 249a2ec

File tree

27 files changed

+48
-77
lines changed

27 files changed

+48
-77
lines changed

Diff for: Ansible/XML/README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ This directory contains test Ansible playbooks that interact with Junos and Nexu
1212
To test these examples on your own:
1313

1414
* Clone the repository.
15-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html)
16-
* Within the `Ansible/XML` directory execute `netlab create` to create *Vagrantfile*, Ansible inventory, and *ansible.cfg*
15+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html)
16+
* Within the `Ansible/XML` directory execute `netlab up` to start the lab
1717
* Have fun
18-
19-
**Note:** The *Vagrantfile* created by the **netlab create** tool will be usable on a Linux system with *vagrant-libvirt* plugin. Please feel free to [add support for VirtualBox Vagrant boxes](https://netsim-tools.readthedocs.io/en/latest/contribute.html) to *[netsim-tools](https://github.com/ipspace/netsim-tools)* and submit a pull request.

Diff for: BGP/DMZ-BW/README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ This lab setup was used to produce printouts in the _[Unequal-Cost Multipath wit
66

77
The final router configurations are in the [config](config) directory. To recreate the lab:
88

9-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
9+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
1010
* Copy [lab.yml](lab.yml) and Jinja2 templates into an empty directory (or clone this repository)
11-
* Create the configuration files with **netlab create lab.yml**
12-
* Start the lab with **vagrant up**
13-
* Configure the lab with **netlab initial**
11+
* Start the lab with **netlab up lab.yml**
1412
* Configure BGP DMZ Bandwidth on the edge devices with
1513

1614
```

Diff for: BGP/IGP-metric/README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ This directory contains topology files, Vagrantfile, Ansible inventory, and rout
66

77
You could use router configurations from the `config` directory (EIGRP + OSPF combo) or follow this recipe that works out-of-the box with *vagrant-libvirt* (some assembly required for other environments):
88

9-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html) and add the top directory to your path.
10-
* Create Ansible and Vagrant configuration files with **netlab create _filename_**
11-
* Create virtual lab with **vagrant up**
12-
* Deploy device configurations with **netlab initial**
9+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html).
10+
* Start the lab with **netlab up _topology-file_**
1311

1412
**Notes:**
1513

16-
* EIGRP is supported in *netsim-tools* in release 0.7.
17-
* **netlab** CLI was introduced in *netsim-tools* release 0.8.
1814
* To run your tests with a different virtualization provider, add **provider: virtualbox** or **provider: clab** to the topology file(s).
1915

2016
Sample topology files:

Diff for: BGP/Multipath_sros/README.md

+7-13
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,23 @@ This example is a variation on this [BGP Add Path example](../Multipath), using
55
a pair of SR OS nodes (RR and M) and a set of SR Linux devices instead.
66

77
# Prerequisites
8-
* [NetSim PR](https://github.com/ipspace/netsim-tools/pull/57) to add SROS/SRLinux support
98
* License file for the SR OS vSR VMs
109

1110
# Instructions
1211
```
13-
netsim up
12+
netlab up
1413
```
1514

1615
# Deep dive
17-
This example uses the Initial, [OSPF](https://netsim-tools.readthedocs.io/en/latest/module/ospf.html)
18-
and [BGP](https://netsim-tools.readthedocs.io/en/latest/module/bgp.html) modules to
19-
provision a topology consisting of 7 nodes, 6 of which represent a network peering with an external network (Y).
16+
This example uses the Initial, [OSPF](https://netsim-tools.readthedocs.io/en/latest/module/ospf.html) and [BGP](https://netsim-tools.readthedocs.io/en/latest/module/bgp.html) modules to provision a topology consisting of 7 nodes, 6 of which represent a network peering with an external network (Y).
2017

21-
The 6 internal nodes use a BGP Route Reflector (RR) for iBGP peering, and the use case
22-
revolves around providing optimal paths for each node in this asymmetric case. Specifically,
23-
node M could use multiple ECMP paths to reach external node Y - using BGP Add Path.
18+
The 6 internal nodes use a BGP Route Reflector (RR) for iBGP peering, and the use case revolves around providing optimal paths for each node in this asymmetric case. Specifically, node M could use multiple ECMP paths to reach external node Y - using BGP Add Path.
2419

25-
In terms of capabilities, Nokia SR OS supports BGP Add Path ([RFC7911](https://datatracker.ietf.org/doc/html/rfc7911))
26-
but SR Linux does not. That is why nodes RR and M are implemented using SR OS, while the rest can use SRLinux.
20+
In terms of capabilities, Nokia SR OS supports BGP Add Path ([RFC7911](https://datatracker.ietf.org/doc/html/rfc7911)) but SR Linux does not. That is why nodes RR and M are implemented using SR OS, while the rest can use SRLinux.
2721

2822
## Base state without BGP Add Path
29-
After commenting out the 'bgp-addpath.js' custom config template, the initial state is as follows:
23+
24+
After commenting out the 'bgp-addpath.j2' custom config template, the initial state is as follows:
3025

3126
Every node is fully connected to OSPF neighbors:
3227
```
@@ -47,8 +42,7 @@ No. of Neighbors: 2
4742
===============================================================================
4843
```
4944

50-
The Route Reflector (RR) receives the external prefix 10.42.42.0/24 from both C and D,
51-
picking D because of the lower IGP cost from its perspective, 1 (via D) versus 17 via D(10.0.0.5) and then C(10.0.0.4):
45+
The Route Reflector (RR) receives the external prefix 10.42.42.0/24 from both C and D, picking D because of the lower IGP cost from its perspective, 1 (via D) versus 17 via D(10.0.0.5) and then C(10.0.0.4):
5246
```
5347
A:admin@rr# show router bgp neighbor "10.0.0.4" received-routes | match 10.42.42.0 post-lines 2
5448
*? 10.42.42.0/24 100 None

Diff for: BGP/RR-cluster-id/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can use this lab to investigate the impact of BGP RR Cluster ID on BGP updat
66

77
To set up this lab:
88

9-
* [Install netsim-tools](https://netsim-tools.readthedocs.io/en/latest/install.html) and a [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
9+
* [Install netlab](https://netsim-tools.readthedocs.io/en/latest/install.html) and a [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
1010
* Copy topology.yml into an empty directory
1111
* Execute **netlab up**
1212

Diff for: BGP/RR-next-hop-self/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This lab tests the behavior of BGP route reflectors configured with **next-hop-s
66

77
If the BGP route reflector changes the next hop of a reflected route, the route originated by E2 will have RR as the next hop when observed on E1.
88

9-
The lab topology uses Arista EOS devices with *libvirt* provider. Use *[netsim-tools](https://netsim-tools.readthedocs.io/en/latest/)* release 1.1 or later to create the lab.
9+
The lab topology uses Arista EOS devices with *libvirt* provider. Use *[netlab](https://netsim-tools.readthedocs.io/en/latest/)* release 1.1 or later to create the lab.
1010

1111
To start the lab with a different default device (for example, Cisco IOSv), use `-d` argument of **netlab up** command:
1212

Diff for: BGP/RR-sessions/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This lab illustrates the need for IBGP sessions between BGP route reflectors. Th
66

77
To set up this lab:
88

9-
* [Install netsim-tools](https://netsim-tools.readthedocs.io/en/latest/install.html) on a Ubuntu machine with **pip3 install --upgrade netsim-tools**
9+
* [Install netlab](https://netsim-tools.readthedocs.io/en/latest/install.html) on a Ubuntu machine with **pip3 install --upgrade networklab**
1010
* Install Docker and Containerlab on the same machine with **netlab install containerlab**
1111
* Copy topology.yml into an empty directory
12-
* Execute **netlab up**
12+
* Execute **netlab up**

Diff for: ISIS/unnumbered/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This 3-router topology tests IS-IS running over unnumbered IPv4 and IPv6 interfa
66

77
To repeat the experiment:
88

9-
* [Install netsim-tools](https://netsim-tools.readthedocs.io/en/latest/install.html), the [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment), and Vagrant boxes
9+
* [Install netlab](https://netsim-tools.readthedocs.io/en/latest/install.html), the [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment), and Vagrant boxes
1010
* Copy **topology.yml** file from this repository into an empty directory
1111
* Start the lab with **netlab up**
1212
* Enjoy the ride

Diff for: MPLS/ldp-bgp-lu/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The central autonomous system has a route reflector and a P-router that is not r
1010

1111
We're using LDP with OSPF to establish end-to-end MPLS paths across the central autonomous system.
1212

13-
The lab topology uses Arista EOS devices with *libvirt* provider. Use *[netsim-tools](https://netsim-tools.readthedocs.io/en/latest/)* release 1.2 or later to create the lab.
13+
The lab topology uses Arista EOS devices with *libvirt* provider. Use *[netlab](https://netsim-tools.readthedocs.io/en/latest/)* release 1.2 or later to create the lab.
1414

1515
To start the lab with a different default device (for example, Cisco IOSv), use `-d` argument of **netlab up** command:
1616

Diff for: MPLS/vpn-simple/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# MPLS/VPN Network with Simple VRFs
22

3-
This directory contains *netsim-tools* topology file describing a simple MPLS/VPN network with two PE-routers and two VRFs.
3+
This directory contains *netlab* topology file describing a simple MPLS/VPN network with two PE-routers and two VRFs.
44

55
![Lab topology](mpls-vpn-simple.png)
66

7-
To test the topology, install *netsim-tools* and Arista EOS boxes or containers, and execute **netlab up**
7+
To test the topology, install *netlab* and Arista EOS boxes or containers, and execute **netlab up**
88

99
## Changing Device Types and Virtualization Providers
1010

11-
The test cases can be used with all network devices supporting VRF and MPLS configuration modules and all virtualization providers supported by *netsim-tools*:
11+
The test cases can be used with all network devices supporting VRF and MPLS configuration modules and all virtualization providers supported by *netlab*:
1212

1313
* To change the router device type, use `-d` CLI argument
1414
* To change the virtualization provider, use `-p` CLI argument.

Diff for: OSPF/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This 3-router topology tests OSPF running over unnumbered point-to-point and mul
66

77
To repeat the experiment:
88

9-
* [Install netsim-tools](https://netsim-tools.readthedocs.io/en/latest/install.html), the [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment), and Vagrant boxes
9+
* [Install netlab](https://netsim-tools.readthedocs.io/en/latest/install.html), the [virtualization environment of your choice](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment), and Vagrant boxes
1010
* Copy **topology.yml** file from this repository into an empty directory
1111
* Start the lab with **netlab up**
1212
* Enjoy the ride

Diff for: VLAN/vlan-access-stretch/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Single VLAN Stretched Across Two Switches
22

3-
This directory contains *netsim-tools* topology file for a simple VLAN scenario with a single VLAN stretched across two switches.
3+
This directory contains *netlab* topology file for a simple VLAN scenario with a single VLAN stretched across two switches.
44

55
![Single VLAN topology](vlan-simple.png)
66

77
After starting the lab, h1 and h2 should be able to ping each other and the VLAN interfaces of s1 and s2, but they should not be able to ping s1 *and* s2 loopback interfaces as the lab is not using dynamic routing.
88

99
## Changing Device Types
1010

11-
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netsim-tools*:
11+
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netlab*:
1212

1313
* To change the switch device type, use `-s groups.switches.device=xxx` CLI argument
1414
* To change the virtualization provider, use `-p` CLI argument.

Diff for: VLAN/vlan-trunk-vrf/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Combining VLANs with VRFs
22

3-
This directory contains *netsim-tools* topology file for a VLAN trunk combined with VRFs: *red* VLAN is in *red* VRF, *blue* VLAN is in *blue* VRF
3+
This directory contains *netlab* topology file for a VLAN trunk combined with VRFs: *red* VLAN is in *red* VRF, *blue* VLAN is in *blue* VRF
44

55
![VLAN+VRF topology](vlan-vrf.png)
66

77
After starting the lab, h1 should be able to ping h2, but not h3 or h4 (they are in different VRF).
88

99
## Changing Device Types
1010

11-
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netsim-tools*:
11+
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netlab*:
1212

1313
* To change the switch device type, use `-s groups.switches.device=xxx` CLI argument
1414
* To change the virtualization provider, use `-p` CLI argument.

Diff for: VLAN/vlan-trunk/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# VLAN Trunk
22

3-
This directory contains *netsim-tools* topology file for a simple VLAN trunk scenario with a two VLANs stretched across two switches.
3+
This directory contains *netlab* topology file for a simple VLAN trunk scenario with a two VLANs stretched across two switches.
44

55
![VLAN trunk topology](vlan-trunk.png)
66

77
After starting the lab, all hosts should be able to ping each other and the VLAN interfaces of s1 and s2, but they should not be able to ping s1 *and* s2 loopback interfaces as the lab is not using dynamic routing.
88

99
## Changing Device Types
1010

11-
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netsim-tools*:
11+
This topology can be used with all network devices supporting VLAN configuration module and all virtualization providers supported by *netlab*:
1212

1313
* To change the switch device type, use `-s groups.switches.device=xxx` CLI argument
1414
* To change the virtualization provider, use `-p` CLI argument.

Diff for: VRF/vrf-lite-hosts/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# VRF Lite with Hosts Test Cases
22

3-
This directory contains *netsim-tools* topology files describing several simple VRF Lite test cases containing a set of hosts attached to a single router.
3+
This directory contains *netlab* topology files describing several simple VRF Lite test cases containing a set of hosts attached to a single router.
44

5-
The test cases can be used with all network devices supporting VRF configuration module and all virtualization providers supported by *netsim-tools*:
5+
The test cases can be used with all network devices supporting VRF configuration module and all virtualization providers supported by *netlab*:
66

77
* To change the router device type, use `-s nodes.rtr.device=xxx` CLI argument
88
* To change the virtualization provider, use `-p` CLI argument.

Diff for: VRF/vrf-lite-routers/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# VRF Lite with CE Routers Test Cases
22

3-
This directory contains *netsim-tools* topology files describing several simple VRF Lite test cases containing a set of CE routers attached to a pair of PE routers running VRF Lite.
3+
This directory contains *netlab* topology files describing several simple VRF Lite test cases containing a set of CE routers attached to a pair of PE routers running VRF Lite.
44

5-
The test cases can be used with all network devices supporting VRF configuration module and all virtualization providers supported by *netsim-tools*:
5+
The test cases can be used with all network devices supporting VRF configuration module and all virtualization providers supported by *netlab*:
66

77
* To change the router device type for **pe1**, use `-s nodes.pe1.device=xxx` CLI argument
88
* To change the router device type for **pe2**, use `-s nodes.pe2.device=xxx` CLI argument

Diff for: multi-platform/bgp-anycast/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Multi-Platform BGP Anycast Lab
22

3-
This lab illustrates the *netsim-tools* multi-platform custom configuration templates.
3+
This lab illustrates the *netlab* multi-platform custom configuration templates.
44

55
![Lab topology](multi-platform-bgp-anycast.png)
66

Diff for: routing/anycast-mpls-ospf/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This lab was used to [debunk the _anycast doesn't work with MPLS/LDP_ claim](htt
66

77
To start the lab:
88

9-
* [Install the prerequisite software](https://netsim-tools.readthedocs.io/en/latest/install.html#creating-the-lab-environment) (netsim-tools, Ansible, Docker, containerlab) on a Ubuntu server.
9+
* [Install the prerequisite software](https://netsim-tools.readthedocs.io/en/latest/install.html#creating-the-lab-environment) (netlab, Ansible, Docker, containerlab) on a Ubuntu server.
1010
* Download and install Arista cEOS image
1111
* Execute **netlab up**
1212

Diff for: routing/failover/README.md

+3-6
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@ Challenge: what exactly happens when one of the primary links fails?
99
## Try it out
1010

1111
* Clone the repository.
12-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/contribute.html)
12+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/contribute.html)
1313
* Get Cisco IOS boxes for your Vagrant environment. For more extensive modifications [read this first](https://netsim-tools.readthedocs.io/en/latest/).
14-
* It should be trivial to replace IOS devices with other network devices -- *netsim-tools* supports OSPF on all supported platforms.
15-
* Execute **netlab create** to create Vagrantfile, Ansible inventory, and Ansible configuration file.
16-
* Start the topology with **vagrant up**
17-
* Deploy initial IP configuration with **netlab initial**
18-
* Deploy OSPF configuration with **netlab config routing-ospf**
14+
* It should be trivial to replace IOS devices with other network devices -- *netlab* supports OSPF on all supported platforms.
15+
* Start the lab with **netlab up**
1916
* Enjoy!

Diff for: routing/failover/topology.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defaults:
55
nodes:
66
- name: pe1
77
as: 65000
8-
device: csr
8+
device: eos
99
- p1
1010
- p2
1111
- name: pe2

Diff for: routing/lan-unnumbered/README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ The final router configurations used to produce the printouts in the blog posts
1010

1111
To recreate the lab:
1212

13-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
13+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
1414
* Clone this repository (or download the contents of this directory)
15-
* Create the configuration files with **netlab create _filename_**. Use *topology.yml* for static routes lab, and _dhcp.yml_ for the DHCP lab.
16-
* Start the lab with **vagrant up**
17-
* Configure the lab with **netlab initial**
15+
* Start the lab with **netlab up _filename_**. Use *topology.yml* for static routes lab, and _dhcp.yml_ for the DHCP lab.
1816

1917
## Configuring DHCP Lab
2018

@@ -31,5 +29,3 @@ netlab config dhcp-server.j2 -l rtr
3129
```
3230

3331
There are no corresponding configuration templates for the *unnumbered interfaces with static routes* lab; use the final router configurations as a guidance.
34-
35-

Diff for: routing/rsvp-mpls-vsrx/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ This lab creates a network topology with:
1414

1515
## To recreate the lab
1616

17-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
17+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
1818
* Clone this repository (or download the contents of this directory)
1919
* Create the configuration files and start the simulation with `netlab up vsrx_rsvp.yml`

Diff for: routing/sr-isis-te-vsrx/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This lab creates a network topology with:
1414

1515
## To recreate the lab
1616

17-
* [Install *netsim-tools*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
17+
* [Install *netlab*](https://netsim-tools.readthedocs.io/en/latest/install.html) and [create your lab environment](https://netsim-tools.readthedocs.io/en/latest/install.html#building-the-lab-environment)
1818
* Clone this repository (or download the contents of this directory)
1919
* Create the configuration files and start the simulation with `netlab up vsrx_sr.yml`
2020

0 commit comments

Comments
 (0)