Bug #4583

onevm create command does not support mac addresses in the command line

Added by Ruben S. Montero about 5 years ago. Updated almost 5 years ago.

Status:ClosedStart date:06/19/2016
Priority:NormalDue date:
Assignee:Javi Fontan% Done:

0%

Category:CLI
Target version:Release 5.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.0

Description

For example

onevm create --name vmtest --cpu 1 --memory 128 --nic smac:mac='00:02:01:02:03:94' --dry
NAME="vmtest" 
CPU=1.0
MEMORY=128
NIC=[
  MAC="00",
  02="",
  01="",
  02="",
  03="",
  94="",
  NETWORK="smac" 
]

Associated revisions

Revision 4dff8953
Added by Javi Fontan almost 5 years ago

bug #4583: allow the use of : in nic extra attrs

Revision ee77deb2
Added by Javi Fontan almost 5 years ago

bug #4583: allow the use of : in nic extra attrs

(cherry picked from commit 4dff8953e21e5853da49a1d993deef62b18d013b)

History

#1 Updated by Javi Fontan almost 5 years ago

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

#2 Updated by Javi Fontan almost 5 years ago

With the fix:

$ onevm create --name vmtest --cpu 1 --memory 128 --nic smac:mac='00:02:01:02:03:94' --dry
NAME="vmtest" 
CPU=1.0
MEMORY=128
NIC=[
  MAC="00:02:01:02:03:94",
  NETWORK="smac" 
]

Also available in: Atom PDF