WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] feature request - MAC address calculation algorithm

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] feature request - MAC address calculation algorithm
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 10 Jun 2007 20:36:04 +1000
Delivery-date: Sun, 10 Jun 2007 03:34:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcerSySe20PUiD4RSteU5HQAsbWS7g==
Thread-topic: feature request - MAC address calculation algorithm
I have a couple of physical servers that each have a few domains on
them. I'd love to be able to calculate a MAC address for a new domain
like:

FE:FD:XX:YY:ZZ:ZZ

Where:

XX = Physical machine number (assigned in main config file)
YY = Interface number (not sure how this would be calculated)
ZZZZ = domain ID

This would ensure that the MAC address is unique across all machines in
a cluster.

I'm guessing I should be able to do something like that in the python
script file... can anyone offer me any hints?

Thanks

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] feature request - MAC address calculation algorithm, James Harper <=