SatelliteQE / satellite-populate

This new module adds tools and commands to populate and validate entities in the system based in YAML file.
Other
8 stars 10 forks source link

Generate YAML dafile from running system #31

Open rochacbruno opened 7 years ago

rochacbruno commented 7 years ago

So what we need to do is to include a new command in the tool

i.e: "satellite-populate generate -h http://fqdn.com -u admin -p changeme" -o new_file.yaml

Then a new YAML file is generated and saved.

To implement that command we have 2 options, and I don't know yet which one is the best.

OPTIONS:

1) Use existing export tool, maybe "hammer -csv" or other option, and then parse that data to generate the YAML output.

2) Use API or HAMMER to export every possible entity, this would demand us to have a list of all possible entities and then we can call every API endpoint (or hammer command) doing a list or search and with data data we can generate the YAML data file.