Feature #966

Support IMAGE and NETWORK names in VM templates

Added by Carlos Martín over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:11/07/2011
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

90%

Category:Core & System
Target version:Release 3.2 - S1
Resolution:fixed Pull request:

Description

Some users request to bring back the ability to reference IMAGE and NETWORK by name in the VM templates [1].

This is a tentative syntax:

DISK = [ IMAGE        = "Ubuntu",
         IMAGE_UNAME  = "oneadmin" ]

DISK = [ IMAGE        = "Ubuntu",
         IMAGE_UID    = 7 ]

DISK = [ IMAGE        = "Ubuntu" ]

DISK = [ IMAGE_ID     = 23 ]

1: use the Image named ubuntu, owned by the user named oneadmin.
2: use the ubuntu Image owned by user with ID 7.
3: use the ubuntu Image owned by the user instantiating the VM.
4: use image with ID 23

[1] http://lists.opennebula.org/pipermail/users-opennebula.org/2011-November/006797.html


Related issues

Related to Feature #983: Update Sunstone to reference Images and VNets by NAME and... Closed 11/15/2011

Associated revisions

Revision 34cb7a19
Added by Ruben S. Montero over 9 years ago

feature #966: Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME

Revision 0b417d6e
Added by Ruben S. Montero over 9 years ago

feature #966: Bug returning the id of the acquired image

Revision 535d1c06
Added by Ruben S. Montero over 9 years ago

feature #966: Vnet can now be referred by name with NETWORK

History

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

  • Assignee set to Ruben S. Montero
  • Target version set to Release 3.2 - S1

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

  • % Done changed from 0 to 90

This is now implemented in OpenNebula (master). Tests and documentation in place. Sunstone needs to be update to generate templates based on the name and not on the id.

#3 Updated by Ruben S. Montero over 9 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF