Skip to content

Commit

Permalink
Merge pull request #176 from tiago-amado/FP5-SR-1-models
Browse files Browse the repository at this point in the history
Add FP5 SR-1 models
  • Loading branch information
hellt authored Mar 17, 2024
2 parents 78e7127 + 8dafe89 commit 58a07b3
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 2 deletions.
6 changes: 6 additions & 0 deletions sros/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ By selecting a certain variant (referred by its `name`) the VSIM will start with
| ixr-e2c | integrated | cpm-ixr-e2c | m12-sfp28+2-qsfp28 | 4 | 34 |
| ixr-r6 | integrated | cpiom-ixr-r6 | m6-10g-sfp++1-100g-qsfp28 | 6 | 10 |
| ixr-s | integrated | cpm-ixr-s | m48-sfp++6-qsfp28 | 3+4 | 54 |
| sr-1-46s | distributed | cpm-1x | m40-200g-sfpdd+6-800g-qsfpdd-1 | 4 | 48 |
| sr-1-92s | distributed | cpm-1x | m80-200g-sfpdd+12-400g-qsfpdd-1 | 4 | 48 |
| sr-1x-92s | distributed | cpm-1x | m80-200g-sfpdd+12-800g-qsfpdd-1x | 4 | 48 |
| sr-1-24d | distributed | cpm-1x | m24-800g-qsfpdd-1 | 4 | 48 |
| sr-1-48d | distributed | cpm-1x | m48-400g-qsfpdd-1 | 4 | 48 |
| sr-1x-48d | distributed | cpm-1x | m48-800g-qsfpdd-1x | 4 | 48 |

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.

Expand Down
111 changes: 109 additions & 2 deletions sros/docker/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,20 +484,127 @@ def line_card_config(
},
],
},
### SR-1 FP5 models (six variants with sfp-dd or qsfpdd only):
#SR-1 FP5 - CP Card must include CPM/IOM
"sr-1-46s": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1-46s card=cpm-1x/i40-200g-sfpdd+6-800g-qsfpdd-1", #CP Card must include CPM/IOM
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1-46s",
card="i40-200g-sfpdd+6-800g-qsfpdd-1",
mda="m40-200g-sfpdd+6-800g-qsfpdd-1",
),
}
],
},
#SR-1 FP5 - CP Card must include CPM/IOM
"sr-1-92s": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1-92s card=cpm-1x/i80-200g-sfpdd+12-400g-qsfpdd-1", #CP Card must include CPM/IOM
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1-92s",
card="i80-200g-sfpdd+12-400g-qsfpdd-1",
mda="m80-200g-sfpdd+12-400g-qsfpdd-1",
),
}
],
},
#SR-1 FP5 - CP Card must include CPM/IOM
"sr-1x-92s": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1x-92s card=cpm-1x/i80-200g-sfpdd+12-800g-qsfpdd-1x", #CP Card must include CPM/IOM
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1x-92s",
card="i80-200g-sfpdd+12-800g-qsfpdd-1x",
mda="m80-200g-sfpdd+12-800g-qsfpdd-1x",
),
}
],
},
#SR-1 FP5
"sr-1-24d": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1-24d card=cpm-1x",
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1-24d",
card="i24-800g-qsfpdd-1",
mda="m24-800g-qsfpdd-1",
),
}
],
},
#SR-1 FP5
"sr-1-48d": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1-48D card=cpm-1x/i48-400g-qsfpdd-1", #CP Card must include CPM/IOM
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1-48D",
card="i48-400g-qsfpdd-1",
mda="m48-400g-qsfpdd-1",
),
}
],
},
#SR-1 FP5
"sr-1x-48d": {
"deployment_model": "distributed",
# control plane (CPM)
"max_nics": 48,
"cp": {
"min_ram": 4,
"timos_line": "slot=A chassis=sr-1x-48D card=cpm-1x",
"timos_line": "slot=A chassis=sr-1x-48d card=cpm-1x",
},
# line card (IOM/XCM)
"lcs": [
{
"min_ram": 4,
**line_card_config(
chassis="sr-1x-48D",
chassis="sr-1x-48d",
card="i48-800g-qsfpdd-1x",
mda="m48-800g-qsfpdd-1x",
),
Expand Down

0 comments on commit 58a07b3

Please sign in to comment.