omaciel/robottelo — pull request #696 by alda519 (2014-04-11 12:35:51+00:00)
Title: new cli info method

issue #615: base.py info method updated

```
hammer repository info --id 1
ID: 1
Name: 254478877976318
Label: 254478877976318
Organization: q40zfkrr
Enabled: yes
Red Hat Repository: no
Content Type: yum
URL: http://omaciel.fedorapeople.org/fakerepo01/
Publish Via HTTP: yes
Published At: http://ibm-x3650-03.ovirt.rhts.eng.bos.redhat.com/pulp/repos/q40zfkrr/Library/custom/IgbUTyooVccrNNFMsMTY/254478877976318
Product:
ID: 1
Name: zZRUVPvuNhNmfNVYUCuU
GPG Key:

Sync:
Status: Not Synced
Created: 2014/04/10 08:04:51
Updated: 2014/04/10 08:04:54
Content Counts:
```

```
{u'product': {u'id': u'1', u'name': u'zZRUVPvuNhNmfNVYUCuU'},
u'updated': u'2014/04/10 08:04:54',
u'name': u'254478877976318',
u'publish-via-http': u'yes',
u'url': u'http://omaciel.fedorapeople.org/fakerepo01/',
u'content-counts': {},
u'created': u'2014/04/10 08:04:51',
u'enabled': u'yes',
u'sync': {u'status': u'Not Synced'},
u'label': u'254478877976318',
u'published-at': u'http://ibm-x3650-03.ovirt.rhts.eng.bos.redhat.com/pulp/repos/q40zfkrr/Library/custom/IgbUTyooVccrNNFMsMTY/254478877976318',
u'gpg-key': {},
u'red-hat-repository': u'no',
u'organization': u'q40zfkrr',
u'content-type': u'yum',
u'id': u'1'}
```

Results look quite good except:
* os info
```
Parameters:
1) A-name => A-value
2) B-name => B-value
3) C-name => C-value
```
returns
```parameters : {u'1)-a-name-': u'A-value', u'2)-b-name-': u'B-value', u'3)-c-name-': u'C-value'}```

host, domain are similar

* product info
```
Content:
1) Repo Name: ckqbKKVTDFREqNh
URL: /custom/IgbUTyooVccrNNFMsMTY/ckqbKKVTDFREqNh
2) Repo Name: rWhmHlBxuRdCkqW
URL: /custom/IgbUTyooVccrNNFMsMTY/QyNPRjDDiYpRuhceeIPH
...
```
returns
```content : {u'23)repo-name': u'cbVRGnCUYmGjhNF', u'10)repo-name': u'bCVQhkqCyCreQET', u'18)repo-name': u'xENLnbkbDjqtfeq', ...```

repository-set, content-view, report are similar

Details:
http://bpaste.net/show/1Azv9UBLLbkMxfO3sFlo/