standards icon indicating copy to clipboard operation
standards copied to clipboard

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

Open martinmo opened this issue 1 year ago • 2 comments

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?

martinmo avatar Jul 19 '24 14:07 martinmo

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.

  • We could rename the directories using the scs-NNNN codes to make the correspondence more obvious.
  • We can at some point in the future rename or delete the former script. I think it's no longer being used, but kept for the sake of compatibility.

mbuechse avatar Jul 19 '24 18:07 mbuechse

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.)

martinmo avatar Jul 22 '24 14:07 martinmo