[ovs-dev] [PATCH] cfm: Support random VLAN tag for CCM PDUs.

Ben Pfaff blp at nicira.com
Mon Mar 19 09:44:58 PDT 2012


On Fri, Mar 16, 2012 at 06:05:21PM -0700, Ethan Jackson wrote:
> CCM PDUs may take a different path through the network depending on
> the VLAN tag they carry.  In order to exercise these paths, it
> may be advantageous to use a random VLAN tag.
> 
> Signed-off-by: Ethan Jackson <ethan at nicira.com>

What a weird feature.

Would you mind adding a #define for the "random vlan" value, maybe
like this:
        #define CFM_RANDOM_VLAN UINT16_MAX

In vswitch.xml, this:
> +        with the given value.  May be the string "random" in which case each
> +        CCM will be tagged with a different randomly generated VLAN.
should use <code></code> around the string "random" instead of quotes.

Thanks,

Ben.



More information about the dev mailing list