Skip to content

Commit

Permalink
Replace CMTS & OLT switches by Nokia device type (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaro0149 authored Aug 19, 2024
1 parent 5c61789 commit 57eb4d0
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 63 deletions.
16 changes: 3 additions & 13 deletions containerlab/frinx_topo_1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It consists of MPLS core network, two regions with PE routers and connected CPE
Device types:
- Core, PE, and PTP GM routers: `vrnetlab/vr-sros:22.10.R7`
- CPE routers: `vrnetlab/vr-xrv:6.0.1`
- OLT and CMTS switches: `vrnetlab/vr-aoscx:10.12`
- OLT and CMTS switches: `vrnetlab/vr-sros:22.10.R7`

Configured protocols:
- LDP
Expand Down Expand Up @@ -44,8 +44,8 @@ for each configurable device in the topology:
| R2_CPE2 | 172.20.20.205 | 22 | 830 | |
| PTP_GM | 172.20.20.9 | 22 | 830 | 57400 |
| PTP_GM_BACKUP | 172.20.20.8 | 22 | 830 | 57400 |
| R1_OLT | 172.20.20.206 | 22 | | |
| R2_CMTS | 172.20.20.207 | 22 | | |
| R1_OLT | 172.20.20.206 | 22 | 830 | 57400 |
| R2_CMTS | 172.20.20.207 | 22 | 830 | 57400 |

## Building required docker images

Expand Down Expand Up @@ -86,16 +86,6 @@ Requirements:
2. Build the docker image using `make docker-image` command.
Built docker image should have 'vrnetlab/vr-xrv:6.0.1' tag.

### vrnetlab/vr-aoscx:10.12

Requirements:

- arubaoscx-disk-image-genericx86-p4-10.12.vmdk image: Download the image from the Aruba support website.

1. Copy 'arubaoscx-disk-image-genericx86-p4-10.12.vmdk' file to the 'aoscx' directory in the vrnetlab repository.
2. Build the docker image using `make docker-image` command.
Built docker image should have 'vrnetlab/vr-aoscx:10.12' tag.

## Startup process

To start the topology, run the following command:
Expand Down
277 changes: 256 additions & 21 deletions containerlab/frinx_topo_1/config_r1_olt.partial.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,256 @@
hostname R1-OLT
vlan 10
name Customer1
description Customer1 branch business network
vlan 20
name Customer2
description Customer2 branch business network
interface 1/1/1
no shutdown
no routing
vlan trunk native 1
vlan trunk allowed 10,20
interface 1/1/2
no shutdown
no routing
vlan access 10
interface 1/1/3
no shutdown
no routing
vlan access 20
snmp-server system-location Intersport hotel Stupava [17.046897, 48.279066]
configure {
card 1 {
mda 1 {
sync-e true
}
}
port 1/1/c1 {
admin-state enable
connector {
breakout c4-10g
}
}

port 1/1/c2 {
admin-state enable
connector {
breakout c4-10g
}
}

port 1/1/c3 {
admin-state enable
connector {
breakout c4-10g
}
}

port 1/1/c4 {
admin-state enable
connector {
breakout c4-10g
}
}

port 1/1/c5 {
admin-state enable
connector {
breakout c4-10g
}
}

port 1/1/c1/1 {
admin-state enable
ethernet {
mode access
encap-type dot1q
lldp {
dest-mac nearest-bridge {
receive true
transmit true
tx-tlvs {
port-desc true
sys-name true
sys-desc true
sys-cap true
}
}
}
}
}

port 1/1/c2/1 {
admin-state enable
ethernet {
mode access
lldp {
dest-mac nearest-bridge {
receive true
transmit true
tx-tlvs {
port-desc true
sys-name true
sys-desc true
sys-cap true
}
}
}
}
}

port 1/1/c3/1 {
admin-state enable
ethernet {
mode access
lldp {
dest-mac nearest-bridge {
receive true
transmit true
tx-tlvs {
port-desc true
sys-name true
sys-desc true
sys-cap true
}
}
}
}
}
port 1/1/c4/1 {
admin-state enable
ethernet {
lldp {
dest-mac nearest-bridge {
receive true
transmit true
tx-tlvs {
port-desc true
sys-name true
sys-desc true
sys-cap true
}
}
}
}
}

port 1/1/c5/1 {
admin-state enable
ethernet {
lldp {
dest-mac nearest-bridge {
receive true
transmit true
tx-tlvs {
port-desc true
sys-name true
sys-desc true
sys-cap true
}
}
}
}
}
service {
customer "1" {
description "R1_CPE1"
}
customer "2" {
description "R1_CPE2"
}
vpls "Customer1" {
admin-state enable
description "Customer1 branch business network"
service-id 1
customer "1"
stp {
admin-state disable
}
sap 1/1/c1/1:10 {
admin-state enable
}
sap 1/1/c2/1 {
admin-state enable
}
}
vpls "Customer2" {
admin-state enable
description "Customer2 branch business network"
service-id 2
customer "2"
stp {
admin-state disable
}
sap 1/1/c1/1:20 {
admin-state enable
}
sap 1/1/c3/1 {
admin-state enable
}
}
}
system {
location "Intersport hotel Stupava"
coordinates "[17.046897, 48.279066]"

ptp {
admin-state enable
clock-type boundary
profile ieee1588-2008
port 1/1/c1/1 {
admin-state enable
}
port 1/1/c2/1 {
admin-state enable
}
port 1/1/c3/1 {
admin-state enable
}
port 1/1/c4/1 {
admin-state enable
}
port 1/1/c5/1 {
admin-state enable
}
}

central-frequency-clock {
ref1 {
admin-state enable
source-port 1/1/c1/1
}
}

lldp {
admin-state enable
}
grpc {
admin-state enable
allow-unsecure-connection
gnmi {
admin-state enable
auto-config-save true
}
rib-api {
admin-state enable
}
}
security {
aaa {
local-profiles {
profile "grpc" {
default-action permit-all
grpc {
rpc-authorization {
gnmi-capabilities permit
gnmi-get permit
gnmi-set permit
gnmi-subscribe permit
rib-api-getversion permit
rib-api-modify permit
}
}
}
}
}

user-params {
local-user {
user "admin" {
access {
console true
ftp true
snmp true
netconf true
grpc true
}
console {
member ["administrative" "grpc"]
}

}
}
}
}
}
}
Loading

0 comments on commit 57eb4d0

Please sign in to comment.