CCI-MOC / openstack-billing-from-db

Simple billing from the database
Apache License 2.0
1 stars 3 forks source link

Allow input of rate to generate costs when producing CSV #8

Closed knikolla closed 10 months ago

knikolla commented 10 months ago

As of now, the CSV generated only calculates the SU hours. As a user of the script, I want to provide the SU rate via a command-line parameter so that the CSV generated can automatically calculate the cost.

joachimweyl commented 10 months ago

This works, or if you prefer you could also have a csv that houses the types and rates that you pull from. Whichever is easier.

knikolla commented 10 months ago

As this will be most likely run inside of a container, it's easier to provide this via command line parameters.