diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-24 02:49:20 +0100 |
|---|---|---|
| committer | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-24 02:49:20 +0100 |
| commit | effbd4b4c7077043c0ff2ddcb91607b4e79796f6 (patch) | |
| tree | a9a4c628533c64211b349c9c3d713ddd9b113c8f /nova/utils.py | |
| parent | 1046fd21fad35fdb9922f667017937ec94774498 (diff) | |
| parent | 809a1fe80b9922a36c64bce948588a5797cae87b (diff) | |
| download | nova-effbd4b4c7077043c0ff2ddcb91607b4e79796f6.tar.gz nova-effbd4b4c7077043c0ff2ddcb91607b4e79796f6.tar.xz nova-effbd4b4c7077043c0ff2ddcb91607b4e79796f6.zip | |
Merged with trunk, since a lot of useful things have gone in there recently.
Diffstat (limited to 'nova/utils.py')
| -rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index c5b935673..9ecceafe0 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -94,7 +94,7 @@ def generate_uid(topic, size=8): def generate_mac(): - mac = [0x00, 0x16, 0x3e, random.randint(0x00, 0x7f), + mac = [0x02, 0x16, 0x3e, random.randint(0x00, 0x7f), random.randint(0x00, 0xff), random.randint(0x00, 0xff) ] return ':'.join(map(lambda x: "%02x" % x, mac)) |
