-
Notifications
You must be signed in to change notification settings - Fork 64
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
Unable to add link to deployed lab #285
Comments
Dear @BMG-DYNAMIT, Thanks for opening the issue 😄 As for the #284, the Lab's methods only interact with the static representation of the network scenario and not with the running one. To attach a new collision domain to a running device, instead of Kathara/src/Kathara/manager/Kathara.py Lines 90 to 106 in 362ba16
We will update the documentation to make this clear. Please let me know if this helps! Thanks for contributing, |
Thank you very much for your Help. It works now. Thanks, |
Hi I noticed that the usage of I have an example
|
I think the DockerManager should call
|
- Reload metadata after a device is started - Reload api_objects before connecting disconnecting links from a running device
Dear @BMG-DYNAMIT, Many thanks for all your help! You are right, there is a problem with how and where we reload the We are working on a solution in: https://github.com/KatharaFramework/Kathara/tree/285-reload-api-objects However, note that you cannot connect links to a running machine created without any interface. Indeed, if you start a device with no interfaces, Docker won't add the networking stack on it, and so it will not be possible to attach new interfaces. Thanks! |
Operating System
Ubuntu 22.04
Kathará Version
3.7.4
Bug Description
Hi,
I am trying to add a link between machines to an already deployed lab.
Maybe I am doing something wrong, but it does not for me.
Take a look at my example code.
If I connect into the node with connect_tty, the new interface for the link beween the nodes does not show up with
ip addr.
If I try to add the interface with
add_interface
after connecting the machine to the link, I get an exception.If I only try to add the interface without
connect_machine_to_link
is also does not work.Maybe you can tell me what I am doing wrong.
Thanks,
Moritz
Steps To Reproduce
Deploy a link to an already deployed lab and connect a machine to it.
Expected Behavior
A new interface should show up with
ip addr
after connecting it to the link.Check Command Output
The text was updated successfully, but these errors were encountered: