Statistics
| Branch: | Tag: | Revision:

root / lib @ 377d196b

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.1 kB
bdev.py 87 kB
bootstrap.py 33.3 kB
cache.py 5.4 kB
cli.py 117.6 kB
cmdlib.py 573.8 kB
compat.py 3.9 kB
config.py 83.6 kB
constants.py 55.3 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.6 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.2 kB
ovf.py 63.4 kB
qlang.py 9.3 kB
query.py 77.5 kB
rpc.py 24.2 kB
rpc_defs.py 21.3 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
2d302af7 07/14/2012 01:47 am Dimitris Aragiorgis

Modify instance client to support networks

Add --no-conflicts-check option.
Modify instance query methods to return nic's network info.

Signed-off-by: Dimitris Aragiorgis <>

19ad386e 07/14/2012 01:47 am Dimitris Aragiorgis

Introduce client support for networks

gnt-network is used to manipulate and handle networks that
currently provides the following operations:

  • Add a new network:
    gnt-network add --network=1.2.3.0/28 --gateway=1.2.3.1
    --reserve-ips=1.2.3.4,1.2.3.5 testnet...
377d196b 07/14/2012 01:47 am Dimitris Aragiorgis

ss_conf support for networks

Signed-off-by: Dimitris Aragiorgis <>

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

Modify LUInstanceSetParams() to support networks

Keep backwards compatibility just like LUInstanceCreate() and
support network parameter for NIC object.

Add ec_id argument in Update() to be able to commit temporary
IPs that were previously reserved.

Signed-off-by: Dimitris Aragiorgis <>

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

Peripheral changes for networks

Specifically: * export a new environment variable for the gnt-os-interface * export a new environment variable for KVM specific scripts * ovf support for networks

Signed-off-by: Dimitris Aragiorgis <>

f2bc1b8e 07/14/2012 01:44 am Dimitris Aragiorgis

Config methods for reserving/releasing IPs

Use TemporaryReservationManager for IP handling to ensure
config data consistency.

Implement:
- methods for reserving/releasing IPs
- _UnlockedCommitTemporaryIps()
- CheckIPInNodeGroup() used for conflicting IPs...

9979979f 07/14/2012 01:44 am Dimitris Aragiorgis

Modify LUInstanceCreate to support networks

Implement backend support, to export the IP pool management
functionality to the clients. When the new NIC parameter 'network'
is given, the ippool management system is triggered.
If a NIC belongs to a network, it inherits the netparams...

5c6672e9 07/14/2012 01:44 am Dimitris Aragiorgis

Modify RemoveInstance() to support networks

Release any IPs held the instance before actually removing.

Signed-off-by: Dimitris Aragiorgis <>

2006c05e 07/14/2012 01:44 am Dimitris Aragiorgis

Implement LUNetworkSetParams

Support modifying all network parameters except for network (ip range)
Cannot modify gateway and reserved ips at the same time.

Signed-off-by: Dimitris Aragiorgis <>

0e60fbf2 07/14/2012 01:44 am Dimitris Aragiorgis

Implement network/nodegroup mappings

The LUs use the corresponding Tasklets. Eventually:

LUNetworkConnect() connects a network to a nodegroup and defines
its netparams (mode and link). Specifically: * Check if network already exists * Check if netparams are valid...

View revisions

Also available in: Atom