cfm: Add test for fault_override
authorJoe Stringer <joestringer@nicira.com>
Mon, 16 Dec 2013 18:08:08 +0000 (10:08 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 17 Dec 2013 23:57:36 +0000 (15:57 -0800)
commit45ebaaf58c8dd017b5ba6a1ea18b77b8760a41e8
tree549e9f80ff7350c468b27a7e2d0e996cab4a313f
parent837a88dccb2634c26f3a70af37b86cae8a48ad74
cfm: Add test for fault_override

This patch adds tests for the cfm fault_override feature which can be
set through "ovs-appctl cfm/set-fault <port> <value>". It brings up two
ports with CFM, sets a fault, then checks that the fault status has
propagated correctly to the CFM module and the database. Finally, it
sets the fault override behaviour to normal and checks that the fault
has gone away.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
tests/cfm.at