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

Circuit is not deployed if both UNIs are in the same switch #185

Closed
ajoaoff opened this issue Jun 4, 2020 · 4 comments · Fixed by #187 or #200
Closed

Circuit is not deployed if both UNIs are in the same switch #185

ajoaoff opened this issue Jun 4, 2020 · 4 comments · Fixed by #187 or #200

Comments

@ajoaoff
Copy link
Collaborator

ajoaoff commented Jun 4, 2020

If the circuit connects two UNIs in the same switch, the deployment should consist of 2 flows in that switch, but nothing is done is that case.

ajoaoff added a commit to ajoaoff/mef_eline that referenced this issue Jun 8, 2020
When UNIs are in the same switch, no flow was installed, so the circuit
was never deployed. Now, we deal with this special case, and the
flows are installed. Fix kytos#185.
ajoaoff added a commit to ajoaoff/mef_eline that referenced this issue Jun 8, 2020
When UNIs are in the same switch, no flow was installed, so the circuit
was never deployed. Now, we deal with this special case, and the
flows are installed. Fix kytos#185.
hdiogenes pushed a commit that referenced this issue Jul 13, 2020
When UNIs are in the same switch, no flow was installed, so the circuit
was never deployed. Now, we deal with this special case, and the
flows are installed. Fix #185.
@italovalcy
Copy link

Hi Antonio,

I still cannot create the intra-switch EVC. I'm using kytos/nightly docker image + mef_eline from the master branch:

kytosd -E -f
mn --topo single,3 --controller=remote,ip=172.20.0.2
curl -s -X POST -d '{"name": "my evc3","enabled": true, "uni_a": { "interface_id": "00:00:00:00:00:00:00:01:1" }, "uni_z": {"interface_id": "00:00:00:00:00:00:00:01:2"}}' http://172.20.0.2:8181/api/kytos/mef_eline/v2/evc/ -H "Content-Type: application/json"
mininet> sh ovs-ofctl dump-flows s1
 cookie=0x0, duration=28.930s, table=0, n_packets=0, n_bytes=0, priority=1000,dl_vlan=3799,dl_type=0x88cc actions=CONTROLLER:65535

Can you please help me figure out what I'm doing wrong?

@ajoaoff
Copy link
Collaborator Author

ajoaoff commented Aug 14, 2020

Hi, Italo. This looks like a déjà vu for me. The problem is related to dynamic_backup_path not being set. Take a look at #198.

@italovalcy
Copy link

italovalcy commented Aug 14, 2020 via email

@ajoaoff
Copy link
Collaborator Author

ajoaoff commented Aug 17, 2020

Changes made later broke a part of the code dealing with circuits where both UNIs are in the same switch. I'm reopening the issue.

@ajoaoff ajoaoff reopened this Aug 17, 2020
ajoaoff added a commit to ajoaoff/mef_eline that referenced this issue Aug 17, 2020
When no path is found but UNIs are on the same switch, install the flows.
Fixes kytos#185
Niehaus pushed a commit to Niehaus/mef_eline that referenced this issue Dec 21, 2020
When no path is found but UNIs are on the same switch, install the flows.
Fixes kytos#185
Niehaus pushed a commit to Niehaus/mef_eline that referenced this issue Dec 21, 2020
When no path is found but UNIs are on the same switch, install the flows.
Fixes kytos#185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants