Skip to content

Commit 7ddfa48

Browse files
helltjbemmel
andcommitted
added 1e-sec and a4 variants
Co-authored-by: jbemmel <[email protected]>
1 parent 0291ae9 commit 7ddfa48

File tree

2 files changed

+51
-15
lines changed

2 files changed

+51
-15
lines changed

sros/README.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,23 @@ To give vrnetlab users the flexibility of choice, this fork provides a number of
2323

2424
By selecting a certain variant (referred by its `name`) the VSIM will start with a certain configuration as per the following table:
2525

26-
| Name | mode | Control plane | Line card | RAM (GB) | Max NICs |
27-
| :----------: | :---------: | :--------------------: | :-----------------------------: | :------: | :------: |
28-
| sr-1 | integrated | cpm-1 | me12-100gb-qsfp28 | 5 | 12 |
29-
| sr-1e | distributed | cpm-e | me40-1gb-csfp | 4+4 | 40 |
30-
| sr-1s | integrated | xcm-1s | s36-100gb-qsfp28 | 6 | 36 |
31-
| sr-1s-macsec | integrated | xcm-1s | ms16-100gb-sfpdd+4-100gb-qsfp28 | 6 | 20 |
32-
| sr-2s | distributed | cpm-2s | ms8-100gb-sfpdd+2-100gb-qsfp28 | 3+4 | 10 |
33-
| sr-7s | distributed | sfm2-s+xcm2-7s | x2-s36-800g-qsfpdd-18.0t | 4+6 | 36 |
34-
| sr-7s-fp4 | distributed | sfm-s+xcm-7s | s36-100gb-qsfp28 | 4+6 | 36 |
35-
| sr-14s | distributed | sfm-s+xcm-14s | s36-100gb-qsfp28 | 4+6 | 36 |
36-
| ixr-e-small | distributed | imm14-10g-sfp++4-1g-tx | m14-10g-sfp++4-1g-tx | 3+4 | 18 |
37-
| ixr-e-big | distributed | cpm-ixr-e | m24-sfp++8-sfp28+2-qsfp28 | 3+4 | 34 |
38-
| ixr-ec | integrated | cpm-ixr-e | m4-1g-tx+20-1g-sfp+6-10g-sfp+ | 4 | 34 |
39-
| ixr-r6 | integrated | cpiom-ixr-r6 | m6-10g-sfp++1-100g-qsfp28 | 6 | 10 |
40-
| ixr-s | integrated | cpm-ixr-s | m48-sfp++6-qsfp28 | 3+4 | 54 |
26+
| Name | mode | Control plane | Line card | RAM (GB) | Max NICs |
27+
| :----------: | :---------: | :--------------------: | :------------------------------: | :------: | :------: |
28+
| sr-1 | integrated | cpm-1 | me12-100gb-qsfp28 | 5 | 12 |
29+
| sr-1e | distributed | cpm-e | me40-1gb-csfp | 4+4 | 40 |
30+
| sr-1e-sec | distributed | cpm-e | me12-10/1gb-sfp+ and isa2-tunnel | 4+4 | 12 |
31+
| sr-1s | integrated | xcm-1s | s36-100gb-qsfp28 | 6 | 36 |
32+
| sr-1s-macsec | integrated | xcm-1s | ms16-100gb-sfpdd+4-100gb-qsfp28 | 6 | 20 |
33+
| sr-2s | distributed | cpm-2s | ms8-100gb-sfpdd+2-100gb-qsfp28 | 3+4 | 10 |
34+
| sr-7s | distributed | sfm2-s+xcm2-7s | x2-s36-800g-qsfpdd-18.0t | 4+6 | 36 |
35+
| sr-7s-fp4 | distributed | sfm-s+xcm-7s | s36-100gb-qsfp28 | 4+6 | 36 |
36+
| sr-14s | distributed | sfm-s+xcm-14s | s36-100gb-qsfp28 | 4+6 | 36 |
37+
| sr-a4 | distributed | cpm-a | maxp10-10/1gb-msec-sfp+ | 4+4 | 10 |
38+
| ixr-e-small | distributed | imm14-10g-sfp++4-1g-tx | m14-10g-sfp++4-1g-tx | 3+4 | 18 |
39+
| ixr-e-big | distributed | cpm-ixr-e | m24-sfp++8-sfp28+2-qsfp28 | 3+4 | 34 |
40+
| ixr-ec | integrated | cpm-ixr-e | m4-1g-tx+20-1g-sfp+6-10g-sfp+ | 4 | 34 |
41+
| ixr-r6 | integrated | cpiom-ixr-r6 | m6-10g-sfp++1-100g-qsfp28 | 6 | 10 |
42+
| ixr-s | integrated | cpm-ixr-s | m48-sfp++6-qsfp28 | 3+4 | 54 |
4143

4244
The variants are [defined in the code](https://github.com/hellt/vrnetlab/blob/bf70a9a9f2f060a68797a7ec29ce6aea96acb779/sros/docker/launch.py#L58) as a dictionary. If a variant you need is not in the table, use the `custom` variant and define the emulated platform yourself as described below.
4345

sros/docker/launch.py

+34
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,40 @@ def line_card_config(
323323
}
324324
],
325325
},
326+
"sr-1e-sec": {
327+
"deployment_model": "distributed",
328+
# control plane (CPM)
329+
"max_nics": 12,
330+
"cp": {
331+
"min_ram": 4,
332+
"timos_line": "slot=A chassis=sr-1e card=cpm-e",
333+
},
334+
# line card (IOM/XCM)
335+
"lc": {
336+
"min_ram": 4,
337+
"timos_line": "chassis=sr-1e slot=1 card=iom-e mda/1=me12-10/1gb-sfp+ mda/2=isa2-tunnel",
338+
"card_config": """/configure card 1 card-type iom-e
339+
/configure card 1 mda 1 mda-type me12-10/1gb-sfp+
340+
/configure card 1 mda 2 mda-type isa2-tunnel
341+
""",
342+
},
343+
},
344+
"sr-a4": {
345+
"deployment_model": "distributed",
346+
# control plane (CPM)
347+
"max_nics": 10,
348+
"cp": {
349+
"min_ram": 4,
350+
"timos_line": "slot=A chassis=sr-a4 card=cpm-a",
351+
},
352+
# line card (IOM/XCM)
353+
"lc": {
354+
"min_ram": 4,
355+
**line_card_config(
356+
chassis="sr-a4", card="iom-a", mda="maxp10-10/1gb-msec-sfp+"
357+
),
358+
},
359+
},
326360
"sr-1x-48d": {
327361
"deployment_model": "distributed",
328362
# control plane (CPM)

0 commit comments

Comments
 (0)