summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorJason Kölker <jason@koelker.net>2011-06-30 20:47:11 +0000
committerTarmac <>2011-06-30 20:47:11 +0000
commitf00e338a0080a2ccc9c56cd15124ff7e810da165 (patch)
tree9eb0ac88eeda74e58ce7f1e8aedecbb4804af126 /nova/utils.py
parentc7ee39c3d00fdc799850b308fefd08f482edb5e5 (diff)
parent1e4e2613f126cdb9bf9808ac7af45fe95f109cdc (diff)
downloadnova-f00e338a0080a2ccc9c56cd15124ff7e810da165.tar.gz
nova-f00e338a0080a2ccc9c56cd15124ff7e810da165.tar.xz
nova-f00e338a0080a2ccc9c56cd15124ff7e810da165.zip
added multi-nic support
Diffstat (limited to 'nova/utils.py')
-rw-r--r--nova/utils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/nova/utils.py b/nova/utils.py
index be26899ca..8784a227d 100644
--- a/nova/utils.py
+++ b/nova/utils.py
@@ -262,14 +262,6 @@ def generate_uid(topic, size=8):
return '%s-%s' % (topic, ''.join(choices))
-def generate_mac():
- mac = [0x02, 0x16, 0x3e,
- random.randint(0x00, 0x7f),
- random.randint(0x00, 0xff),
- random.randint(0x00, 0xff)]
- return ':'.join(map(lambda x: '%02x' % x, mac))
-
-
# Default symbols to use for passwords. Avoids visually confusing characters.
# ~6 bits per symbol
DEFAULT_PASSWORD_SYMBOLS = ('23456789' # Removed: 0,1