How to attach a disk in VM through xm rpc API in opennebula 5.0.2?

How to attach a disk in VM through xm rpc API in opennebula 5.0.2?while attaching a volatile disk in openebula manually it is not attaching first second showing disk then it disappear next second.how to implement the attaching a new disk in opennebula?

Not sure it you’re working with Ranjitha, it that’s so please don’t double post to keep the forum clean and tidy :slight_smile:

Check if that post gives you some orientation:

Cheers!