On Mon, Jul 13, 2015 at 08:22:38PM -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 "logical_switches" column which maps the logical switch name in the
> gateway to a logical port name that exists in the OVN_Northbound database's
> "Logical_Port" table.
> 
> Signed-off-by: Alex Wang <al...@nicira.com>
> 
> ---
> ->V3:
> - Realize that the Gateway table is not needed.

I think that the documentation can be improved.

I ended up with this:

    <group title="Gateway Configuration">
      <p>
        A <dfn>gateway</dfn> is a chassis that forwards traffic between the
        OVN-managed part of a logical network and a physical VLAN, extending a
        tunnel-based logical network into a physical network.  Gateways are
        typically dedicated nodes that do not host VMs.
      </p>

      <column name="logical_switches">
        Maps from the name of a logical switch on the gateway to a logical port
        name.  The logical port name must be unique; one way to do this is by
        concatenating the chassis name and the logical switch name.  User needs
        to create a same named logical port in the OVN_Northbound database's
        Logical_Port table.
      </column>
    </group>

but I still have some issues with it.  First, I deleted this sentence
because I didn't understand it, but if you can explain then maybe
rephrasing it would be a better option:

    Physical VLANs belonging to the one logical network form a
    <dfn>logical switch</dfn> in the <dfn>gateway</dfn>.

Second, the documentation says that the "user" needs to create the
logical port.  I'm not sure who the user is in this case.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to