delete() unimplemented in Base drivers??!

20 views
Skip to first unread message

Joseph Korkames

unread,
Apr 26, 2011, 8:12:23 PM4/26/11
to clusto
Hiya clusto devs,

I'm attempting to set up a test clusto deployment to manage my 24U
half-rack in my garage. After creating some entities with bad names I
want to delete them, but it appears none of the base classes has the
delete() method defined so that the clusto.delete_entity() method can
actually work. How do you delete decommissioned top-level entities in
your production installations?

-joey

Jorge Gallegos

unread,
Apr 26, 2011, 8:21:26 PM4/26/11
to clu...@googlegroups.com

You delete stuff (or rather, entities) issuing a delete against the entity, like so :

clusto.delete(myobj.entity)

I'm nowhere near my computer ATM but that works iirc

Ron

unread,
Apr 26, 2011, 9:54:43 PM4/26/11
to clusto
Yeah, I did it that way originally cause I wanted to make it slightly
harder to accidentally delete something. Just another corner of the
API that might benefit from a revisit. -Ron

On Apr 26, 5:21 pm, Jorge Gallegos <k...@blegh.net> wrote:
> You delete stuff (or rather, entities) issuing a delete against the entity,
> like so :
>
> clusto.delete(myobj.entity)
>
> I'm nowhere near my computer ATM but that works iirc

Joseph Korkames

unread,
Apr 26, 2011, 10:40:07 PM4/26/11
to clusto


On Apr 26, 5:21 pm, Jorge Gallegos <k...@blegh.net> wrote:
> You delete stuff (or rather, entities) issuing a delete against the entity,
> like so :
>
> clusto.delete(myobj.entity)
>
> I'm nowhere near my computer ATM but that works iirc
> On Apr 26, 2011 5:12 PM, "Joseph Korkames" <j...@kidfixit.com> wrote:

Ah, I didn't pick up on that .entity accessor there. Sorry for the
noise.
Reply all
Reply to author
Forward
0 new messages