From: Ben Pfaff Date: Wed, 17 Mar 2010 16:53:36 +0000 (-0700) Subject: tests: Don't use obsolete names in ovs-vsctl tests of external-ids. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3f82921586b4018b45fdd1cbfa5c94fc37d362c;p=openvswitch tests: Don't use obsolete names in ovs-vsctl tests of external-ids. The names used in the tests don't matter, but they could potentially confuse a reader, so use more generic names. Reported-by: Justin Pettit --- diff --git a/tests/ovs-vsctl.at b/tests/ovs-vsctl.at index 045b1c30..2ea9e404 100644 --- a/tests/ovs-vsctl.at +++ b/tests/ovs-vsctl.at @@ -505,11 +505,11 @@ AT_CHECK( [set bridge br0 \ 'other_config:datapath_id="0123456789ab"' \ 'other_config:hwaddr="00:11:22:33:44:55"' \ - 'external-ids={"xs-network-uuids"="9c45f225-a7cf-439d-976d-83db6271fda1"}' -- \ - add bridge br0 external_ids '"xs-network-names"="local; remote; cloud"'])], + 'external-ids={"uuids"="9c45f225-a7cf-439d-976d-83db6271fda1"}' -- \ + add bridge br0 external_ids '"roles"="local; remote; cloud"'])], [0], [], [], [OVS_VSCTL_CLEANUP]) AT_CHECK([RUN_OVS_VSCTL_ONELINE([get bridge br0 other_config external-ids])], - [0], [{datapath_id="0123456789ab", hwaddr="00:11:22:33:44:55"}\n{xs-network-names="local; remote; cloud", xs-network-uuids="9c45f225-a7cf-439d-976d-83db6271fda1"} + [0], [{datapath_id="0123456789ab", hwaddr="00:11:22:33:44:55"}\n{roles="local; remote; cloud", uuids="9c45f225-a7cf-439d-976d-83db6271fda1"} ], [], [OVS_VSCTL_CLEANUP]) AT_CHECK([RUN_OVS_VSCTL([get bridge br0 other_config:hwaddr -- --if-exists get bridge br0 other-config:nonexistent])], [0], ["00:11:22:33:44:55"