]>
Commit | Line | Data |
---|---|---|
a5bdd3b2 TLSC |
1 | AT_BANNER([netdev-type]) |
2 | ||
3 | dnl Setting MAC address of netdev internal port fails | |
4 | AT_SETUP([bridge - set MAC address of internal port]) | |
5 | OVS_VSWITCHD_START | |
6 | ||
7 | # Add an internal port and make sure that it shows up in the datapath. | |
8 | add_of_ports br0 1 | |
9 | AT_CHECK([ovs-appctl dpif/show], [0], [dnl | |
10 | dummy@ovs-dummy: hit:0 missed:0 | |
7be29a47 BP |
11 | br0: |
12 | br0 65534/100: (dummy-internal) | |
13 | p1 1/1: (dummy) | |
a5bdd3b2 TLSC |
14 | ]) |
15 | # | |
16 | # Set MAC address of dummy device and check that it has been set | |
17 | AT_CHECK([ovs-vsctl set Interface p1 type=internal mac=\"aa:55:c0:ff:ee:00\"]) | |
18 | AT_CHECK([ovs-vsctl get Interface p1 mac_in_use], [0], [dnl | |
19 | "aa:55:c0:ff:ee:00" | |
20 | ]) | |
21 | ||
22 | OVS_APP_EXIT_AND_WAIT([ovs-vswitchd]) | |
23 | OVS_APP_EXIT_AND_WAIT([ovsdb-server]) | |
24 | AT_CLEANUP |