diff --git a/containerlab/frinx_topo_1/README.md b/containerlab/frinx_topo_1/README.md index 5c4d7c1..7d997f2 100644 --- a/containerlab/frinx_topo_1/README.md +++ b/containerlab/frinx_topo_1/README.md @@ -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 @@ -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 @@ -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: diff --git a/containerlab/frinx_topo_1/config_r1_olt.partial.txt b/containerlab/frinx_topo_1/config_r1_olt.partial.txt index c07f15e..321105f 100644 --- a/containerlab/frinx_topo_1/config_r1_olt.partial.txt +++ b/containerlab/frinx_topo_1/config_r1_olt.partial.txt @@ -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"] + } + + } + } + } + } + } +} diff --git a/containerlab/frinx_topo_1/config_r2_cmts.partial.txt b/containerlab/frinx_topo_1/config_r2_cmts.partial.txt index a8e17d0..6b41350 100644 --- a/containerlab/frinx_topo_1/config_r2_cmts.partial.txt +++ b/containerlab/frinx_topo_1/config_r2_cmts.partial.txt @@ -1,21 +1,256 @@ -hostname R2-CMTS -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 Euronics Senec [17.39742, 48.22102] +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 "R2_CPE1" + } + customer "2" { + description "R2_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 "Euronics Senec" + coordinates "[17.39742, 48.22102]" + + 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"] + } + + } + } + } + } + } +} diff --git a/containerlab/frinx_topo_1/frinx_topo_1.clab.yml b/containerlab/frinx_topo_1/frinx_topo_1.clab.yml index 9ca0f43..4aa7711 100644 --- a/containerlab/frinx_topo_1/frinx_topo_1.clab.yml +++ b/containerlab/frinx_topo_1/frinx_topo_1.clab.yml @@ -80,21 +80,13 @@ topology: # switch for Region 1 R1_OLT: - kind: aruba_aoscx - image: vrnetlab/vr-aoscx:10.12 mgmt-ipv4: 172.20.20.206 startup-config: config_r1_olt.partial.txt - env: - RAM: 4096 # switch for Region 2 R2_CMTS: - kind: aruba_aoscx - image: vrnetlab/vr-aoscx:10.12 mgmt-ipv4: 172.20.20.207 startup-config: config_r2_cmts.partial.txt - env: - RAM: 4096 links: # Data center 1