Skip to content

Commit

Permalink
vmx vrf note
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Dec 23, 2022
1 parent f961b64 commit a3821d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/manual/kinds/vr-vmx.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Juniper vMX node launched with containerlab can be managed via the following int
Default user credentials: `admin:admin@123`

## Interfaces mapping

vr-vmx container can have up to 90 interfaces and uses the following mapping rules:

* `eth0` - management interface connected to the containerlab management network
Expand All @@ -53,12 +54,16 @@ When containerlab launches vr-vmx node, it will assign IPv4/6 address to the `et

Data interfaces `eth1+` need to be configured with IP addressing manually using CLI/management protocols.


## Features and options

### Node configuration

vr-vmx nodes come up with a basic configuration where only the control plane and line cards are provisioned, as well as the `admin` users and management interfaces such as NETCONF, SNMP, gNMI.

Starting with [hellt/vrnetlab](https://github.com/hellt/vrnetlab) v0.8.2 VMX will make use of the management VRF[^1].

#### Startup configuration

It is possible to make vMX nodes boot up with a user-defined startup-config instead of a built-in one. With a [`startup-config`](../nodes.md#startup-config) property of the node/kind user sets the path to the config file that will be mounted to a container and used as a startup-config:

```yaml
Expand All @@ -74,12 +79,15 @@ With this knob containerlab is instructed to take a file `myconfig.txt` from the
Configuration is applied after the node is started, thus it can contain partial configuration snippets that you desire to add on top of the default config that a node boots up with.

## Lab examples

The following labs feature vr-vmx node:

- [SR Linux and Juniper vMX](../../lab-examples/vr-vmx.md)
* [SR Linux and Juniper vMX](../../lab-examples/vr-vmx.md)

## Known issues and limitations

* when listing docker containers, vr-vmx containers will always report unhealthy status. Do not rely on this status.
* vMX requires Linux kernel 4.17+
* To check the boot log, use `docker logs -f <node-name>`.
* To check the boot log, use `docker logs -f <node-name>`.

[^1]: https://github.com/hellt/vrnetlab/pull/98
1 change: 1 addition & 0 deletions docs/manual/vrnetlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The following table provides a link between the version combinations:
| | [`0.6.2`](https://github.com/hellt/vrnetlab/tree/v0.6.2) | support for IPv6 management for SR OS; support for RouterOS v7+ |
| | [`0.7.0`](https://github.com/hellt/vrnetlab/tree/v0.7.0) | startup-config support for vqfx and vmx |
| `0.32.2` | [`0.8.0`](https://github.com/hellt/vrnetlab/releases/tag/v0.8.0) | startup-config support for the rest of the kinds, support for multi line card SR OS |
| `0.34.0` | [`0.8.2`](https://github.com/hellt/vrnetlab/releases/tag/v0.8.2) | startup-config support for PANOS, ISA support for Nokia VSR-I and MGMT VRF for VMX |

### Building vrnetlab images

Expand Down

0 comments on commit a3821d9

Please sign in to comment.