mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 04:27:55 +00:00
10eec6c2b0
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)