2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-05 04:27:55 +00:00
Files
xcat-core/xCAT-test
Vinícius Ferrão 10eec6c2b0 test(confluent): pin the retraction of the switch topology
Cover the payload that the command sends for a node that confluent already
holds. A node that xCAT holds no topology for names every topology attribute
with no value. A value that the switch table holds is never replaced by a
clear. A renamed interface leaves only the new name with a value, and the
wildcard removes the name that is gone.

Cover that the wildcard cannot match the attributes that carry no interface,
which is why those are named on their own, and that only the request that
updates a node carries the clears.

Cover that the payload is encoded as JSON, because that is what turns an
attribute with no value into the null that confluent reads as a removal.

(cherry picked from commit 7ca32849e3fc8e04000c22490d598e17b56db962)
2026-08-27 17:57:56 -03:00
..
2018-04-26 15:15:47 -04:00