Statistics
| Branch: | Tag: | Revision:

root / lib @ 3972072c

Name Size
  build
  client
  confd
  http
  hypervisor
  impexpd
  masterd
  rapi
  server
  tools
  utils
  watcher
__init__.py 820 Bytes
asyncnotifier.py 6 kB
backend.py 113.4 kB
bdev.py 87 kB
bootstrap.py 33.3 kB
cache.py 5.4 kB
cli.py 117.8 kB
cmdlib.py 578.4 kB
compat.py 3.9 kB
config.py 84.4 kB
constants.py 55.9 kB
daemon.py 26.7 kB
errors.py 10.7 kB
ht.py 9.7 kB
jqueue.py 72.6 kB
jstore.py 5.6 kB
locking.py 55.7 kB
luxi.py 16.1 kB
mcpu.py 23.1 kB
netutils.py 18.2 kB
network.py 5.9 kB
objects.py 58.4 kB
opcodes.py 61.4 kB
ovf.py 63.4 kB
qlang.py 9.3 kB
query.py 77.6 kB
rpc.py 24.8 kB
rpc_defs.py 21.7 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 15.8 kB
ssh.py 8.6 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
d25106b4 07/14/2012 01:47 am Dimitris Aragiorgis

Add tags in networks

Support:
- gnt-network add --tags.
- gnt-network list-tags/add-tags/remove-tags/.
- gnt-network list -o +tags

Signed-off-by: Dimitris Aragiorgis <>

3972072c 07/14/2012 01:47 am Dimitris Aragiorgis

Fix a minor bug when checking mac prefix validity

Signed-off-by: Dimitris Aragiorgis <>

82311e6b 07/14/2012 01:47 am Dimitris Aragiorgis

Change default fields for network listing

Signed-off-by: Dimitris Aragiorgis <>

c8eff5ef 07/14/2012 01:47 am Dimitris Aragiorgis

Add new locking level: network

Signed-off-by: Dimitris Aragiorgis <>

fd3e6a69 07/14/2012 01:47 am Dimitris Aragiorgis

Change possible network types

The types allowed are:
- public, public-routed
- private, private-filtered, private-vlan
and None.

Signed-off-by: Dimitris Aragiorgis <>

6fc914ba 07/14/2012 01:47 am Dimitris Aragiorgis

Fix a bug in hotplug

Every time a new nic is added hotplugs slot of instance gets
incremented and the idx of the nic gets the relevant value.
Change _CreateNewNic() to manage hotplug indexing (no more
@staticmethod)

Signed-off-by: Dimitris Aragiorgis <>

1ce72b33 07/14/2012 01:47 am Dimitris Aragiorgis

Support hotplug NICs

Add --hotplug option for gnt-instance modify.

Add idx slot to NIC object that represents if it has been hotpluged
or not. If -1 then has been added without hotplug. If possitive it
is used for naming virtio-net-device and netdev (passed in kvm command...

dca1f84a 07/14/2012 01:47 am Dimitris Aragiorgis

Pass netinfo in rpcs

If a nic has a network field then encapsulate a network object in
netinfo slot for every rpc. This is needed to pass network info to
scripts managing nics (kvm-vif-bridge).

Signed-off-by: Dimitris Aragiorgis <>

a807cc69 07/14/2012 01:47 am Dimitris Aragiorgis

Pass detailed network info in hooks

Signed-off-by: Dimitris Aragiorgis <>

cdb71fe1 07/14/2012 01:47 am Dimitris Aragiorgis

Use network's mac prefix

Modify existing GenerateMAC so that it takes network as an argument.

Substitute _GenerateOneMAC with a decorator _GenerateMACPrefix
that chooses the prefix (network's or cluster's) and wraps
_GenerateMACSuffix that generates the three remaining bytes....

View revisions

Also available in: Atom