-
Couldn't load subscription status.
- Fork 365
Sort components and add base node hostfile/ssh entry for SR-SIM #2834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
3debcf8
feat: add SR-OS component config generation to SR-SIM
kaelemc db7e1b9
feat: add power config generation for SR-SIM
kaelemc 4ffad0d
make default srsim configurated root context based
kaelemc 2ab700a
srsim: Add SR-1se to power config
kaelemc 326795c
tests: add initial sr-14s config gen test
kaelemc eeba89f
tests: add 08 srsim tests to gh workflow def
kaelemc e62085e
tests: remove fatfingered 's'
kaelemc 7520029
tests: fix license path
kaelemc c6bf79f
test: use correct robot syntax...
kaelemc 456d018
tests: sr-14s power modules 2->20
kaelemc 2dd6481
tests: add SR-2s w/ MDA state verification
kaelemc 3b2b87a
tests: change to 30s wait to ensure MDAs come up
kaelemc 64041ec
remove redundant distributed node check
kaelemc 413cbf9
docs: update srsim docs for component config generation
kaelemc 5080174
remove redundant conditional check
kaelemc 4dfa9c0
tests: bump 08 srsim sleep to 45s
kaelemc ffc0e7e
tests: 08 srsim, use wait until instead of sleep
kaelemc 977225d
don't return err for generateComponentConfig()
kaelemc 28f2e1a
feat: add SR-OS component config generation to SR-SIM
kaelemc 220f7d4
feat: add power config generation for SR-SIM
kaelemc 10d4753
make default srsim configurated root context based
kaelemc b3ded6d
srsim: Add SR-1se to power config
kaelemc 4967505
tests: add initial sr-14s config gen test
kaelemc b75218a
tests: add 08 srsim tests to gh workflow def
kaelemc 0e66ec5
tests: remove fatfingered 's'
kaelemc 7ee5115
tests: fix license path
kaelemc 1c94469
test: use correct robot syntax...
kaelemc c4c4920
tests: sr-14s power modules 2->20
kaelemc b043ea2
tests: add SR-2s w/ MDA state verification
kaelemc 4b3c79a
tests: change to 30s wait to ensure MDAs come up
kaelemc 358707b
remove redundant distributed node check
kaelemc 48b2d00
docs: update srsim docs for component config generation
kaelemc b38537e
remove redundant conditional check
kaelemc 9679d17
tests: bump 08 srsim sleep to 45s
kaelemc 58d7b0b
tests: 08 srsim, use wait until instead of sleep
kaelemc 341cadb
don't return err for generateComponentConfig()
kaelemc c8791a0
fix: add component sorting to SR-SIM
kaelemc 3175877
reverse sorting order so we attach to non CPM slot
kaelemc 94b2009
test: update srsim unit test for new sorting
kaelemc d730ad3
adjust srsim hostname & ssh entry for base node name.
kaelemc 379848f
linter fixes
kaelemc bc37c14
Move distributed srsim mgmt ip fetching into dedicated func
kaelemc e8d904d
tests: remove component suffixes
kaelemc c4d0e78
revert sshconfig.go
kaelemc 4899297
don't rename the base node for component based distributed nodes
kaelemc a2f4dd1
fix typo, set ipv6 base node val to ipv6 not ipv4
kaelemc 7578e37
Add the base node name to the TLS cert SAN
kaelemc f79dfc3
tests: make 07 test less randomly failure prone
kaelemc 6129d97
tests: srsim 07, fix dupe name
kaelemc 3d3c2fe
add env var to disable config generation
kaelemc 06c5d4c
update test for config disable env var
kaelemc 22fbb1b
change disable config gen env var name to align with clab scoping.
kaelemc a3f9bef
docs: change type values to lowercase for schema alignment
kaelemc 5412c6a
docs: improve config generation section
kaelemc 13f47b8
in the inspect output show the mgmt IP even if it doesn't belong to C…
kaelemc 9ef3a44
format
hellt 095ab8c
remove obv comment
hellt 064ab03
doc brushup
hellt 7be9738
factor out power config
hellt edcd4cd
move power gen func to power
hellt e7a046b
tests: change 07-srsim to expect 10 host entries to account for base …
kaelemc 4e2eebd
don't generate the component config if startup cfg is defined
kaelemc 644702e
add debug log message to indicate startup config is being skipped
kaelemc 9da0fb6
Merge remote-tracking branch 'origin/sros-component-cfg-gen' into srs…
kaelemc 4fceeb7
fix merge mistake
kaelemc bcb7fbf
fix error in mgmt pLen assingment (v4/v6 mismatch)
kaelemc 4b18b30
tets: add test to confirm sorting & mgmt ip val for clab ins
kaelemc 495e5ac
tests: remove -a cpm suffix from target hostnames
kaelemc a1bb303
tests: fix variable syntax for 08-srsim
kaelemc d26de22
tests: move component sort rf test to it's own robot test
kaelemc 2ec0ff4
tests: 09-srsim, fix inspect topo file path
kaelemc 13ceaf5
tests: 09-test, fix hardcoded lab name in jq expr
kaelemc e915830
tests: bump 07-srsim link check to 4 mins timeout
kaelemc ee56d75
docs: add info about component sorting for grouped node def
kaelemc 02fc0bd
Merge remote-tracking branch 'origin/main' into srsim-comp-sorting
kaelemc e87cf05
tests: remove `sudo` before clab bin var
kaelemc 4862155
docs: grammar fix for component sorting point
kaelemc d9a54ff
fix sorting order so that cpm B comes before A
kaelemc c695cc7
update comment to reflect sorting order
kaelemc a2fd3ff
make format
hellt 65c741d
var rename
hellt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kaelemc marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
likely we need to explain the sorting order, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also it seems the
-a|bsuffix is no more for the containers? This needs to be explained in the docs maybe?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linked footnote is not sufficient enough?
https://github.com/srl-labs/containerlab/pull/2834/files#diff-c9558ec08bafe8588ba257a8a5da12d4e097ed46285060fb7dc97c5332ab031fR878
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re: suffix, ok yes I will adjust that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hellt Actually it looks like there is not really any mention of the CPM suffix in the docs to begin with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, looks like it =)