Just to make sure I am clear on what I am looking for , this is the set of
fields in the onevm show <vmid>
VM NICS
ID NETWORK VLAN BRIDGE IP MAC
0 private1_10.7.0.0 yes private_1 10.7.3.248 02:00:0a:07:03:f8
fe80::400:aff:fe07:3f8
1 private1_10.7.0.0 yes private_1 10.7.3.249 02:00:0a:07:03:f9
fe80::400:aff:fe07:3f9
I want to create my own context variable that references ETH0_MAC - the mac
address in the last colume
I have tried Carlos' suggestion below and also these now
ETH0_MAC="$NIC[MAC,ID=\"0\"]"
ETH0_MAC="$VMNIC[MAC,ID=\"0\"]"
ETH0_MAC="$VM_NIC[MAC,ID=\"0\"]"
With no such luck in finding the MAC so I can do MAC matching to assign IP's
across multiple NICs based on that MAC
What is the correct variable pattern to use - is there a comprehensive list of
these variables listed somewhere?
Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 |
www.connectsolutions.com<http://www.connectsolutions.com>
From: [email protected]
[mailto:[email protected]] On Behalf Of Michael Curran
Sent: Friday, October 25, 2013 1:26 PM
To: Carlos Martín Sánchez
Cc: users
Subject: Re: [one-users] context mac address
I tried that as you wrote it and I have tried a few of my own variables that
did not work either.
I would love to see a comprehensive list of variables to use, and I'm just not
finding one.
That page is explanatory on how to put them together, but not how to obtain
what is available - maybe MAC isn't available with $NIC ??
Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 |
www.connectsolutions.com<http://www.connectsolutions.com>
From: Carlos Martín Sánchez [mailto:[email protected]]
Sent: Friday, October 25, 2013 12:53 PM
To: Michael Curran
Cc: users
Subject: Re: [one-users] context mac address
Hi,
Do you mean like this?
ETH0_NIC = "$NIC[MAC, NETWORK_ID=\"0\"]"
The contextualization variables syntax is explained here [1].
Regards
[1] http://opennebula.org/documentation:rel4.2:cong
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org<http://www.OpenNebula.org> |
[email protected]<mailto:[email protected]> |
@OpenNebula<http://twitter.com/opennebula>
On Fri, Oct 25, 2013 at 6:42 PM, Michael Curran
<[email protected]<mailto:[email protected]>>
wrote:
I'm working on contextualizing a windows VM with multiple NIC's during VM
creation
Does anyone know the correct Variable for the MAC by network ID number? I just
want to add it to context settings in the VM Template so it picks it up
everytime.
Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285<tel:614.568.2285> | Mobile 614.403.6320<tel:614.403.6320> |
www.connectsolutions.com<http://www.connectsolutions.com>
_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org