Skip to content
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

Change node.runtime to node.clab.runtime, add documentation #587

Merged
merged 2 commits into from
Oct 18, 2022

Conversation

jbemmel
Copy link
Collaborator

@jbemmel jbemmel commented Oct 16, 2022

Context: #586

Configuration did support multiple runtimes, but feature was undocumented and directly under the node while being a Containerlab specific setting

  • Move node.runtime -> node.clab.runtime
  • Add defaults.providers.clab.runtime = docker, always set 'runtime' config in clab.yml
  • Add documentation

Copy link
Owner

@ipspace ipspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I added provision for provider-specific settings when validating node attributes, so there's no need to add clab to the list of node attributes. Please test it, I'm down with COVID and high fever, so I might be spouting nonsense :(

@ipspace ipspace merged commit 1088576 into ipspace:dev Oct 18, 2022
ipspace pushed a commit that referenced this pull request Oct 18, 2022
* Move 'runtime' under clab, add default runtime for clab provider (docker)
* Update test results

Co-authored-by: Jeroen van Bemmel <jeroen.van_bemmel@nokia.com>
ipspace pushed a commit that referenced this pull request Oct 18, 2022
* Move 'runtime' under clab, add default runtime for clab provider (docker)
* Update test results

Co-authored-by: Jeroen van Bemmel <jeroen.van_bemmel@nokia.com>
@ipspace
Copy link
Owner

ipspace commented Oct 18, 2022

Merged and fixed (c1ceb1e)

BTW, how many times have I told you to look further than the immediate problem you're solving? runtime has been used for Cumulus VX and your change broke that. To make it worse, that use of runtime was documented, all you'd have to do was to search docs directory for "runtime" (like I did).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants