[ovs-dev] [PATCH v7 3/3] ovn: Add "localnet" logical port type.

Ben Pfaff blp at nicira.com
Tue Sep 1 20:55:38 UTC 2015


On Wed, Aug 26, 2015 at 11:07:54AM -0400, Russell Bryant wrote:
> Introduce a new logical port type called "localnet".  A logical port
> with this type also has an option called "network_name".  A "localnet"
> logical port represents a connection to a network that is locally
> accessible from each chassis running ovn-controller.  ovn-controller
> will use the ovn-bridge-mappings configuration to figure out which
> patch port on br-int should be used for this port.

[...]

>        <p>
> +        It's possible that a single ingress physical port maps to multiple
> +        logical ports with a type of <code>localnet</code>.  In that case, an
> +        OVN flag is set to indicate that this packet arrived on a <code>localnet</code>
> +        port.  This flag is used later to help determine what type of output is
> +        appropriate.  The logical datapath and logical input port fields will be
> +        reset and the packet will be resubmitted to table 16 multiple times.
> +      </p>

I'm not sure why this is a likely problem that needs to be avoided,
since the structure of logical networks that contain localnet ports is
so simple.  Can you explain?



More information about the dev mailing list