On Thu, Jul 16, 2015 at 12:56:22AM -0700, Alex Wang wrote:
> In a gateway like the VTEP L2 gateway, physical vlans belonging to
> the same logical network form a "logical switch".  Each logical switch
> has a dedicated tunnel key and will keep records of all MACs learned
> from the owned vlans.  So user can just send packet to a "logical
> switch" and the gateway will figure out the output port and vlan tag
> automatically.
> 
> Therefore, it is not really necessary to keep record of the vlan map
> for each gateway physical port in the OVN_Southbound database using
> "gateway_ports".
> 
> Thusly, this commit removes the "Gateway" table from the OVN_Southbound
> database.  In the "Chassis" table, the "gateway_ports" column is replaced
> by "vtep_logical_switches" column which maps the vtep logical switch name
> in the gateway to a logical port name.
> 
> Signed-off-by: Alex Wang <al...@nicira.com>
> 
> ---
> V3->V4:
> - change the column name to "vtep_logical_switches".
> - adopt Ben's refinement of ovn-sb schema manual.
> 
> ->V3:
> - Realize that the Gateway table is not needed.

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to