Feature #1556

Allow update action for VMs

Added by Ricardo Duarte over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:10/16/2012
Priority:HighDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 4.0
Resolution: Pull request:

Description

Allow update action for VMs.
An example use case is the following:

- VM boots and contacts a server to generate a password
- The server writes the generated password to context and returns it to the VM
- Users can see the password from Sunstone or onevm, by looking at the CONTEXT var

Currently, it is impossible for the server to update the CONTEXT or the VM template


Related issues

Duplicated by Feature #1680: Add possibility for hooks to add variables to template Closed 12/05/2012

Associated revisions

Revision 8a2597cd
Added by Ruben S. Montero over 8 years ago

feature #1556: Add a new user template to the VM to store user defined variables. Add OCA Ruby & JAVA bindings for the new update method. Add command option for onevm tool.

Revision 68efaa7e
Added by Carlos Martín over 8 years ago

Feature #1556: Add new elem to migrator, and xsd

Revision f51d1f1a
Added by Carlos Martín over 8 years ago

Feature #1556: Remove help formatting, just in case it breaks something in the manpages later

Revision c483e7bb
Added by Carlos Martín over 8 years ago

Feature #1483 #1556: VM attributes understood by opennebula are moved to TEMPLATE, the rest are left in USER_TEMPLATE

Revision 92ccbd83
Added by Carlos Martín over 8 years ago

Feature #1483 #1556: Leave SCHED_REQUIREMENTS and SCHED_RANK in the USER_TEMPLATE, so they can be edited

Revision 59f4331b
Added by Carlos Martín over 8 years ago

Feature #1483 #1556: onedb migrator moves rank, requirements to sched_*

Revision dc075e09
Added by Carlos Martín over 8 years ago

Feature #1483 #1556: Separate requirements in two attributes

AUTOMATIC_REQUIREMNTS is set by the core, cannot be edited.
SCHED_REQUIREMENTS can be set and edited by the users.

Revision f1ee01cf
Added by Carlos Martín over 8 years ago

Feature #1556: Move all the attributes used in the code to the internal template

Revision 25dbb790
Added by Carlos Martín over 8 years ago

Feature #1556: The parser for context & requirements looks for variables in both VM templates

Revision d732c5ae
Added by Ruben S. Montero over 8 years ago

feature #1556: upload new parser for vm_var

Revision 948f7bc3
Added by Carlos Martín over 8 years ago

Feature #1556: onevm update does not allow users to change restricted attributes

History

#1 Updated by Ruben S. Montero over 8 years ago

  • Tracker changed from Request to Feature
  • Category set to Core & System
  • Target version set to Release 4.0

This feature will be implemented by including a user template for the VMs, that can be updated and used to store custome data

#2 Updated by Ruben S. Montero over 8 years ago

  • Assignee set to Ruben S. Montero

Needs to include a a DB migrator to add the user template to existing VMs

#3 Updated by Carlos Martín over 8 years ago

Needs API documentation, and compatibility guide entry

#4 Updated by Ruben S. Montero over 8 years ago

  • Status changed from New to Closed

Also available in: Atom PDF