This functionality is already provided by the 'nova lock' command:
http://docs.openstack.org/user-guide/content/novaclient_commands.html#novaclient_subcommand_lock
This functionality is already provided by the 'nova lock' command:
http:// docs.openstack. org/user- guide/content/ novaclient_ commands. html#novaclient _subcommand_ lock