-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
-----------------------------------------------------------
Ship it!
Ship It!
- Radek Novacek
On July 29, 2014, 1:44 p.m., Peter Hatina wrote:
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/1940/
-----------------------------------------------------------
(Updated July 29, 2014, 1:44 p.m.)
Review request for OpenLMI Developers.
Repository: openlmi-tools
Description
-------
Allow LMIInstanceName to call DeleteInstance, as well.
Diffs
-----
cli/lmi/shell/LMIInstanceName.py 2e45a8b8b21cb0f2a6c1ede7274384e22ba87e65
doc/src/shell/instance_names.rst 3644b0bd233c0253b0000003221facc29ec42d69
Diff:
http://reviewboard-openlmi.rhcloud.com/r/1940/diff/
Testing
-------
Let's assume, that there is a "deleteme" account present on a managed
system. Then, we can execute following:
```python
> c = connect(...)
> iname = c.root.cimv2.LMI_Account.first_instance_name({"Name":
"deleteme"})
> iname.delete()
True
> iname.is_deleted
True
>
```
Thanks,
Peter Hatina