Skip to content

Commit

Permalink
added sxr platforms (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt authored Nov 8, 2024
1 parent ba20be2 commit 8146940
Show file tree
Hide file tree
Showing 5 changed files with 578 additions and 1 deletion.
4 changes: 4 additions & 0 deletions refer/all.clab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ topology:
type: ixrx3b
7250-IXR-X1b:
type: ixrx1b
7730-SXR-1d-32d:
type: sxr1d32d
7730-SXR-1x-44s:
type: sxr1x44s
2 changes: 1 addition & 1 deletion refer/extract-features.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sudo -E containerlab deploy -c -t ./refer/all.clab.yml
# remove all json files that might be there from previous extraction
rm -f ${FEATURES_DIR}/*.json

for node in "7220-IXR-D1" "7220-IXR-D2L" "7220-IXR-D3L" "7220-IXR-D4" "7220-IXR-D5" "7220-IXR-H2" "7220-IXR-H3" "7220-IXR-H4" "7250-IXR-6" "7250-IXR-6e" "7250-IXR-10" "7250-IXR-10e" "7250-IXR-X1b" "7250-IXR-X3b"
for node in "7220-IXR-D1" "7220-IXR-D2L" "7220-IXR-D3L" "7220-IXR-D4" "7220-IXR-D5" "7220-IXR-H2" "7220-IXR-H3" "7220-IXR-H4" "7250-IXR-6" "7250-IXR-6e" "7250-IXR-10" "7250-IXR-10e" "7250-IXR-X1b" "7250-IXR-X3b" "7730-SXR-1d-32d" "7730-SXR-1x-44s"
do
docker exec clab-all-${node} sr_cli 'info from state system features | as json' | jq .system.features >> ${FEATURES_DIR}/${node}.json &
done
Expand Down
Loading

0 comments on commit 8146940

Please sign in to comment.