[NETVIRT-58] Patch ports are not created while using ODL for L2 handling and Neutron L3-agent to handle L3 in legacy netvirt Created: 12/Aug/16 Updated: 08/Apr/19 Resolved: 27/Dec/16 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | None |
| Affects Version/s: | Beryllium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | balakrishnan k | Assignee: | balakrishnan k |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6395 |
| Description |
|
ODL version: Beryllium SR3 issue scenario: The same use case with openvswitch as L2 and Neutron L3-agent to handle L3.Openvswitch driver creating patch ports also writing flows(converting local VLAN to provider VLAN and sending the packets to respective interface) in br-int and br-ex to forward the packets to external Network host. steps to reproduce the Bug: 1.in devstack local.conf file make changes to create vlan network. 2.comment "ovsdb.l3.fwd.enabled=yes" in "etc/custom.properties" file. |
| Comments |
| Comment by balakrishnan k [ 21/Sep/16 ] |
|
Approach: a.Read the external bridge from provider-mappings/bridge_mappings. 6.Neutron L3-agent will create a port in br-int for router-gateway,netvirt receives port event for router-gateway.in southbound handler check the newflag(ovsdb.l3.multiple.network.enabled=yes) is enabled and port update is for router-gateway then write the following flows to support Vlan external network. 6a.Handle the packets coming from external router gateway to br-int(write the flow to match the external router gateway port and MAC then forward the packets to br-ex via patch port) sample flows: flows added in br-int: flows added in br-ex: 6b.cookie=0x0, duration=7451.336s, table=0, n_packets=147, n_bytes=6230, idle_age=6506, priority=4,in_port=3,dl_src=fa:16:3e:74:a9:2e actions=mod_vlan_vid:100,NORMAL additionally default flow in external bridge to drop the packets coming from patch port and no match found. port 5 -->external network gateway. we are using table 100 to write the flows in br-int is that fine? we have tested this approach manually by creating patch ports and adding the flows.patch pushed for above aproach: https://git.opendaylight.org/gerrit/#/c/45812/ |