Statistics
| Branch: | Tag: | Revision:

root / lib @ fca7218a

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.9 kB
bdev.py 88.5 kB
bootstrap.py 33.4 kB
cache.py 5.4 kB
cli.py 120.1 kB
cmdlib.py 570.4 kB
compat.py 3.9 kB
config.py 84.3 kB
constants.py 53.2 kB
daemon.py 26.7 kB
errors.py 10.4 kB
ht.py 9.9 kB
jqueue.py 74 kB
jstore.py 5.9 kB
locking.py 55.8 kB
luxi.py 16.2 kB
mcpu.py 23.2 kB
netutils.py 18.6 kB
network.py 5.8 kB
objects.py 58 kB
objectutils.py 2.5 kB
opcodes.py 63.9 kB
ovf.py 65.9 kB
pathutils.py 4.9 kB
qlang.py 9.8 kB
query.py 77.2 kB
rpc.py 25 kB
rpc_defs.py 22.4 kB
runtime.py 6.3 kB
serializer.py 4 kB
ssconf.py 16 kB
ssh.py 9.1 kB
storage.py 13.2 kB
uidpool.py 11.8 kB
vcluster.py 7.4 kB
workerpool.py 14.3 kB

Latest revisions

# Date Author Comment
5b27366d 10/11/2012 04:15 pm 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....

0b95ab93 10/11/2012 04:15 pm 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).

Introduce _BuildNetworkEnv()

Signed-off-by: Dimitris Aragiorgis <>

fca7218a 10/11/2012 04:15 pm Dimitris Aragiorgis

Pass detailed network info in hooks

Signed-off-by: Dimitris Aragiorgis <>

b95d2054 10/11/2012 04:00 pm 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
    --add-reserved-ips=1.2.3.4,1.2.3.5 testnet...
09b9a917 10/11/2012 04:00 pm Apollon Oikonomopoulos

ss_conf support for networks

Signed-off-by: Apollon Oikonomopoulos <>
Signed-off-by: Dimitris Aragiorgis <>

a7f860c1 10/11/2012 04:00 pm Dimitris Aragiorgis

Rapi support for networks

Support:
- GetNetwork(s)
- CreateNetwork
- ConnectNetwork
- DisconnectNetwork
- RemoveNetwork

Signed-off-by: Dimitris Aragiorgis <>

e01365a8 10/11/2012 04:00 pm Dimitris Aragiorgis

Modify RemoveInstance() to support networks

Release any IPs held the instance before actually removing.

Signed-off-by: Dimitris Aragiorgis <>

4b8ec2a1 10/11/2012 04:00 pm 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 <>

7e03a8cc 10/11/2012 04:00 pm Apollon Oikonomopoulos

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: Apollon Oikonomopoulos <>...

b2bbccc6 10/11/2012 04:00 pm Apollon Oikonomopoulos

Modify instance client to support networks

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

Signed-off-by: Apollon Oikonomopoulos <>
Signed-off-by: Dimitris Aragiorgis <>

View revisions

Also available in: Atom