cfgupgrade for networks
Add networks slot in config data.Add networks slot in nodegroups.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Use network's mac prefix
Modify existing GenerateMAC so that it takes network as an argument.
Substitute _GenerateOneMAC with a decorator _GenerateMACPrefixthat chooses the prefix (network's or cluster's) and wraps_GenerateMACSuffix that generates the three remaining bytes....
QA: Add default setting for tests
Commit 1010ec70b1 enabled all tests by default. In some scenarios wherethe configuration is static one may not want newly added tests to berun.
Signed-off-by: Michael Hanselmann <hansmi@google.com>Reviewed-by: Iustin Pop <iustin@google.com>...
QA: add toggle for fewer common instance tests
Currently, the "common" instance tests (shutdown, rapi stoppedconsole, 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,...
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...
Add gnt-network man page
Include networks in Makefile and bash completion
Introduce client support for networks
gnt-network is used to manipulate and handle networks thatcurrently provides the following operations:
ss_conf support for networks
Rapi support for networks
Support GetNetwork(s), CreateNetwork, ConnectNetwork(All),DisconnectNetwork(All), RemoveNetwork.
Modify LUInstanceSetParams() to support networks
Keep backwards compatibility just like LUInstanceCreate() andsupport network parameter for NIC object.
Add ec_id argument in Update() to be able to commit temporaryIPs that were previously reserved.
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
Modify gnt_instance client to show nic's network
Modify also instance query methods to return nic's network info.
Modify RemoveInstance() to support networks
Release any IPs held the instance before actually removing.
Modify LUInstanceCreate to support networks
Implement backend support, to export the IP pool managementfunctionality 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...
Switch QA to tty-less mode
This makes ssh generate much less noise when QA is run itself withouta 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)....
Implement LUNetworkSetParams
Support modifying all network parameters except for network (ip range)
Implement network/nodegroup mappings
The LUs use the corresponding Tasklets. Eventually:
LUNetworkConnect() connects a network to a nodegroup and definesits netparams (mode and link). Specifically: * Check if network already exists * Check if netparams are valid...
Config methods for reserving/releasing IPs
Use TemporaryReservationManager for IP handling to ensureconfig data consistency.
Implement: - methods for reserving/releasing IPs - _UnlockedCommitTemporaryIps() - CheckIPInNodeGroup() used for conflicting IPs...
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 IPsinside the IP pool.
Given a Network config object (nobj), the class:
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...
Implement LUNetworkQuery
Summarily list all existing networksSupply 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....
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...
Support mac prefix pool for networks
Just like tcpudp_port pool keep maintain a mac prefix pool fornetworks.
Substitute _GenerateOneMAC with a decorator _GenerateMACPrefixthat chooses the prefix (network's or cluster's) and wraps...
« Previous 1 ... 320 321 322 323 324 ... 644 Next » (8026-8050/16089) | Per page: 25, 50, 100
Also available in: Atom