On 21 Nov 2024, at 21:34, Ian Pilcher wrote:

> Occasionally, when running 'ovs-appctl fdb/show BRIDGE', I am seeing
> the port for some MAC addresses shown as "LOCAL", instead of the
> expected port number.
>
> For example:
>
> # ovs-appctl fdb/show br-ex
>  port  VLAN  MAC                Age
>     1     0  ac:1f:6b:61:54:36   95
>     1     0  ac:1f:6b:61:54:da   94
>     1     0  ac:1f:6b:61:55:b4   94
>     1     0  48:5a:0d:31:88:ef   46
>     1     0  ac:1f:6b:61:72:94   27
>     1     0  ac:1f:6b:61:72:fe   25
>     1     0  48:5a:0d:31:15:20   16
> LOCAL     0  ac:1f:6b:6c:44:92    5
>     1     0  48:5a:0d:31:88:20    0
>
> This makes parsing this output (in C) much more difficult, as I can't
> just use sscanf().
>
> Is this expected behavior?

This mac somehow comes from the OFPP_LOCAL port, bridge. Depending on how you 
set up your flows/network this could happen.

> (I don't suppose that there's a secret, undocumented, way to get actual
> machine-parseable output from the server?)

Currently, there is no machine-readable output for this command. However, the 
infrastructure has been present since commit 4935e8932, so if you need it, you 
could go ahead and submit a patch ;).

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to