mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-05 12:37:54 +00:00
7836a2577a
A confluent attribute update keeps every attribute that the request does not name. The export only named the attributes that the switch table holds, so a switch row that is deleted stayed in confluent, and an interface that is renamed left the attributes of the old name beside the attributes of the new one. Confluent then holds two ports for one node, which defeats the discovery that this export exists for. Name the topology attributes that the switch table no longer holds, with no value, so that confluent removes them. Confluent removes the attributes that the request names with no value before it sets the rest of the request, and it accepts a wildcard for the attributes of every interface. The wildcard does not match the attributes that carry no interface, so those are named on their own. A node that confluent does not hold yet has nothing to remove, so the request that creates a node is unchanged. A confluent that accepts a wildcard in the name of an attribute arrived in 3.4.0. An older confluent reads the name as the name of one attribute, finds no attribute of that name and reports nothing. The topology of an interface that is gone then stays, as it does today.