SovereignCloudStack / standards

SCS standards in a machine readable format
https://scs.community/
Creative Commons Attribution Share Alike 4.0 International
31 stars 21 forks source link

Multiple flavor-manager-input.py scripts under /Tests #667

Open martinmo opened 1 month ago

martinmo commented 1 month ago

scs-0103-v1 mentions

The openstack-flavor-manager is able to create all standard, mandatory SCS flavors for you. It takes input that can be generated by flavor-manager-input.py.

(https://docs.scs.community/standards/scs-0103-v1-standard-flavors#operational-tooling)

There are two scripts with that name:

$ fd flavor-manager-input
Tests/iaas/flavor-naming/flavor-manager-input.py
Tests/iaas/standard-flavors/flavor-manager-input.py

Which one is to be used, or can one of it be renamed or even deleted?

mbuechse commented 1 month ago

The standard in question is supposed to refer to the latter script. The directory standard-flavors corresponds to that standard, while flavor-naming (where the other script resides) corresponds to scs-0100-vN.

martinmo commented 1 month ago

We could rename the directories using the scs-NNNN codes to make the correspondence more obvious.

+1

(IMHO, this could actually be done for all the scripts in Tests/, but this would be a bigger change.)