2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-28 12:58:00 +00:00
ovs/tests/netdev-type.at
Ben Pfaff 7be29a4757 ofproto-dpif: Remove tabs from output.
OVS uses spaces for indentation in source code and it makes sense for it to
also use spaces for indentation in output.  Spaces also consume less
horizontal space in output, which often makes it easier to read.  This
commit transitions one part of output from tabs to spaces and updates
appropriate parts of the tests to match.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
2018-06-11 15:31:59 -07:00

25 lines
702 B
Plaintext

AT_BANNER([netdev-type])
dnl Setting MAC address of netdev internal port fails
AT_SETUP([bridge - set MAC address of internal port])
OVS_VSWITCHD_START
# Add an internal port and make sure that it shows up in the datapath.
add_of_ports br0 1
AT_CHECK([ovs-appctl dpif/show], [0], [dnl
dummy@ovs-dummy: hit:0 missed:0
br0:
br0 65534/100: (dummy-internal)
p1 1/1: (dummy)
])
#
# Set MAC address of dummy device and check that it has been set
AT_CHECK([ovs-vsctl set Interface p1 type=internal mac=\"aa:55:c0:ff:ee:00\"])
AT_CHECK([ovs-vsctl get Interface p1 mac_in_use], [0], [dnl
"aa:55:c0:ff:ee:00"
])
OVS_APP_EXIT_AND_WAIT([ovs-vswitchd])
OVS_APP_EXIT_AND_WAIT([ovsdb-server])
AT_CLEANUP