perfsonar / mesh-config

Centralized configuration framework for measurement points and GUIs
Apache License 2.0
2 stars 0 forks source link

Implement non-interactive command-line interface for generating JSON #87

Open arlake228 opened 7 years ago

arlake228 commented 7 years ago

This is the task to track generating the code for a command-line interface. A checklist should be added once the initial design is complete.

arlake228 commented 7 years ago

Non-binding ideas:

psconfig new --file example.json --name "Example Configuration"
psconfig host --file example.json --name "Host 1" add --address 10.0.0.1
psconfig archive --file example.json --name "Global Archiver" esmond --url https://10.0.0.10/esmond/perfsonar/archive
psconfig group --file example.json --name devhosts create --type mesh --members 10.0.0.1,10.0.0.2,10.0.0.3
psconfig group --file example.json --name devhosts add --members 10.0.0.4
psconfig group --file example.json --name devhosts delete --members 10.0.0.4
psconfig task --file example.json --name "Throughput Tests" --group devhosts throughput --duration PT30S
psconfig task --file example.json --name "Powstream Tests" --group devhosts latencybg --packet-interval .01
psconfig task --file example.json --name "Traceroute Tests" --group devhosts --tool traceroute trace
psconfig archive --file example.json --name "Throughput RabbitMQ Archiver" rabbitmq --_url amqp://localhost:5672
psconfig publish --file example.json