charmed-hpc / slurmutils

Utilities and APIs for interfacing with the Slurm workload manager ⚙️🔌
GNU Lesser General Public License v3.0
1 stars 3 forks source link

Enhance descriptors for data pockets in `slurmutils.models.slurm.SlurmConfig` #7

Closed NucciTheBoss closed 9 months ago

NucciTheBoss commented 9 months ago

Only having a getter descriptor in the SlurmConfig data model class for nodes, frontend_nodes, down_nodes, node_sets and partitions is not sufficient. It makes it too difficult to bulk update node/frontend node inventory, refresh the partition list, clear node sets, etc as it requires "clever-coding."

Setter and deleter descriptors should be added so that it is easier to work with the data pockets.