Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Support an "--id" parameter on some of the mixcoatl dcm-list commands #285

Open
ghost opened this issue Sep 25, 2015 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Sep 25, 2015

Would be nice if mixcoatl supported an "--id" parameters on some of the dcm-list commands.

Like:
dcm-list-servers --id=xxx

Would be useful to be able to display just server with id 54 in the example below.
Server create issed. Job id 704 returned

dcm-list-jobs --jobid 704 issued which displays the finished result status 54
54 is the server id

(venv)45.18.37.41:~/Projects/Blueprints$ dcm-list-jobs --job-id 704
+-----+-------------------------------+----------+------------------------------+------------------------------+------------------------------+
| ID  | Type                          | Customer | Name                         | Endpoint                     | Status                       |
+-----+-------------------------------+----------+------------------------------+------------------------------+------------------------------+
| 704 | Launch server gaf-test-apache | RUNNING  | 2015-09-25T17:40:00.378+0000 | 2015-09-25T17:40:00.467+0000 | waiting for server discovery |
+-----+-------------------------------+----------+------------------------------+------------------------------+------------------------------+
(venv)45.18.37.41:~/Projects/Blueprints$ dcm-list-jobs --job-id 704
+-----+-------------------------------+----------+------------------------------+------------------------------+--------+
| ID  | Type                          | Customer | Name                         | Endpoint                     | Status |
+-----+-------------------------------+----------+------------------------------+------------------------------+--------+
| 704 | Launch server gaf-test-apache | COMPLETE | 2015-09-25T17:40:00.378+0000 | 2015-09-25T17:40:47.476+0000 | 54     |
+-----+-------------------------------+----------+------------------------------+------------------------------+--------+
@igable
Copy link
Contributor

igable commented Sep 25, 2015

I like this idea. I'll start with some of the more frequently used commands. Look for this sometime in the next release or two.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant