]> git.proxmox.com Git - mirror_ovs.git/blame - tests/netdev-type.at
db-ctl-base: Add {in} and {not-in} set relational operators.
[mirror_ovs.git] / tests / netdev-type.at
CommitLineData
a5bdd3b2
TLSC
1AT_BANNER([netdev-type])
2
3dnl Setting MAC address of netdev internal port fails
4AT_SETUP([bridge - set MAC address of internal port])
5OVS_VSWITCHD_START
6
7# Add an internal port and make sure that it shows up in the datapath.
8add_of_ports br0 1
9AT_CHECK([ovs-appctl dpif/show], [0], [dnl
10dummy@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
17AT_CHECK([ovs-vsctl set Interface p1 type=internal mac=\"aa:55:c0:ff:ee:00\"])
18AT_CHECK([ovs-vsctl get Interface p1 mac_in_use], [0], [dnl
19"aa:55:c0:ff:ee:00"
20])
21
22OVS_APP_EXIT_AND_WAIT([ovs-vswitchd])
23OVS_APP_EXIT_AND_WAIT([ovsdb-server])
24AT_CLEANUP