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

Add switches and links using Mininet CLI #14

Open
t2ance opened this issue May 26, 2023 · 2 comments
Open

Add switches and links using Mininet CLI #14

t2ance opened this issue May 26, 2023 · 2 comments

Comments

@t2ance
Copy link

t2ance commented May 26, 2023

When I added a new switch or link using mininet CLI (e.g. "py net.addSwitch('xxx')"), the topology in the terminal was modified. However, the controller didn't get the modification and events like "EventSwitchEnter" were not triggered. How can the controller know the topology was modified?

@t2ance t2ance closed this as completed May 27, 2023
@t2ance t2ance reopened this May 27, 2023
@t2ance
Copy link
Author

t2ance commented May 27, 2023

I figured out that we need switch xxx start to trigger EventSwitchEnter event. But after adding some new links, even use link x y up still cannot trigger EventLinkAdd. How to solve it?

@t2ance t2ance changed the title Add switches and linkes using Mininet CLI Add switches and links using Mininet CLI May 27, 2023
@EricLee543
Copy link
Member

link x y up can make an effect on the existing link. If you want add a not existing link, please useaddLink function in Python script.

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

No branches or pull requests

2 participants