Revision:

Revisions

# Date Author Comment
5aa78ba6 06/06/2012 02:10 am Dimitris Aragiorgis

cfgupgrade for networks

Add networks slot in config data.
Add networks slot in nodegroups.

Signed-off-by: Dimitris Aragiorgis <>

664cc831 06/06/2012 02:03 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....

69a15dd7 06/05/2012 08:02 pm Michael Hanselmann

QA: Add default setting for tests

Commit 1010ec70b1 enabled all tests by default. In some scenarios where
the configuration is static one may not want newly added tests to be
run.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>...

b498540e 06/05/2012 06:58 pm Iustin Pop

QA: add toggle for fewer common instance tests

Currently, the "common" instance tests (shutdown, rapi stopped
console, stopped modify, startup, rapi shutdown, rapi startup, list,
info, modify, rapi modify , console, rapi console, reinstall, rename,
rapi rename, rename and back, rapi rename and back, grow disk, reboot,...

710bc88c 06/05/2012 06:58 pm Iustin Pop

QA: stop logging SSH arguments for each invocation

Currently, this is how the QA log looks like:

Command: ssh -oEscapeChar=none -oBatchMode=yes -l root -t -oStrictHostKeyChecking=yes -oClearAllForwardings=yes -oForwardAgent=yes -oControlPath=/tmp/ganeti-qa-multiplexer.DMzkuH -oControlMaster=no node14 exit...

c55cb759 06/05/2012 05:51 pm Dimitris Aragiorgis

Add gnt-network man page

Signed-off-by: Dimitris Aragiorgis <>

9d6cb7dc 06/05/2012 05:51 pm Dimitris Aragiorgis

Include networks in Makefile and bash completion

Signed-off-by: Dimitris Aragiorgis <>

5a844580 06/05/2012 05:51 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
    --reserve-ips=1.2.3.4,1.2.3.5 testnet...
29135c1f 06/05/2012 05:51 pm Dimitris Aragiorgis

ss_conf support for networks

Signed-off-by: Dimitris Aragiorgis <>

d9275b08 06/05/2012 05:51 pm Dimitris Aragiorgis

Rapi support for networks

Support GetNetwork(s), CreateNetwork, ConnectNetwork(All),
DisconnectNetwork(All), RemoveNetwork.

Signed-off-by: Dimitris Aragiorgis <>

d488b445 06/05/2012 05:51 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 <>

79e070c8 06/05/2012 05:51 pm 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 <>

a963421a 06/05/2012 05:51 pm Dimitris Aragiorgis

Modify gnt_instance client to show nic's network

Modify also instance query methods to return nic's network info.

Signed-off-by: Dimitris Aragiorgis <>

4bdfe0ae 06/05/2012 05:51 pm Dimitris Aragiorgis

Modify RemoveInstance() to support networks

Release any IPs held the instance before actually removing.

Signed-off-by: Dimitris Aragiorgis <>

66f84a5d 06/05/2012 05:51 pm 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...

f14a8b15 06/05/2012 04:42 pm Iustin Pop

Switch QA to tty-less mode

This makes ssh generate much less noise when QA is run itself without
a tty, as otherwise we get thousands of lines of:

Pseudo-terminal will not be allocated because stdin is not a terminal.

in the QA logs (which are already big enough)....

47a86692 06/05/2012 01:00 pm Dimitris Aragiorgis

Implement LUNetworkSetParams

Support modifying all network parameters except for network (ip range)

Signed-off-by: Dimitris Aragiorgis <>

78b6760d 06/05/2012 01:00 pm 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...

15c312e5 06/05/2012 01:00 pm 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...

5fd6b605 06/05/2012 01:00 pm Dimitris Aragiorgis

Introduce new module for IP pool management

Add new library module lib/network.py.
Introduce new class: AddressPool.

AddressPool implements all operations needed for managing IPs
inside the IP pool.

Given a Network config object (nobj), the class:

  • initializes the corresponding IP pool object via...
8578c7ba 06/05/2012 01:00 pm Dimitris Aragiorgis

Basic IP pool management logic

Implement LUs for corresponding opcodes: * LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
- Create new Network config object * LUNetworkRemove:
- Checks if connected to any nodegroup
- Remove a Network config object...

3ef0070c 06/05/2012 01:00 pm Dimitris Aragiorgis

Implement LUNetworkQuery

Summarily list all existing networks
Supply detailed info for every existing network
- List used/free IPs
- List instances with NICs assigned to the corresponding network
- List NIC index and IP for the above instances

Implement complementary config methods for retrieving networks....

2caee333 06/05/2012 01:00 pm Dimitris Aragiorgis

IP pool related objects, opcodes and constants

Config objects: * Introduce L{Network} with
- IPv4 network field (mandatory)
- IPv4 gateway, IPv6 (network/gateway), mac prefix, type (optional) * Modify existing config objects to support networks:
- Add new slot 'network' to L{NIC} config object...

f5766d33 06/05/2012 12:41 am Dimitris Aragiorgis

Support mac prefix pool for networks

Just like tcpudp_port pool keep maintain a mac prefix pool for
networks.

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...

3eda4d84 06/05/2012 12:39 am Dimitris Aragiorgis

Include networks in Makefile and bash completion

Signed-off-by: Dimitris Aragiorgis <>

« Previous 1 ... 320 321 322 323 324 ... 644 Next » (8026-8050/16089) | Per page: 25, 50, 100

Also available in: Atom